From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62402 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: 'g' not checking nnimap groups Date: Sat, 25 Mar 2006 13:54:52 +0100 Message-ID: <877j6i8z1f.fsf@latte.josefsson.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143291830 28232 80.91.229.2 (25 Mar 2006 13:03:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Mar 2006 13:03:50 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m10928@lists.math.uh.edu Sat Mar 25 14:03:48 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FN8Qj-0002ye-G9 for ding-account@gmane.org; Sat, 25 Mar 2006 14:03:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FN8QZ-00060G-00; Sat, 25 Mar 2006 07:03:35 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FN8IK-000608-00 for ding@lists.math.uh.edu; Sat, 25 Mar 2006 06:55:04 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FN8IG-0007mF-J2 for ding@lists.math.uh.edu; Sat, 25 Mar 2006 06:55:04 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FN8IF-0000yz-00 for ; Sat, 25 Mar 2006 13:54:59 +0100 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k2PCsqjd004470; Sat, 25 Mar 2006 13:54:52 +0100 Original-To: gdt@work.lexort.com OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:060325:gdt@work.lexort.com::pD351Cwy1Mp6XS9u:26xc X-Hashcash: 1:21:060325:ding@gnus.org::Md1ZeGl1/piu9fBk:2UED In-Reply-To: (gdt@work.lexort.com's message of "Thu, 23 Mar 2006 10:06:44 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62402 Archived-At: gdt@work.lexort.com writes: > I'm running Gnus from cvs head this morning with emacs 21.3 (on > NetBSD/i386). > > I am mostly reading mail, and have an nnimap secondary select method, > but also one newsgroup at news.mit.edu. > > I have turned off the agent on my nnimap select method; I found (with > an earlier release) that articles deleted from the imap folders still > appeared locally, and I consider this bad behavior, or at least not > what I want. > > The 'g' command in the *Group* buffer behaves inconsistently. > Sometimes it checks all of my nnimap groups, but often it just checks > nnimap+work.lexort.com:lists.ding This is the most recently added, > but not the last in the *Group* buffer. Maybe there is some server confusion. When this occur, do you have multiple copies of your nnimap server in the server buffer? (^ from the group buffer.) > In *imap-log*, I get this on hitting g: > > 539 UID SEARCH UNSEEN UNDELETED > * SEARCH > 539 OK Search completed. > 540 UID SEARCH SEEN > * SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 > 540 OK Search completed. > 541 UID SEARCH FLAGGED > * SEARCH 1 2 41 > 541 OK Search completed. > 542 UID SEARCH ANSWERED > * SEARCH 4 > 542 OK Search completed. > 543 UID SEARCH RECENT > * SEARCH > 543 OK Search completed. > 544 FETCH 1,* UID > * 1 FETCH (UID 1) > * 84 FETCH (UID 84) > 544 OK Fetch completed. > 545 STATUS "lists.ding" (UNSEEN) > * STATUS "lists.ding" (UNSEEN 0) > 545 OK Status completed. > 546 EXPUNGE > 546 OK Expunge completed. > > This indicates to me that the imap connection was already selected, > and that only that one group was checked. Right, although the above is the "slow" mail check. If the server definitions are in order, it should only use STATUS. > If I do ^U 1 g, I get the following: > > 555 STATUS "Inbox" (uidvalidity uidnext unseen) > * STATUS "Inbox" (UIDNEXT 351 UIDVALIDITY 1141579755 UNSEEN 0) > 555 OK Status completed. The uidvalidity look potentially too large for elisp integers, although I don't think large uidvalidity should be a problem. > and ^U 2 g gets me: > > 556 STATUS "misc.gdt-cvs" (uidvalidity uidnext unseen) > 557 STATUS "family.foobar" (uidvalidity uidnext unseen) > 558 STATUS "Inbox" (uidvalidity uidnext unseen) > * STATUS "misc.gdt-cvs" (UIDNEXT 5 UIDVALIDITY 1142461155 UNSEEN 0) > 556 OK Status completed. > * STATUS "family.foobar" (UIDNEXT 2 UIDVALIDITY 1141827703 UNSEEN 0) > 557 OK Status completed. > * STATUS "Inbox" (UIDNEXT 351 UIDVALIDITY 1141579755 UNSEEN 0) > 558 OK Status completed. > > Sometimes, g checks all my nnimap groups, but usually it doesn't. Weird. > Questions arising: > > Am I correct in thinking g should query all groups? Yes. > Is there some hairy IMAP register-for-notifications scheme in use, > and gone wrong? No. Nnimap should invoke a STATUS command on every group that is passed to the nnimap backend. Maybe you can debug things and figure out why Gnus doesn't hand a list of all groups to nnimap, or why nnimap doesn't check all the groups in the list.