[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong number of new mails in nnimap group
From: |
Tassilo Horn |
Subject: |
Re: Wrong number of new mails in nnimap group |
Date: |
Wed, 17 Jun 2009 23:25:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
Hermann <meinelisten@onlinehome.de> writes:
Hi Herrmann,
> I switched the mail backend to nnimap, and since yesterday I observe
> the following phenomenon, that wasn't there before: When new mails
> arrive, Gnus shows wrong numbers. When one mail arrives, I see between
> 10 and 20 new messages. When more new mails are in my inbox, it
> happens that I get several thousands announced. In fact there are 3 or
> 4. I also use the same Imap account with my notebook with Windows XP
> and Thunderbird. (It doesn't happen there) What may cause this? It's
> no show stopper, but annoying.
The problem is that Gnus was designed for nntp where no articles get
deleted and each new article gets a number which always increases. So
for Gnus the unread count is numer_of_newest - number_of_previous.
Suppose you have the read articles 1, 2, 3 and get the new articles 4
and 5, Gnus will tell you that 5-3=2 new articles are there. In that
case, it's correct.
But when you delete article 2 and 3 before the new messages arrive,
it'll say your unread count is 5-1=4, which is wrong.
So this is a problem which is caused by Gnus' backend design, and it's
not easily fixable. You can move all mails to a temporary group and
move em back, so that gap will be filled up, but the next time you
delete/move mails away, it'll be the same again...
Well, a bit annoying, but not a showstopper, just as you said...
Bye,
Tassilo
--
A morning without coffee is like something without something else.