Gnus development mailing list
 help / color / mirror / Atom feed
* Number of read messages in gnus-group-line-format?
@ 1999-08-27 15:24 Kai Großjohann
  1999-09-25  6:22 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Großjohann @ 1999-08-27 15:24 UTC (permalink / raw)


My boss wishes to see the number of old messages in each group.  He
uses some groups as a todo list.  Important todo items are ticked,
less important ones are just marked as read.  Seeing the number of old
messages in all his groups would quickly allow him to identify where
old things are to be done.

It seems that %R doesn't cut it because that one counts expirable
messages, too.  So I added an entry in gnus-group-line-format-alist
which provides for %x which takes the same number as %R but substracts
the expirable and dormant and ticked messages from it.

But that was too simple-minded an approach: it doesn't take possible
holes into account.

Do you have any idea what could be done about this?

One idea that crossed my mind would be to provide a function which
marks newly read messages as dormant (rather than read).  The number
of dormant messages in a group can be shown in the Group buffer.
(Maybe he should be switching to total-expire, too, since no messages
should be marked as read anyway.)

I'm not sure this is a good approach, though.  And going through all
old groups and marking as dormant all messages marked as read is going
to be a chore :-(

kai
-- 
I like BOTH kinds of music.


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

* Re: Number of read messages in gnus-group-line-format?
  1999-08-27 15:24 Number of read messages in gnus-group-line-format? Kai Großjohann
@ 1999-09-25  6:22 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-09-25  6:22 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> It seems that %R doesn't cut it because that one counts expirable
> messages, too.  So I added an entry in gnus-group-line-format-alist
> which provides for %x which takes the same number as %R but substracts
> the expirable and dormant and ticked messages from it.
> 
> But that was too simple-minded an approach: it doesn't take possible
> holes into account.

Getting the true number of messages in a group requires "almost
entering" the group.  Doing so from the group buffer will be s-l-o-w. 

> I'm not sure this is a good approach, though.  And going through all
> old groups and marking as dormant all messages marked as read is going
> to be a chore :-(

Yup.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1999-09-25  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-27 15:24 Number of read messages in gnus-group-line-format? Kai Großjohann
1999-09-25  6:22 ` Lars Magne Ingebrigtsen

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