From: Wes Hardaker <wes@hardakers.net>
Subject: Re: simplify subject in Summary buffer
Date: Wed, 01 Oct 2003 16:39:37 -0700 [thread overview]
Message-ID: <sdekxwo7d2.fsf@wanderer.hardakers.net> (raw)
In-Reply-To: <uu16svizs.fsf@adobe.com> (Danny Siu's message of "Wed, 01 Oct 2003 12:46:31 -0700")
>>>>> On Wed, 01 Oct 2003 12:46:31 -0700, Danny Siu <dsiu@adobe.com> said:
Danny> Care to share your gnus-summary-highlight-expressions as an
Danny> example usage? :-)
There is a very long set of documentation for that variable... And an
example in it:
(require 'gnus-highlight)
(setq gnus-summary-highlight-expressions '(
; turns "keyword" green.
(".*\\(keyword\\)" . "green")
; turns entire line yellow
(".*otherword" . ((face . "yellow")))
; turns "thirdex" blue
(".*\\(choice1\\|choice2\\).*\\(thirdex\\)" . ((face . "blue"
match . 2)))
)
Settings I use include bbdb mark-char marks (normally a + by default
but a mark-char insert within bbdb will replace the + by something
else, which I for important people like my boss, etc. They then get a
line highlighted in yellow:
(setq gnus-summary-highlight-expressions
'(
(".*\\(teststring\\)" . ((fg . "blue2")
(bg . "green1")))
; full line highlight for x-ping
("^*" . "green")
; bbdb marks for author
; (assumes bbdb marks in one column and From: marked in []s)
("^......[^EOR].^[^[]*\\[\\([^]]+\\)\\]" . ((bg . "yellow")))
("^......[^EOR]./[^[]*\\[\\([^]]+\\)\\]" . ((fg . "brown2")))
("^......[^EOR].\\+[^[]*\\[\\([^]]+\\)\\]" . "#b0e0ff")
; specific key word marks
(".*\\(snmp\\)" . "#c0c0ff")
))
--
"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:[~2003-10-01 23:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-28 7:40 Denis Dzyubenko
2003-09-30 17:36 ` Reiner Steib
2003-10-01 15:05 ` Denis Dzyubenko
2003-10-01 15:59 ` Wes Hardaker
2003-10-01 17:19 ` Denis Dzyubenko
2003-10-01 19:25 ` Wes Hardaker
2003-10-01 19:46 ` Danny Siu
2003-10-01 23:39 ` Wes Hardaker [this message]
2003-10-02 7:49 ` Mark Trettin
2003-10-02 23:59 ` Miles Bader
2003-10-03 9:11 ` Mark Trettin
2003-10-03 15:52 ` 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=sdekxwo7d2.fsf@wanderer.hardakers.net \
--to=wes@hardakers.net \
/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).