From: Lars Magne Ingebrigtsen Date: Mon, 20 Sep 2010 22:38:42 +0000 (+0200) Subject: Have the ?U (unseen) spec inserr "*" if the group isn't active instead of 0. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=70ff151cb4e485521a6fd201556153c2a3ec05e4 Have the ?U (unseen) spec inserr "*" if the group isn't active instead of 0. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6b7f0f502..fc4fa74ec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-09-20 Lars Magne Ingebrigtsen + * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen) + spec inser "*" if the group isn't active instead of 0. + * nnimap.el (nnimap-request-group): Don't select the imap buffer before opening the server. (nnimap-request-delete-group): Implement group deletion. diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el index fa6ae5188..3e79b186c 100644 --- a/lisp/gnus-group.el +++ b/lisp/gnus-group.el @@ -509,7 +509,10 @@ simple manner.") (gnus-range-length (cdr (assq 'tick gnus-tmp-marked)))))) (t number)) ?s) (?R gnus-tmp-number-of-read ?s) - (?U (gnus-number-of-unseen-articles-in-group gnus-tmp-group) ?d) + (?U (if (gnus-active gnus-tmp-group) + (gnus-number-of-unseen-articles-in-group gnus-tmp-group) + "*") + ?s) (?t gnus-tmp-number-total ?d) (?y gnus-tmp-number-of-unread ?s) (?I (gnus-range-length (cdr (assq 'dormant gnus-tmp-marked))) ?d)