From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78427 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: An example of an nnimap group where the Group count is always wrong Date: Fri, 08 Apr 2011 18:14:54 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302301124 24317 80.91.229.12 (8 Apr 2011 22:18:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2011 22:18:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26730@lists.math.uh.edu Sat Apr 09 00:18:41 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8K0m-0007ts-Ib for ding-account@gmane.org; Sat, 09 Apr 2011 00:18:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q8K0D-0007Hj-TI; Fri, 08 Apr 2011 17:18:05 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q8K0C-0007Hc-TG for ding@lists.math.uh.edu; Fri, 08 Apr 2011 17:18:04 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q8K0B-0001MR-GM for ding@lists.math.uh.edu; Fri, 08 Apr 2011 17:18:04 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q8K09-0000kP-Rb for ding@gnus.org; Sat, 09 Apr 2011 00:18:02 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 1320A40100; Fri, 8 Apr 2011 22:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1302301074; bh=Dj2E15hfdLWx0vVlpOKWJDsatp9HtQP9Wpy1hhxlWOg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=n/PfHVMiimoxF7MNTmhj1I/lHrFmNy9S5ykk3EquHqi2k4v4uSQ+4AQjM/ik+CY2Z iptAFCusnsbQ4MV04uNIj/ewI7Uoei8V+mY6GJKPClF4MC761i2r74jwe3pRPhqrdG we05k002WR/vBphdpkAf/pagHGXe2diajOKx6764= Original-Received: by carbon.jhcloos.org (Postfix, from userid 500) id 5EF6F260042; Fri, 8 Apr 2011 22:14:54 +0000 (UTC) User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC Copyright: Copyright 2011 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 57 X-Hashcash: 1:30:110408:ding@gnus.org::eRH6j/Elcyl6mgy0:000nTyfs X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78427 Archived-At: I noticed this with one of my nnimap groups which always gets wrong info in Group. Everytime I run g or M-g this group shows seven unread articles in its Group count, but selecting it always says zero unread articles. As you can see, even though SELECT shows zero exist and zero recent, and even though UID FETCH 1:* FLAGS shows no articles, gnus is convinced that uids 29 through 35 exist. This is from repeated M-g and SPACE: read(0, "103351 SELECT \"dsnp-interest@complang.org\"\r\n" write(5, "* 0 EXISTS\r\n" write(5, "* 0 RECENT\r\n" write(5, "* FLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)\r\n" write(5, "* OK [PERMANENTFLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)]\r\n" write(5, "* OK [UIDNEXT 0] Predicted next UID\r\n" write(5, "* OK [UIDVALIDITY 41557] UID value\r\n" write(5, "103351 OK [READ-WRITE] SELECT completed\r\n" read(0, "103352 UID FETCH 1:* FLAGS\r\n" write(5, "103352 OK UID FETCH completed\r\n" read(0, "103353 UID FETCH 29:35 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)])\r\n" write(5, "103353 OK UID FETCH completed\r\n" read(0, "103354 SELECT \"dsnp-interest@complang.org\"\r\n" write(5, "* 0 EXISTS\r\n" write(5, "* 0 RECENT\r\n" write(5, "* FLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)\r\n" write(5, "* OK [PERMANENTFLAGS (\\Seen \\Answered \\Deleted \\Flagged \\Draft)]\r\n" write(5, "* OK [UIDNEXT 0] Predicted next UID\r\n" write(5, "* OK [UIDVALIDITY 41557] UID value\r\n" write(5, "103354 OK [READ-WRITE] SELECT completed\r\n" read(0, "103355 UID FETCH 1:* FLAGS\r\n" write(5, "103355 OK UID FETCH completed\r\n" read(0, "103356 UID FETCH 29:35 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)])\r\n" write(5, "103356 OK UID FETCH completed\r\n" The info in .newsrc.eld for that group is: ("nnimap+l:dsnp-interest@complang.org" (55 . 24) nil ((seen (7 . 35)) (cache 34)) "nnimap:l" ((modseq) (uidvalidity . "41557") (active 29 . 35) (permanent-flags %Seen %Answered %Deleted %Flagged %Draft) (timestamp 19864 55661) (imap-status . "0 1 0"))) Art 34 does exist in ~/News/cache as claimed in newsrc. And is the only art there. The Group buffer has been broken ever since the support for syncing to the imap server was added. Immediately before that it worked perfectly. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6