Hi,
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
Now the problem is that when I launch emacs to compose a message from
mutt, it does not automatically enter mode-mutt.
Now when I 'M-h v auto-mode-alist' , it shows:
<snip>
Defined in `files'.
Value:
("mutt-[a-z]+-[0-9]+-[0-9]+\\'" . mutt-mode)
<snip>
But when I checked in files.el, mutt-mode was not specified in the
list auto-mode-alist. So I tried adding it there.
When I compose a mail, emacs is launched with a file name like
mutt-Gaurav-608-1 . So the problem seems to be in that the reg-exp for
the mode is mutt-[a-z]+-.... in the variable auto-mode-alist.
^^^^^
Setting this to ("mutt-[a-zA-Z]+-[0-9]+-[0-9]+\\'" . mutt-mode)
or ("mutt-Gaurav-[0-9]+-[0-9]+\\'" . mutt-mode)
in files.el did not help, so I guess that's not the right place to do it.
Where do I redefine that variable, or am I totally on the wrong track?
-Gaurav
--
Ultimate file compression: 'rm -rf /' (100% compression)
----------------------------------------------
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