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

Re: emacs and mutt



On Tue, 2006-10-31 at 23:42 +0000, Tyler wrote:
> I've got mutt up and running (although I'm still using thunderbird for 
> mailing lists/newsgroups, hopefully not much longer). One problem I've 
> run into is that I can't convince it to open emacs in text-mode. I've 
> got text-mode set-up for auto-fill, which I like using for sending mail. 
> However, I have not been able to get it to open automatically in the 
> mode. I've googled here and elsewhere and found numerous options that 
> should work, but none do.
> 
> Specifically, what I've tried in my .muttrc:
> 
> set editor="emacs -f text-mode"
> 
> set editor="emacs --eval '(text-mode)'"
> 
> set editor="emacs --eval '(turn-on-auto-fill)'"
> 
> All of these work from the command line. None of them work in .muttrc. 
> Curiously,
> 
> set editor="emacs -nw"

I haven't used Mutt for a while, but when I did I hade the following
in .muttrc:

        set editor='emacs %s -nw -f mail-mode'

I would guess that it should work for text-mode too.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: