From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85721 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: Unable to get all messages in an IMAP group Date: Wed, 04 Feb 2015 22:35:00 +0100 Message-ID: References: <87oapbe4yj.fsf@zoro.exoscale.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423085723 13185 80.91.229.3 (4 Feb 2015 21:35:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 21:35:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33960@lists.math.uh.edu Wed Feb 04 22:35:22 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ7bT-0003yb-VP for ding-account@gmane.org; Wed, 04 Feb 2015 22:35:20 +0100 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 1YJ7bF-0005Ky-N1; Wed, 04 Feb 2015 15:35:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YJ7bE-0005Kl-GF for ding@lists.math.uh.edu; Wed, 04 Feb 2015 15:35:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YJ7bD-0002oq-Ie for ding@lists.math.uh.edu; Wed, 04 Feb 2015 15:35:04 -0600 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ7bB-0000Bf-6E for ding@gnus.org; Wed, 04 Feb 2015 22:35:01 +0100 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id B4E7A141B1 for ; Wed, 4 Feb 2015 22:35:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=postfix; bh=E4Av5srvH jjEP/HLu2kGXYwnfjI=; b=ts37aTPcSf4pN94WSptZaaTGU2ph2wHuLPaTBghIy QHjxr2JDNvHBeWTe6CJh9TX5QWqjESmy2L3rdetiepYvLT7JwWn5AzIi1eefHBLg VKx6FJbSccIhqy5ckESr4+hwFc5XstCM48HxCW7HhZlU0E65M96VpocTOqCPr++H 7E= Original-Received: from neo.luffy.cx (unknown [IPv6:2a02:1203:ecb0:a982:468a:5bff:fe5c:219d]) by bart.luffy.cx (Postfix) with ESMTPS id 86BC514167 for ; Wed, 4 Feb 2015 22:35:00 +0100 (CET) Original-Received: by neo.luffy.cx (Postfix, from userid 500) id 14870AD6; Wed, 4 Feb 2015 22:35:00 +0100 (CET) In-Reply-To: (Vincent Bernat's message of "Wed, 04 Feb 2015 22:19:35 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85721 Archived-At: =E2=9D=A6 4 f=C3=A9vrier 2015 22:19 +0100, Vincent Bernat =C2=A0: > This doesn't fix everything for me. I think there is another problem. > > When I refresh my INBOX with M-g, then do g twice, I get this trace: > > 22:15:19 [] 4253 SELECT "INBOX" > 22:15:19 [] 4254 UID FETCH 1:* FLAGS > > Count is correct (all read). > > 22:15:28 [exoscale] 4260 EXAMINE "INBOX" (QRESYNC (1402209543 15465)) > > Count is correct (all read) > > 22:15:31 [exoscale] 4355 SELECT "INBOX" > 22:15:31 [exoscale] 4356 UID FETCH 1:* FLAGS > > Count is incorrect (many unread) > > I suppose that M-g may not refresh the right server due to the empty > square brackets in contrast with what is happening with g. This doesn't > happen with my other INBOX (the primary one). If I use this patch: #v+ diff --git a/lisp/nnimap.el b/lisp/nnimap.el index cdbc2a68709b..8f9afa634a87 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -822,6 +822,7 @@ textual parts.") =20 (deffoo nnimap-request-group-scan (group &optional server info) (setq group (nnimap-decode-gnus-group group)) + (nnimap-change-group group server) (let (marks high low) (with-current-buffer (nnimap-buffer) (erase-buffer) #v- I get this trace: 22:33:33 [exoscale] 5936 SELECT "INBOX" 22:33:33 [exoscale] 5937 SELECT "INBOX" 22:33:33 [exoscale] 5938 UID FETCH 1:* FLAGS So, it seems to use the right IMAP server but the count is the wrong one (a lot of unread messages). But maybe the group is just borked, I could use M-c on it. I leave it as is if it needs more debugging. --=20 Hell is empty and all the devils are here. -- Wm. Shakespeare, "The Tempest"