Reiner Steib <[EMAIL PROTECTED]> writes:
> 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
Could you explain this block. Not being a lisp programmer I can't really
see how to set a nice "loud" face for all User-Agent or X-Newsreader with
"Mutt" in and another font for either with "Gnus" in and another for
either with any other face again.
--
Perl combines all of the worst aspects of BASIC, C and line noise.
-- Keith Packard
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english