[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnus-group-highlight
From: |
Richard G Riley |
Subject: |
gnus-group-highlight |
Date: |
Mon, 27 Aug 2007 15:53:06 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnus-group-highlight,
Richard G Riley <=