On Tue, 13 Aug 2002, Andy Davidson wrote:
> > I am in mal mode now. I can see --:** mutt-..... (Mail Fill)--L9-All
> > ---- but no color. Do I need to add something else to my .emacs?
>
> I'm really not the one to answer this --- you'll note that I was the
> one having problems :-) --- but I have color in mail mode. But only
> for message headers. (I have 'set edit_headers' in my .muttrc) The
> text is not colored, although on replies, quoted text is colored red.
>
> Don't know if that helps, but it's all I know....
I use this in my .emacs configuration, and it gives me colors in mail
mode as well:
;; global colors
(cond ((fboundp 'global-font-lock-mode)
;; Turn on font-lock in all modes that support it
(global-font-lock-mode t)
;; Maximum colors
(setq font-lock-maximum-decoration t)))
This is for mail mode from mutt:
;; Automatically go into mail-mode and auto-fill-mode if filename
starts with
;; /tmp/mutt
(setq auto-mode-alist (append (list (cons "^\/tmp\/mutt" 'mail-mode))
auto-mode-alist))
(add-hook 'mail-mode-hook 'my-mail-mode-hook)
(defun my-mail-mode-hook ()
(auto-fill-mode)
(mail-text)
)
--
patrik_wallstrom->foodfight->[EMAIL PROTECTED]>+46-709580442