Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: gui-gui@netcourrier.com
To: supmua@googlegroups.com
Subject: Re: Re: [sup] Edit messages in an external editor
Date: Mon, 30 Mar 2015 10:55:38 +0200 (CEST)	[thread overview]
Message-ID: <ea-mime-55190f8a-55bd-68601ed2@www-2.netcourrier.com> (raw)
In-Reply-To: <1427701994-sup-8743@limestone>

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

Hello,

I guess I missed that one... even though it's like the second from the top...
Anyhow, thanks.
Now, I just need it to save it as draft on exit.

Cheers,

-- 
Guillaume


---- Message d'origine ----
De : "Roland Groell" <roswellrg@gmail.com>
À : "supmua" <supmua@googlegroups.com>
Objet : Re: [sup] Edit messages in an external editor
Date : 30/03/2015 09:58:43 CEST

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

-- 
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+unsubscribe@googlegroups.com.
To post to this group, send email to supmua@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/1427701994-sup-8743%40limestone.
For more options, visit https://groups.google.com/d/optout.


[-- Attachment #2: Type: text/html, Size: 1884 bytes --]

      reply	other threads:[~2015-03-30  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30  7:26 gui-gui
2015-03-30  7:28 ` [sup] Edit messages in an external editor gui-gui
2015-03-30  7:58   ` Roland Groell
2015-03-30  8:55     ` gui-gui [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea-mime-55190f8a-55bd-68601ed2@www-2.netcourrier.com \
    --to=gui-gui@netcourrier.com \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox