From: Josh Huber <huber@alum.wpi.edu>
Subject: Re: nnmaildir's article counts are better now
Date: Fri, 06 Dec 2002 16:01:06 -0500 [thread overview]
Message-ID: <87el8udfql.fsf@mail.paradoxical.net> (raw)
In-Reply-To: <m3n0nigb8a.fsf@multivac.cwru.edu>
prj@po.cwru.edu (Paul Jarc) writes:
> Josh Huber <huber@alum.wpi.edu> wrote:
>> As an example, mail.lists.info-cyrus claims (in my *Group* buffer) to
>> have 1244 new messages, out of a possible 126 messages:
>>
>> 1244/ 126[0]: nnmaildir:mail.lists.info-cyrus
>
> What are you using in gnus-group-line-format to produce that 1244?
gnus-group-line-format is set to "%M%S%5y/%5t[%T]: %(%g%)\n"
%y = number of unread, unticked articles.
%t = estimated total
%T = number of ticked articles.
Does this seem reasonable to you?
> It's "211 count min max groupname". So this looks reaonable. Try
> debugging nnmaildir-request-update-info. It updates the group info
> (marks, in particular) at the end. You can trigger it with M-g.
> What does the group info look like before and after the update? Try
> when there is new mail as well as when there isn't.
This group correctly displays the number of new messages (only because
I've entered/exited the group):
("nnmaildir:mail.lists.openafs-devel" 3
((1 . 305))
nil
"nnmaildir:"
((to-list . "openafs-devel@openafs.org")))
mail.lists.gnupg has the following *Group* buffer line:
978/ 197[1]: nnmaildir:mail.lists.gnupg
The contents of "info" at the end of nnmaildir-request-update-info is:
("nnmaildir:mail.lists.gnupg" 3
((979 . 1054)
(1055 . 1175))
((reply 1048)
(tick 1164))
"nnmaildir:"
((to-list . "gnupg-users@gnupg.org")))
After entering/exiting the group, it correctly displays that there are
in fact NO new messages:
* 0/ 197[1]: nnmaildir:mail.lists.gnupg
...at the end of n-r-u-i, the info is:
("nnmaildir:mail.lists.gnupg" 3
((1 . 1175))
((reply 1048)
(tick 1164))
"nnmaildir:"
((to-list . "gnupg-users@gnupg.org")))
Finally, for a group which actually has new mail, but is incorrectly
reporting a high new count:
147/ 744[10]: nnmaildir:mail.inbox.main
Has info (wow, this is pretty big...):
("nnmaildir:mail.inbox.main" 1
((1 . 2)
(3 . 400)
(407 . 408)
(412 . 413)
417
(423 . 424)
(426 . 432)
(446 . 447)
449
(453 . 459)
(461 . 462)
467
(471 . 472)
(479 . 485)
(487 . 497)
(500 . 502)
(504 . 509)
(518 . 521)
(523 . 524)
(527 . 540)
(542 . 546)
549
(551 . 552)
(554 . 559)
562
(566 . 567)
(571 . 573)
578
(582 . 586)
591
(594 . 598)
(600 . 602)
(604 . 611)
615
(617 . 618)
(630 . 633)
(635 . 637)
(639 . 640)
(647 . 649)
(651 . 654)
(656 . 661)
(663 . 671)
(673 . 679)
(681 . 688)
(690 . 691)
697
(703 . 704)
708
(711 . 713)
715
(717 . 718)
(720 . 722)
724
(727 . 731)
(734 . 740)
743)
((reply 4
21
41
51
(53 . 54)
57
59
61
63
(68 . 73)
(75 . 78)
80
(91 . 97)
102
(104 . 107)
(109 . 113)
(116 . 117)
(127 . 129)
(133 . 135)
(142 . 146)
148
(151 . 153)
155
157
159
(162 . 166)
(169 . 170)
173
179
187
191
199
201
203
205
(210 . 211)
213
217
(220 . 222)
(224 . 226)
228
(233 . 235)
237
239
242
245
(248 . 249)
(251 . 252)
255
257
259
(262 . 264)
(266 . 268)
(270 . 271)
274
(276 . 280)
(282 . 284)
(288 . 291)
293
295
298
302
310
312
317
320
(333 . 335)
337
(346 . 348)
(351 . 354)
(358 . 360)
370
(373 . 377)
(381 . 384)
(395 . 396)
400
(407 . 408)
417
428
430
449
(453 . 454)
(456 . 457)
479
485
(489 . 490)
509
518
520
524
527
529
537
540
(544 . 546)
549
551
554
557
562
567
(571 . 572)
582
(585 . 586)
594
(596 . 598)
602
604
(606 . 609)
617
632
(635 . 637)
(652 . 654)
(657 . 660)
(663 . 665)
(670 . 671)
676
678
682
697
703
(712 . 713)
715
(717 . 718)
(720 . 722)
734
742)
(tick 16 269 457 542 615 711 (729 . 731) 743)
(forward 118 130 201 (243 . 244) (274 . 275) 303 357 371 488 (491 . 494)))
"nnmaildir:")
After entering/exiting the group, it correctly shows 7 unread
messages:
7/ 744[10]: nnmaildir:mail.inbox.main
And (get ready for it ;), the info looks like this now:
("nnmaildir:mail.inbox.main" 1
((1 . 661)
(663 . 671)
(673 . 722)
(724 . 732)
(734 . 740)
743)
((reply 4
21
41
51
(53 . 54)
57
59
61
63
(68 . 73)
(75 . 78)
80
(91 . 97)
102
(104 . 107)
(109 . 113)
(116 . 117)
(127 . 129)
(133 . 135)
(142 . 146)
148
(151 . 153)
155
157
159
(162 . 166)
(169 . 170)
173
179
187
191
199
201
203
205
(210 . 211)
213
217
(220 . 222)
(224 . 226)
228
(233 . 235)
237
239
242
245
(248 . 249)
(251 . 252)
255
257
259
(262 . 264)
(266 . 268)
(270 . 271)
274
(276 . 280)
(282 . 284)
(288 . 291)
293
295
298
302
310
312
317
320
(333 . 335)
337
(346 . 348)
(351 . 354)
(358 . 360)
370
(373 . 377)
(381 . 384)
(395 . 396)
400
(407 . 408)
417
428
430
449
(453 . 454)
(456 . 457)
479
485
(489 . 490)
509
518
520
524
527
529
537
540
(544 . 546)
549
551
554
557
562
567
(571 . 572)
582
(585 . 586)
594
(596 . 598)
602
604
(606 . 609)
617
632
(635 . 637)
(652 . 654)
(657 . 660)
(663 . 665)
(670 . 671)
676
678
682
697
703
(712 . 713)
715
(717 . 718)
(720 . 722)
734
742)
(tick 16 269 457 542 615 711 (729 . 731) 743)
(forward 118 130 201 (243 . 244) (274 . 275) 303 357 371 488 (491 . 494)))
"nnmaildir:")
Hopefully, something in the above information helps :)
> I think it's the same for me. After entering and exiting, the
> correct count is preserved even after M-g, right?
Yes, that's correct.
--
Josh Huber
next prev parent reply other threads:[~2002-12-06 21:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 17:41 Paul Jarc
2002-12-06 19:36 ` Josh Huber
2002-12-06 19:42 ` Paul Jarc
2002-12-06 19:53 ` Josh Huber
2002-12-06 20:09 ` Paul Jarc
2002-12-06 21:01 ` Josh Huber [this message]
2002-12-08 2:40 ` gnus marks nonexistent articles (was: nnmaildir's article counts are better now) Paul Jarc
2002-12-08 5:38 ` gnus marks nonexistent articles Simon Josefsson
2002-12-09 5:50 ` Paul Jarc
2002-12-09 9:44 ` Simon Josefsson
2002-12-09 19:42 ` Paul Jarc
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=87el8udfql.fsf@mail.paradoxical.net \
--to=huber@alum.wpi.edu \
--cc=huber+dated+1039639098.4092ec@alum.wpi.edu \
/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).