From: Chris Green <cmg@dok.org>
Subject: gnus-label suggestion request
Date: Tue, 04 May 2004 11:54:34 -0400 [thread overview]
Message-ID: <m23c6grxvp.fsf@catbert.dok.org> (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.
next reply other threads:[~2004-05-04 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 15:54 Chris Green [this message]
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
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=m23c6grxvp.fsf@catbert.dok.org \
--to=cmg@dok.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).