home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / lucidem / help / 789 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.3 KB  |  35 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Sun, 13 Dec 1992 04:05:37 EST
  2. From: matis!amir@lucid.com (Amir J Katz)
  3. Message-ID: <9212130830.AA01505@simpson.ingr.com>
  4. Subject: RMAIL mode for lhilit.el
  5. Organization: SEE Technologies Ltd.
  6. Reply-To: matis!amir@lucid.com
  7. X-Reply-To: amir@matis.ingr.COM
  8. X-Mailer: ELM [version 2.3 PL11]
  9. Date: Sun, 13 Dec 1992 09:05:37 GMT
  10. Newsgroups: alt.lucid-emacs.help
  11. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  12. Sender: help-lucid-emacs-request@lucid.com
  13. Lines: 20
  14.  
  15. When I read mail (using rmail), the two most interesting mail headers (for
  16. me, at least) are the 'Subject:' and 'From:'. 
  17. Here's my addition to the lhilit.el package, in order to paint those fields
  18. with different colors:
  19.  
  20.       ;; RMAIL mode Added by AJK
  21.  
  22.       (setq rmail-mode-hilit
  23.         '(
  24.           ("^Subject\: .*" nil red-face)
  25.           ("^From\: .*"    nil blue-face)))
  26.  
  27.       (hilit::mode-list-update "RMAIL" rmail-mode-hilit)
  28.  
  29. -- 
  30. /* ----------------------------------------------------------- */
  31. /*  Amir J. Katz             |   amir@matis.ingr.COM           */
  32. /*  System Specialist        |   Voice:  +972 52-584684        */
  33. /*  SEE Technologies Ltd.    |   Fax:    +972 52-543917        */
  34. /* ............ Solaris 2.0 - The Final Frontier ? ........... */
  35.