Re: set editor, switching from vim to emacs
On Tue, Nov 18, 2003 at 12:30:18PM -0200, Rodrigo Bernardo Pimentel wrote:
> On Tue, Nov 18 2003 at 03:59:42AM BRST, Allister MacLeod <amacleod@xxxxxxxx>
> wrote:
> > On Tue, Nov 18, 2003 at 01:13:39AM -0200, Rodrigo Bernardo Pimentel wrote:
> > > (setq auto-mode-alist (cons '("/tmp/mutt*" . my-mutt-mode)
> > > auto-mode-alist))
> > or, alternatively, in .muttrc:
> > set editor='emacs %s -eval "(text-mode)"'
> True, but that requires opening a new emacs instance, which can be a
> real pain...
Hmm.. seems unfair that emacsclient doesn't let you pass -eval
arguments. I guess in that case the auto-mode-alist solution is
indeed much better :-)
Cheers,
Allister
--
Allister MacLeod <amacleod@xxxxxxxx> | http://amacleod.is-a-geek.org/
Elen síla lúmenn'omentielvo.