On Sat, Aug 18 2007, Xavier Maillard wrote:

> highlights user-agent header according to three distinct lists of
> good, bad and unknown user-agents.

Using `gnus-header-face-alist' seems much more simple.  Something like
the following...

(add-to-list
 'gnus-header-face-alist
 (list (concat
        "^"
        (regexp-opt '("User-Agent" "X-Mailer" "Newsreader" "X-Newsreader") t)
        ":.*"
        (regexp-opt '("Gnus" "Mutt") t))
       nil font-lock-keyword-face))

Bye, Reiner.

Crosspost & Followup-To: gnu.emacs.gnus
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to