home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Sun, 13 Dec 1992 04:05:37 EST
- From: matis!amir@lucid.com (Amir J Katz)
- Message-ID: <9212130830.AA01505@simpson.ingr.com>
- Subject: RMAIL mode for lhilit.el
- Organization: SEE Technologies Ltd.
- Reply-To: matis!amir@lucid.com
- X-Reply-To: amir@matis.ingr.COM
- X-Mailer: ELM [version 2.3 PL11]
- Date: Sun, 13 Dec 1992 09:05:37 GMT
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 20
-
- When I read mail (using rmail), the two most interesting mail headers (for
- me, at least) are the 'Subject:' and 'From:'.
- Here's my addition to the lhilit.el package, in order to paint those fields
- with different colors:
-
- ;; RMAIL mode Added by AJK
-
- (setq rmail-mode-hilit
- '(
- ("^Subject\: .*" nil red-face)
- ("^From\: .*" nil blue-face)))
-
- (hilit::mode-list-update "RMAIL" rmail-mode-hilit)
-
- --
- /* ----------------------------------------------------------- */
- /* Amir J. Katz | amir@matis.ingr.COM */
- /* System Specialist | Voice: +972 52-584684 */
- /* SEE Technologies Ltd. | Fax: +972 52-543917 */
- /* ............ Solaris 2.0 - The Final Frontier ? ........... */
-