help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In RMAIL in EMACS how do you display only message headers with a par


From: Emanuel Berg
Subject: Re: In RMAIL in EMACS how do you display only message headers with a particular keyword?...
Date: Sun, 22 Sep 2013 16:52:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Don Saklad <address@hidden> writes:

> In RMAIL in EMACS how do you display only message
> headers with a particular keyword?...

Try this:

;;; rmail headers
(setq rmail-displayed-headers
        "From:\\|To:\\|Cc:\\|Bcc:\\|Subject:\\|Date:")
(setq rmail-highlighted-headers rmail-displayed-headers)
(set-face-attribute 'rmail-highlight   nil :background "black"
                                           :foreground "blue")
(set-face-attribute 'highlight         nil :foreground "green"
                                           :background "darkblue")
(set-face-attribute 'rmail-header-name nil :foreground "black")

Or this:

(set-face-attribute 'message-header-name    nil :foreground "black"
                                                :background "black"
                                                :bold t)
(set-face-attribute 'message-header-to      nil :foreground "magenta"
                                                :bold nil)
(set-face-attribute 'message-header-subject nil :foreground "orange")
(set-face-attribute 'message-header-xheader nil :foreground "blue")
(set-face-attribute 'message-header-other   nil :foreground "blue")

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]