From: Wes Hardaker <wes@hardakers.net>
To: Bastien <bzg@altern.org>
Cc: ding@gnus.org
Subject: Re: Highlight words in the subject line?
Date: Thu, 06 Mar 2008 06:02:43 -0800 [thread overview]
Message-ID: <sd3ar43q7w.fsf@wes.hardakers.net> (raw)
In-Reply-To: <87hcfli6w3.fsf@bzg.ath.cx> (Bastien's message of "Wed, 05 Mar 2008 14:26:36 +0000")
>>>>> "B" == Bastien <bzg@altern.org> writes:
B> I'm using this to highlight words in the subject line:
I think you want "gnus-highlight" from my page:
http://www.hardakers.net/elisp/
Which lets you do things like this (a snippit of my list):
(setq gnus-article-highlight-expressions
'(
(".*autolearn=\\(hame\\|spam\\|no\\)" . ((fg . "red1")))
(".*BAYES_\\([0-9][0-9]\\)" . ((bg . "#70e070")))
(".*Subject: \\(.*\\)" . ((fg . "red3")))
))
For you the last one is the one you want... put the words you're
looking for in the \(\) matches and it'll change to the color you requested.
--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find." -- Terry Pratchett
next prev parent reply other threads:[~2008-03-06 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 14:26 Bastien
2008-03-06 14:02 ` Wes Hardaker [this message]
2008-03-06 14:29 ` Bastien
2008-03-07 20:38 ` Wes Hardaker
2008-03-07 22:36 ` Reiner Steib
2008-03-09 3:12 ` Wes Hardaker
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=sd3ar43q7w.fsf@wes.hardakers.net \
--to=wes@hardakers.net \
--cc=bzg@altern.org \
--cc=ding@gnus.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).