From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57093 Path: main.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.gnus.general Subject: "unread" thread in a different color? Date: Wed, 21 Apr 2004 11:33:21 -0400 Organization: I Yam What I Yam Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082561643 29077 80.91.224.253 (21 Apr 2004 15:34:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 15:34:03 +0000 (UTC) Original-X-From: ding-owner+M5633@lists.math.uh.edu Wed Apr 21 17:33:53 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGJjU-0001X6-00 for ; Wed, 21 Apr 2004 17:33:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BGJjI-00057Y-00; Wed, 21 Apr 2004 10:33:40 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BGJjA-00057S-00 for ding@lists.math.uh.edu; Wed, 21 Apr 2004 10:33:32 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BGJj9-0006re-Q4 for ding@lists.math.uh.edu; Wed, 21 Apr 2004 10:33:31 -0500 Original-Received: from smtp-mclean.mitre.org (smtp-mclean-x.mitre.org [192.80.55.71]) by justine.libertine.org (Postfix) with ESMTP id 28A7A3A0076 for ; Wed, 21 Apr 2004 10:33:31 -0500 (CDT) Original-Received: from smtp-mclean.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-mclean.mitre.org (8.11.6/8.11.6) with ESMTP id i3LFXUL19522 for ; Wed, 21 Apr 2004 11:33:30 -0400 Original-Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtp-mclean.mitre.org (8.11.6/8.11.6) with ESMTP id i3LFXTY19510 for ; Wed, 21 Apr 2004 11:33:29 -0400 Original-Received: from blackbird.mitre.org (129.83.3.57) by mailhub2.mitre.org with SMTP id 2459833; Wed, 21 Apr 2004 11:33:22 -0400 Original-To: The Gnus Mailing List X-Face: GUaHTH@nS>[7,ME@-gYZ4#Wl{z"99k@[[Y8AcP0x1paqu.,z9,XSV1WI>{q3f6^e5(zrit <4fV&VHhmE`uidRqtmG27;si9&r;#KSF~E#$%W8w(xdp)H4tW=\2XOk~3=@oGqqpj;m4xf Ow;y26396&,34@9#~4;@*S;E0cq"LM9N(us4P%F(Nxis'Vvfm9?KufH;:Q$dMa-QWGLR&K d0`LJZE8xb*>^yN>b]_NcU:E=Zn\1=#/(OS2 User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Portable Code, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57093 Probably a feature request but perhaps there's something I could do on a hook. I have a couple of groups on which I set the display parameter to t resulting in large summary buffers with a lot of O and ! marked articles. To deal with the large numbers I hide all threads by setting gnus-thread-hide-subtree to t by default. The problem with this is that when I have more than one unread article in the group it is not clear in which threads I have unread messages (except the first because that one always seems to be unhidden automatically). I've got the summary sorted by thread with most recent number and then by most recent date. This helps, but it's still not everything I would like because, for example, while I might know that there are four unread messages in the summary, it's not clear whether they are all under the first thread or whether there is one under each, or some combination. What I'd like is some way to have a thread with unread messages in it shown in a different color. I've already given up on having an unread count in the summary line. I wrote a function that counts the number of unread messages in the thread below the current summary line: (defun dsg-unread-in-thread () (length (remove nil (mapcar 'gnus-summary-article-unread-p (gnus-summary-articles-in-thread))))) But as that changes (e.g. by reading an article), there doesn't seem to be an easy way to update the parent summary lines. My hope was that it wouldn't be that hard to incorporate into gnus-summary-highlight since then I'd only have to compare against 0 and not worry about maintaining counts. Is there any way to do something like that? Thanks, -- Dave Goldberg david.goldberg6@verizon.net