From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43683 Path: quimby.gnus.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: Re: the gnus-newsgroup-unseen mark is too sticky Date: Wed, 27 Feb 2002 11:45:33 -0600 Message-ID: References: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014831774 11800 195.204.10.66 (27 Feb 2002 17:42:54 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 27 Feb 2002 17:42:54 GMT Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16g86O-000349-00; Wed, 27 Feb 2002 18:42:53 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16g81D-0000SO-00; Wed, 27 Feb 2002 11:37:31 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 27 Feb 2002 11:37:33 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA26062 for ; Wed, 27 Feb 2002 11:37:21 -0600 (CST) Original-Received: (qmail 23275 invoked by alias); 27 Feb 2002 17:37:15 -0000 Original-Received: (qmail 23270 invoked from network); 27 Feb 2002 17:37:15 -0000 Original-Received: from wri-dns0.wolfram.com (HELO wolfram.com) (140.177.205.10) by gnus.org with SMTP; 27 Feb 2002 17:37:15 -0000 Original-Received: from localhost.localdomain.wolfram.com (dmz5.wolfram.com [140.177.205.1]) by wolfram.com (8.11.2/8.11.2) with ESMTP id g1RHbCL12489 for ; Wed, 27 Feb 2002 11:37:13 -0600 Original-To: ding X-Face: (|p=5paZ;5sn@$'yf[ [mc}h!^-.j\s}lz4KmZHnRi'$i-`JC-P93D'sYSvj'4k1+XR.77cYa%}0&)8"uqa(VuPRrboD>&J>w + (Bill White's message of "Wed, 27 Feb 2002 10:46:06 -0600") Original-Lines: 40 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i586-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: quimby.gnus.org gmane.emacs.gnus.general:43683 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43683 On Wed Feb 27 2002 at 10:46, Bill White said: > On Tue Feb 26 2002 at 12:17, Simon Josefsson said: > >> Add a function to `gnus-mark-article-hook' that removes the unseen >> mark when you select an article. > > Thanks - I'll look into that. This handles the re-highlighting after I do something that *selects* the article: ---------------------------------------------------------------------- (defun my-remove-article-from-unseen () (setq gnus-newsgroup-unseen (delq article gnus-newsgroup-unseen))) (add-hook 'gnus-mark-article-hook 'my-remove-article-from-unseen) ---------------------------------------------------------------------- It doesn't visually remove the unseen mark symbol ".", but that's not important for me. Also, this has no effect if I do something that doesn't select the article, like marking by hand with 'd'. All in all, it does about 90% of WIM. Now that I've played around with this, I think limiting to unseens would be more effective than highlighting unseens. It would focus my attention on them better and it would probably be a cleaner way to do this, but I can't find a way to limit like that. Any hints on limiting to unseen? Hey - how about a dedicated key, like '/ .' and a related function that could be run automatically upon entering a group? Cheers - bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw "No ma'am, we're musicians."