From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48080 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir's article counts are better now Date: Fri, 06 Dec 2002 16:01:06 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <87el8udfql.fsf@mail.paradoxical.net> References: <871y4vlz2u.fsf@mail.paradoxical.net> <87u1hqly9v.fsf@mail.paradoxical.net> Reply-To: Josh Huber NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039208562 14681 80.91.224.249 (6 Dec 2002 21:02:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2002 21:02:42 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KPcO-0003oe-00 for ; Fri, 06 Dec 2002 22:02:41 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18KPbQ-0007Hg-00; Fri, 06 Dec 2002 15:01:40 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 06 Dec 2002 15:02:29 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA23185 for ; Fri, 6 Dec 2002 15:02:02 -0600 (CST) Original-Received: (qmail 23054 invoked by alias); 6 Dec 2002 21:01:07 -0000 Original-Received: (qmail 23049 invoked from network); 6 Dec 2002 21:01:06 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 6 Dec 2002 21:01:06 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18KPjc-0002vL-00 for ; Fri, 06 Dec 2002 22:10:08 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 412 Original-NNTP-Posting-Host: paradoxical.net Original-X-Trace: quimby.gnus.org 1039209008 10946 66.92.73.76 (6 Dec 2002 21:10:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 Dec 2002 21:10:08 GMT Mail-Followup-To: ding@gnus.org Mail-Copies-To: nobody User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence, i686-pc-linux) Cancel-Lock: sha1:bbpn67nlIKurebRK59wH8zCRI9U= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48080 prj@po.cwru.edu (Paul Jarc) writes: > Josh Huber 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