From: Jesper Harder <harder@myrealbox.com>
Subject: Re: `gnus-group-highlight' and unseen counts.
Date: Fri, 15 Aug 2003 00:47:33 +0200 [thread overview]
Message-ID: <m3ekzn7t6i.fsf@defun.localdomain> (raw)
In-Reply-To: <87wudi40v4.fsf@enki.rimspace.net>
Daniel Pittman <daniel@rimspace.net> writes:
> The '%U' format for an unseen count is great, but it isn't mirrored in
> the `gnus-group-highlight' configuration for selecting group
> highlighting.
>
> I would very much like to be able to set the format based on the number
> of unseen as well as unread articles, but can't at the moment.
>
> Does anyone want to put in a quick patch for this?
Untested: Does this work (`unseen' should now be usable by the rules
in `gnus-group-highlight')?
diff -c /home/harder/gnus/lisp/gnus-group.el /home/harder/cvsgnus/lisp/gnus-group.el
*** /home/harder/gnus/lisp/gnus-group.el Mon Aug 4 23:43:06 2003
--- /home/harder/cvsgnus/lisp/gnus-group.el Fri Aug 15 00:17:20 2003
***************
*** 1476,1481 ****
--- 1476,1482 ----
(score (or (gnus-info-score info) 0))
(ticked (gnus-range-length (cdr (assq 'tick marked))))
(group-age (gnus-group-timestamp-delta group))
+ (unseen (gnus-number-of-unseen-articles-in-group group))
(inhibit-read-only t))
;; Eval the cars of the lists until we find a match.
(while (and list
prev parent reply other threads:[~2003-08-14 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-13 4:50 Daniel Pittman
2003-08-14 22:47 ` Jesper Harder [this message]
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=m3ekzn7t6i.fsf@defun.localdomain \
--to=harder@myrealbox.com \
/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).