From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: User agent highlighting in gnus
Date: Sun, 19 Aug 2007 11:08:40 +0200 [thread overview]
Message-ID: <v94piv28o7.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <fa7ov3$1kjv$1@talisker.lacave.net>
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/
next parent reply other threads:[~2007-08-19 9:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa7ov3$1kjv$1@talisker.lacave.net>
2007-08-19 9:08 ` Reiner Steib [this message]
2007-08-19 14:01 ` Xavier Maillard
2007-08-19 16:23 ` Reiner Steib
2007-08-19 16:38 ` Hadron
2007-08-19 22:02 ` Reiner Steib
2007-08-20 14:43 ` Hadron
2007-08-21 14:38 ` Steffen Schwigon
2007-08-21 14:52 ` Simias
2007-08-22 12:38 ` Steffen Schwigon
2007-08-21 15:39 ` Hadron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v94piv28o7.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).