Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
To: ding@gnus.org
Subject: Re: Automatically marking Gcc's as SEEN in nnimap
Date: Sun, 04 Jan 2009 20:40:57 -0500	[thread overview]
Message-ID: <m2ljtqedhy.fsf@asfast.com> (raw)
In-Reply-To: <874p0epqth.fsf@randomsample.de>

David Engster <deng@randomsample.de> writes:

> Lloyd Zusman <ljz@asfast.com> writes:
>>
>> [ ... ]
>>
>> Furthermore, immediately after this command completes, the articles seem
>> to be marked as SEEN (or at least they are not flagged as unread/unseen
>> in the *Summary* buffer).  However, if I then run a
>> `gnus-group-get-new-news', the unread/unseen mark returns, and I can
>> only make it go away by actually reading the article.
>
> I would guess this behavior comes from gaps in the article numbers. This
> problem can't currently properly dealt with and also depends on the used
> IMAP server. Does doing M-g on that group fix the number?

Yes, `M-g' fixes it.


>> [ ... ]
>
> No, they don't get re-propagated to the IMAP server. Gnus simply doesn't
> have all the necessary information for correctly calculating the number
> of unread articles. When you do gnus-group-get-new-news, Gnus will try
> to determine the number of unread articles purely based on the active
> information (ie. lowest and highest article number in a group), and on
> the group info, which contains the article numbers of already seen
> articles. When you do M-g on a group, it will also re-scan the group on
> the server, which can sometimes correct this problem.

OK. This explains and fixes the problem.

So do you see any disadvantage to my writing some function that runs
`gnus-group-get-new-news-this-group' (`M-g') on each of my groups, and
then rebinding this function to `g' (currently bound to
`gnus-group-get-new-news')?  It seems like such a function would be
more useful, especially for nnimap groups.

In any case, thanks for all your help!


-- 
 Lloyd Zusman
 ljz@asfast.com
 God bless you.




  reply	other threads:[~2009-01-05  1:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17  2:29 Lloyd Zusman
2008-12-17  9:45 ` Paul R
2008-12-18  0:57   ` Lloyd Zusman
2008-12-18  2:22     ` Dave Goldberg
2008-12-18  3:20       ` Lloyd Zusman
2008-12-26 19:27         ` Lloyd Zusman
2009-01-03 17:21           ` David Engster
2009-01-03 20:19             ` Lloyd Zusman
2009-01-03 23:15               ` David Engster
2009-01-04 20:14                 ` Lloyd Zusman
2009-01-04 21:21                   ` David Engster
2009-01-04 22:30                     ` Lloyd Zusman
2009-01-04 23:57                       ` David Engster
2009-01-05  1:40                         ` Lloyd Zusman [this message]
2009-01-05 11:25                           ` David Engster
2009-01-06  2:32                             ` Lloyd Zusman

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=m2ljtqedhy.fsf@asfast.com \
    --to=ljz@asfast.com \
    --cc=ding@gnus.org \
    /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).