giorgian <[EMAIL PROTECTED]> writes:

> i defined the function my-text-mode in my .emacs file, to set all my
> mail editing preferences; 

Would be nice to see this function.  Do you use `defined-derived-mode'?

> i put in my .muttrc the row:
> set editor="emacs -f my-text-mode"

I think it is better to frob auto-mode-alist in your .emacs:

;; Untested.
(add-to-list 'auto-mode-alist
             '("mutt-[a-z]+-[0-9]+-[0-9]+\\'" . my-text-mode))

The just put this in your .muttrc:

set editor=emacs

Does this fix the problem?

Sam [who thinks you might want to look at post.el]

Reply via email to