Gnus development mailing list
 help / color / mirror / Atom feed
* more on the wrong Group unread counts
@ 2010-10-18  9:58 James Cloos
  2010-10-18 19:19 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: James Cloos @ 2010-10-18  9:58 UTC (permalink / raw)
  To: ding

Here is an example of the data retrieved by nnimap for a group which
showed an incorrect unread count in Group:

write(5, "* 5 EXISTS\r\n", 12) = 12
write(5, "* 4 RECENT\r\n", 12) = 12
write(5, "* FLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)\r\n", 52) = 52
write(5, "* OK [PERMANENTFLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)]\r\n", 66) = 66
write(5, "* OK [UIDNEXT 612] Predicted next UID\r\n", 39) = 39
write(5, "* OK [UIDVALIDITY 47581] UID value\r\n", 36) = 36
write(5, "* OK [UNSEEN 2] first unseen message\r\n", 38) = 38
write(5, "133397 OK [READ-WRITE] SELECT completed\r\n", 41) = 41
write(5, "* 1 FETCH (FLAGS (\\Seen) UID 376)\r\n* 2 FETCH (FLAGS
          (\\Recent) UID 608)\r\n* 3 FETCH (FLAGS (\\Recent) UID
          609)\r\n* 4 FETCH (FLAGS (\\Recent) UID 610)\r\n* 5 FETCH
          (FLAGS (\\Recent) UID 611)\r\n", 183) = 183
write(5, "133398 OK UID FETCH completed\r\n", 31) = 31

As you can see, Group should show either 4 or 5 unread articles (5
exist, 4 are unread), but it instead claimed over 200, probably the
difference between the largest and smallest UID values returned by
the UID FETCH FLAGS call.

This is exactly the same symptom the old nnimap had, and which the
new nnimap previously avoided.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more on the wrong Group unread counts
  2010-10-18  9:58 more on the wrong Group unread counts James Cloos
@ 2010-10-18 19:19 ` Lars Magne Ingebrigtsen
  2010-10-18 20:54   ` James Cloos
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-18 19:19 UTC (permalink / raw)
  To: ding

James Cloos <cloos@jhcloos.com> writes:

> As you can see, Group should show either 4 or 5 unread articles (5
> exist, 4 are unread), but it instead claimed over 200, probably the
> difference between the largest and smallest UID values returned by
> the UID FETCH FLAGS call.

What was the "FETCH FLAGS" command that Gnus issued?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more on the wrong Group unread counts
  2010-10-18 19:19 ` Lars Magne Ingebrigtsen
@ 2010-10-18 20:54   ` James Cloos
  2010-10-18 22:56     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: James Cloos @ 2010-10-18 20:54 UTC (permalink / raw)
  To: ding

>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

LMI> James Cloos <cloos@jhcloos.com> writes:
>> As you can see, Group should show either 4 or 5 unread articles (5
>> exist, 4 are unread), but it instead claimed over 200, probably the
>> difference between the largest and smallest UID values returned by
>> the UID FETCH FLAGS call.

LMI> What was the "FETCH FLAGS" command that Gnus issued?

 133397 SELECT "apps-devel@webmproject.org"
 133398 UID FETCH 1:* FLAGS

and then I think this was when I entered the group:

 133399 UID FETCH 377:611 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)])

For completeness sake, the read and write are:

read(0, "133397 SELECT \"apps-devel@webmproject.org\"\r\n", 4096) = 44
write(5, "* 5 EXISTS\r\n", 12) = 12
write(5, "* 4 RECENT\r\n", 12) = 12
write(5, "* FLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)\r\n", 52) = 52
write(5, "* OK [PERMANENTFLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)]\r\n", 66) = 66
write(5, "* OK [UIDNEXT 612] Predicted next UID\r\n", 39) = 39
write(5, "* OK [UIDVALIDITY 47581] UID value\r\n", 36) = 36
write(5, "* OK [UNSEEN 2] first unseen message\r\n", 38) = 38
write(5, "133397 OK [READ-WRITE] SELECT completed\r\n", 41) = 41
read(0, "133398 UID FETCH 1:* FLAGS\r\n", 4096) = 28
write(5, "* 1 FETCH (FLAGS (\\Seen) UID 376)\r\n* 2 FETCH (FLAGS (\\Recent) UID 608)\r\n* 3 FETCH (FLAGS (\\Recent) UID 609)\r\n* 4 FETCH (FLAGS (\\Recent) UID 610)\r\n* 5 FETCH (FLAGS (\\Recent) UID 611)\r\n", 183) = 183
write(5, "133398 OK UID FETCH completed\r\n", 31) = 31

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: more on the wrong Group unread counts
  2010-10-18 20:54   ` James Cloos
@ 2010-10-18 22:56     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-18 22:56 UTC (permalink / raw)
  To: ding

James Cloos <cloos@jhcloos.com> writes:

>>> As you can see, Group should show either 4 or 5 unread articles (5
>>> exist, 4 are unread), but it instead claimed over 200, probably the
>>> difference between the largest and smallest UID values returned by
>>> the UID FETCH FLAGS call.
>
> LMI> What was the "FETCH FLAGS" command that Gnus issued?
>
>  133397 SELECT "apps-devel@webmproject.org"
>  133398 UID FETCH 1:* FLAGS

This may also have been fixed earlier today...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-18 22:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-18  9:58 more on the wrong Group unread counts James Cloos
2010-10-18 19:19 ` Lars Magne Ingebrigtsen
2010-10-18 20:54   ` James Cloos
2010-10-18 22:56     ` Lars Magne Ingebrigtsen

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).