From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 686387363840 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,37e72ec7267a1a47 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.181.29.99 with SMTP id jv3mr1587870wid.1.1427702326343; Mon, 30 Mar 2015 00:58:46 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.180.186.142 with SMTP id fk14ls583778wic.25.canary; Mon, 30 Mar 2015 00:58:45 -0700 (PDT) X-Received: by 10.180.87.164 with SMTP id az4mr3000721wib.6.1427702325943; Mon, 30 Mar 2015 00:58:45 -0700 (PDT) Return-Path: Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com. [2a00:1450:400c:c05::230]) by gmr-mx.google.com with ESMTPS id p4si555482wiz.0.2015.03.30.00.58.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 00:58:45 -0700 (PDT) Received-SPF: pass (google.com: domain of roswellrg@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) client-ip=2a00:1450:400c:c05::230; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roswellrg@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) smtp.mail=roswellrg@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Received: by mail-wi0-x230.google.com with SMTP id g7so91600362wib.1 for ; Mon, 30 Mar 2015 00:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:from:to:subject:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; bh=V7bdj828Ypmpd7EwQ5tGJdLWsp+DvQICT4DuZhFqiJc=; b=FdEAXIXaYgo0nq5+/cFaK1K1az7xxGPyKxXRPL7aV4WfuhC1/yJWZNxRcyFrdrJiaV 3MwpCKhnNDX/2KiwA7TByX4DhCohH1t23bdx85Xn0sdc75QZQuvDJRQvVBMMrsj5txWB 8Ll0hBivh66KYQ5fywsWCoou4pXqOjGuqRajhur72jIMQfBhNFk2fd9FkqKzHy4U+akt nnMVBaVcB9zlXZNpC3R8bw7Cik3IXbcDRmqkIbaf7LD1KMPGJzrkhqPA3o+MT8yLw7d6 ZAgnjWgxMlZyMqenZrigQiYLItSZh8WGxCQn8svn4eeE52ODPxLjo2NfIPxU91Sig6KC pS2g== X-Received: by 10.194.133.101 with SMTP id pb5mr62378016wjb.40.1427702325804; Mon, 30 Mar 2015 00:58:45 -0700 (PDT) Return-Path: Received: from localhost (HSI-KBW-109-192-118-212.hsi6.kabel-badenwuerttemberg.de. [109.192.118.212]) by mx.google.com with ESMTPSA id hw7sm14549069wjb.24.2015.03.30.00.58.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 00:58:45 -0700 (PDT) Content-Type: text/plain; charset=UTF-8 From: Roland Groell To: supmua Subject: Re: [sup] Edit messages in an external editor In-reply-to: References: Date: Mon, 30 Mar 2015 09:58:43 +0200 Message-Id: <1427701994-sup-8743@limestone> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit Hi, > Is it possible to edit a message in an external editor? > Right now I am editing with vim inside the same terminal window, but for some drafts, I would like to be able to pop out the vim window. These are drafts that I usually edit all week long and send at the end of the week. I know I could just make a draft and it could stay open in a buffer, but I need to have it standing in a desktop by itself, otherwise I just forget to write it... Using an out-of-terminal editor is possible by using the async-edit hook. For example my async-edit.rb looks like: system "gvim #{file_path}" You then can use E in the reply buffer to edit the message in gvim. Greetings, Roland