help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto enable text-mode when editing email (from mutt)


From: Uwe Scholz
Subject: Re: Auto enable text-mode when editing email (from mutt)
Date: 21 Feb 2009 09:42:27 GMT
User-agent: Pan/0.133 (House of Butterflies)

On Thu, 19 Feb 2009 12:45:47 -0800, TheLonelyStar wrote:

> Hi,
> 
> I use emacs to edit my emails (from mutt). It is started with this line:
> /usr/bin/emacs -nw -q
> 
> Now, editing emails in text-mode instead of fundamental mode would be
> much cooler!
> How can I make emacs got to text-mode when invoked from mutt?
> 
> Thanks!
> Nathan

Hello,

I prefer 'post-mode' for editing outgoing mail with emacs started from 
mutt. You can get it from here: http://sourceforge.net/projects/post-mode/

To use it, you have to put the el-file in a folder you want, lets say 
".emacs.stuff" and insert the following lines to your .emacs file:

(setq load-path (cons "~/.emacs.stuff" load-path))
(load "post")

This starts the post-mode every time, you start emacs. For running emacs 
using mutt I wrote an extra config-file with the postmode-entry and 
insert the line

set editor='emacs -nw -l ~/.emacs.mail'

in .muttrc.

Ciao, Uwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]