[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: User agent highlighting in gnus
From: |
Reiner Steib |
Subject: |
Re: User agent highlighting in gnus |
Date: |
Sun, 19 Aug 2007 11:08:40 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
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/