From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24826 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Number of read messages in gnus-group-line-format? Date: 27 Aug 1999 17:24:37 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162326 10864 80.91.224.250 (21 Oct 2002 01:05:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:05:26 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA02837 for ; Fri, 27 Aug 1999 11:34:30 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id KAB16676; Fri, 27 Aug 1999 10:25:56 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 27 Aug 1999 10:26:26 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA08780 for ; Fri, 27 Aug 1999 10:26:12 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA02513 for ; Fri, 27 Aug 1999 11:25:14 -0400 (EDT) Original-Received: from petty.cs.uni-dortmund.de (petty.cs.uni-dortmund.de [129.217.20.161]) by waldorf.cs.uni-dortmund.de with ESMTP id RAA28041 for ; Fri, 27 Aug 1999 17:24:39 +0200 (MES) Original-Received: (grossjoh@localhost) by petty.cs.uni-dortmund.de id RAA16039; Fri, 27 Aug 1999 17:24:38 +0200 (MET DST) Original-To: ding@gnus.org Original-Lines: 29 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24826 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24826 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.