On Tue, Feb 27, 2001 at 12:10:10PM +0530, Abhay Ghaisas wrote:
> Hi,
> 
> Gaurav Priyolkar <[EMAIL PROTECTED]>  wrote --
> 
> I would suggest you try post-mode called post.el

Yep, Ill do that. I had already downloaded it, but decided not to use
it without getting mutt.el to work first (emacs was not entering
post-mode with it either).  post.el is an updated mode
with added features for news reading right? But does it have any added
useful functionality for mail? (I have not gone through it yet)
 
> 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))

Nope, what I had was:

(defcustom mutt-file-pattern "mutt-[a-z]+-[0-9]+-[0-9]+\\'"
  "*Regular expression which matches Mutt's temporary files."
  :type 'string
  :group 'mutt)

and lower down:

(unless (assq mutt-file-pattern auto-mode-alist)
 (setq auto-mode-alist
        (cons (cons mutt-file-pattern 'mutt-mode)
              auto-mode-alist)))

Anyway, I have commented it out the latter and added what you have given and it
works fine now :-)
 
> 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.

I found only mutt.el (can't remember the URL). Possibly mutt.elc provides
the reg-exp. Incidently, the post.el that I got also does not have the
code you have given.
 
> Hope this helps.

Muchos gracias amigos.

-Gaurav

-- 
Ultimate file compression:   'rm -rf /'    (100% compression)







----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to