On Thu, Nov 01, 2012 at 09:14:45PM +1100, Cameron Simpson wrote:
> It relies on a feature of mutt: if you exit the editor having changed
> nothing, mutt silently cancels the compose mode. So muttedit is invoked
> as your editor. It:
> 
>   - takes a copy of the message composition file it is handed
> 
>   - computes a "screen" title from the time and message subject
> 
>   - invokes screen running
>       mutt -e 'set editor=$EDITOR' -e 'unset signature' -H "$filename"
>     i.e. it runs a separate mutt in "compose a message from this template 
> mode"
> 
> So there you are in screen composing a message in a standalone mutt.
> You can complete it right there and send, exiting the standalone mutt.
> Or you can detach from screen and resume that process later.
> 
> Either way, as far as your original mutt is concerned, muttedit exits
> and the composition file is unchanged, so it queitly returns to your
> index view or whatever.

very cool. I may have to try this out :)

Thanks!

-Jeremy

Attachment: pgpMeTZsklDoc.pgp
Description: PGP signature

Reply via email to