From: Richard G Riley <rileyrgdev@googlemail.com>
To: info-gnus-english@gnu.org
Subject: gnus-group-highlight
Date: Mon, 27 Aug 2007 15:53:06 +0200 [thread overview]
Message-ID: <mx64315bjx.fsf@homelinux.net> (raw)
I have recently started to try and customise Gnus.
I wish my group listing to look a little more informative so I did this
simple gnus-group-highlight alist as a first attempt.
(setq gnus-group-highlight
'(
;; ((> unread 0) . my-group-face-unread)
((and (string-match "inbox" group) (> unread 0)) . my-group-face-personal-unread)
((string-match "inbox" group) . my-group-face-personal)
((and (or nil mailp) (> unread 0)) . my-group-face-mail-unread)
((or nil mailp) . my-group-face-mail)
((> unread 0) . my-group-face-default-unread)
(t . my-group-face-default)
))
The question I have is this - can it be simplified? Here I have two
faces per "group type" -normal and a "bold" if there are unread
messages. This means double the "face" declarations.
How could I just make all groups with unread messages a "Bolder" version
of the face that I apply to that group based on type or or name?
reply other threads:[~2007-08-27 13:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=mx64315bjx.fsf@homelinux.net \
--to=rileyrgdev@googlemail.com \
--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).