From: haomiao <miaohaoz@ustc.edu>
To: info-gnus-english@gnu.org
Subject: howto define dynamic color with gnus-summary-line-format
Date: Mon, 18 Feb 2008 19:14:34 -0800 (PST) [thread overview]
Message-ID: <4f8f3175-7e60-4fff-aa7b-f21f1a34c6eb@s8g2000prg.googlegroups.com> (raw)
Hi
I want gnus can display different color according to some
dynamic condition in my summary buffer,
for example
if date of mail is today, then the date color is red
else the date color is blue
How can I get that effect, by setting gnus-summary-line-format
or something else?
My current gnus-summary-line-format is
(setq gnus-summary-line-format "%U%R%z %3{%uc%}: %1{%B
%-23,23n%} %s\n")
I am using GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) and my gnus
is 5.10.8.
next reply other threads:[~2008-02-19 3:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 3:14 haomiao [this message]
2008-02-19 3:53 ` Bastien
[not found] ` <mailman.7612.1203393193.18990.info-gnus-english@gnu.org>
2008-02-20 2:48 ` haomiao
2008-02-20 7:16 ` Bastien
[not found] ` <mailman.7673.1203491830.18990.info-gnus-english@gnu.org>
2008-02-21 0:57 ` haomiao
2008-02-25 7:39 ` Bastien
2008-02-25 23:46 ` Johan Bockgård
2008-02-26 0:51 ` Bastien
2008-03-05 0:52 ` haomiao
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=4f8f3175-7e60-4fff-aa7b-f21f1a34c6eb@s8g2000prg.googlegroups.com \
--to=miaohaoz@ustc.edu \
--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).