Hi,

Gaurav Priyolkar <[EMAIL PROTECTED]>  wrote --
> 
> I use emacs as an editor for mutt. There is a major mode for use with
> mutt defined in mutt.el written be Eric Kidd which I load in .emacs

I would suggest you try post-mode called post.el

> But when I checked in files.el, mutt-mode was not specified in the
> list auto-mode-alist. So I tried adding it there.

That's right.  The installation of mutt mode in auto-mode-alist will be
done by mutt.el itself.  Look for some code that looks like this:

(setq auto-mode-alist
      (cons (cons "mutt-[a-z]+-[0-9]+-[0-9]+\\'" 'mutt-mode)
      auto-mode-alist))

and change the regexp there.  If you have byte compiled mutt.el (if
mutt.elc is available in there) you will have to byte-compile this file
after the change for it to have effect.

Hope this helps.

Regards,
Abhay.
-- 
Abhay Ghaisas / [EMAIL PROTECTED]
Staff Engineer, Motorola India Electronics Ltd., Bangalore, India.
I code for Motorola; do you think they will let me speak for them?

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to