Gnus development mailing list
 help / color / mirror / Atom feed
From: Bill White <billw@wolfram.com>
Subject: the gnus-newsgroup-unseen mark is too sticky
Date: Tue, 26 Feb 2002 08:02:28 -0600	[thread overview]
Message-ID: <ruod6ysnxxn.fsf@billwlx.wolfram.com> (raw)

(defvar gnus-newsgroup-unseen nil
  "List of unseen articles in the current newsgroup.")

I'm not sure of the philosophy of "unseen" messages, but there is one
instance when this feature doesn't DWIM.  Say I have a Summary buffer
with some unseen messages, which are marked with ".".  I go to one of
these messages and select it, mark it as read, delete it, whatever.
The "." is still there, when it is really no longer "unseen".

Why is this an issue, you ask?  Well, I have code that highlights
unseen messages with a special face:

----------------------------------------------------------------------
(defface gnus-summary-unseen-face
  '((((class color))
     (:foreground "gold" :background "black")))
  "Face used for unseen (.-marked) articles.")

(require 'gnus-sum)
(require 'cl)

(pushnew '((memq (gnus-summary-article-number)
		 gnus-newsgroup-unseen)
	   . gnus-summary-unseen-face)
	 gnus-summary-highlight)
----------------------------------------------------------------------

After I read one of these nicely-colored unseen messages, the "."
mark still lingers so the function that highlights a line thinks it's
still unseen.  

I would expect the "." to disappear so that other highlighting could
take effect after I'm done with the article.  Is this possible?

Cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."




             reply	other threads:[~2002-02-26 14:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26 14:02 Bill White [this message]
2002-02-26 16:53 ` Harry Putnam
2002-02-26 16:53 ` Harry Putnam
2002-02-27  4:31   ` Bill White
2002-02-27  6:15     ` Harry Putnam
2002-02-27  6:15     ` Harry Putnam
2002-02-27  4:31   ` Bill White
2002-02-26 18:17 ` Simon Josefsson
2002-02-27 16:46   ` Bill White
2002-02-27 16:46   ` Bill White
2002-02-27 17:45     ` Bill White
2002-02-27 17:45     ` Bill White
2002-02-28 12:35       ` Bill White
2002-02-28 12:35       ` Bill White
2002-02-26 18:17 ` Simon Josefsson
2002-02-26 14:02 Bill White

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ruod6ysnxxn.fsf@billwlx.wolfram.com \
    --to=billw@wolfram.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).