Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-label suggestion request
@ 2004-05-04 15:54 Chris Green
  2004-05-04 15:57 ` Chris Green
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chris Green @ 2004-05-04 15:54 UTC (permalink / raw)


Hey folks,

I've gotten far enough w/ gnus label that I think it's completely
feasible but I'm wondering how I should expose the user customizable
stuff and how I should integrate with gnus-summary-highlight.  It's
ugly (and also the most complicated elisp I've done) and I'm going to
spend a good bit of time cleaning up the failed experiments.


(defconst gnus-label-alist '((?i . '("Important" "darkred"))
			     (?w . '("Work" "darkblue"))
			     (?t . '("Todo" "darkgreen"))
			     (?l . '("Later" "brown4"))
			     (?f . '("Fun" "purple4")))
  "Alist of label names to key mappings")


I've created a new gnus-summary-highlight-line that includes
label-name and label-face as entries that can be used in
gnus-summary-highlight.  Would it be better to override
gnus-summary-highlight-line-function?  I couldn't find a good hook to
do that from and I didn't really know what gnus-tree was supposed to
be doing with that function.

Right now I have a list of labels with a color and the faces get
generated automatically.  Would people prefer to just give a face name
proper?  I was trying to make it so that I only had to configure
gnus-label in one spot so I could avoid having to defface each time I
added a new category.  I'm struggling with a good way to make marks &
labels cooperate.

Thanks,
Chris
-- 
Chris Green <cmg@dok.org>
A good pun is its own reword.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-16 11:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-04 15:54 gnus-label suggestion request Chris Green
2004-05-04 15:57 ` Chris Green
2004-05-04 16:33 ` Wes Hardaker
2004-05-04 18:14   ` Chris Green
2004-05-16 11:51     ` Lars Magne Ingebrigtsen
2004-05-12 15:23 ` Ted Zlatanov

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).