From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85719 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:11:03 +0100 Message-ID: References: <87oapbe4yj.fsf@zoro.exoscale.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1423084274 21575 80.91.229.3 (4 Feb 2015 21:11:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 21:11:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33958@lists.math.uh.edu Wed Feb 04 22:11:14 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 1YJ7E8-00053b-Gt for ding-account@gmane.org; Wed, 04 Feb 2015 22:11:13 +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 1YJ7E5-0005B3-Ul; Wed, 04 Feb 2015 15:11:10 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YJ7E4-0005Ai-FU for ding@lists.math.uh.edu; Wed, 04 Feb 2015 15:11:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YJ7E3-0003As-5p for ding@lists.math.uh.edu; Wed, 04 Feb 2015 15:11:08 -0600 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ7E0-00082E-TK for ding@gnus.org; Wed, 04 Feb 2015 22:11:05 +0100 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id 799B9141B1 for ; Wed, 4 Feb 2015 22:11:04 +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; s=postfix; bh=L4qFuYMp2FsMM8XlLtr55gFObQQ=; b=rmN /E/oBeD0/0suDFgSNxtSLxuu74srs54MoidumSCGT5dC43g6+EV9AMKPu76+nCLQ t9CRg2LDp7D0Y+arm3e7ZC520ly/vTTABcOEU1GuoAB5pHlA2MHfHJAcba629bKk 0YhBgy16jx0kZDhxrdyTupCuAu+FltA3IGgpgEX0= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=postfix; b=eMqzLR0ZoyPxU1FCk0RrxubGBoOmD OnT6SAXiYTqYANJKGeOoPfGherK9Fwn88npuW+SuPrPUYbApb9Az/za3GqQWzyMc LVtx5QqpitH446zmdsT0GkoWL7YLvhBgIcflezrO27PfTO5svhKpEykifxujOG+m j73dqXxJJAwgW0= Original-Received: from neo.luffy.cx (152.10.203.62.dynamic.wline.res.cust.swisscom.ch [62.203.10.152]) by bart.luffy.cx (Postfix) with ESMTPS id 07AE614167 for ; Wed, 4 Feb 2015 22:11:04 +0100 (CET) Original-Received: by neo.luffy.cx (Postfix, from userid 500) id 7564DAD6; Wed, 4 Feb 2015 22:11:03 +0100 (CET) In-Reply-To: (Vincent Bernat's message of "Wed, 04 Feb 2015 21:48:27 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85719 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =E2=9D=A6 4 f=C3=A9vrier 2015 21:48 +0100, Vincent Bernat =C2=A0: >> Ah, the speedup-on-large-imap-move commit, I think...? >> http://thread.gmane.org/gmane.emacs.gnus.general/85440 > > Yes. > > Unfortunately, in my case, this is not fixed in today master. Before the > patch, M-g does: > > #v+ > 21:46:17 [] 106 SELECT "INBOX" > 21:46:17 [] 107 UID FETCH 1:* FLAGS > #v- > > > After the patch, it does: > > #v+ > 21:44:23 [] 9626 EXAMINE "INBOX" (QRESYNC (1402209543 15465)) > #v- > > What easy way do I have to restore M-g behaviour to issue a full > refresh? I am fixing that with this patch: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-nnimap-fix-group-scan-request.patch >From 025abeeebac0c196b8efa3aa538bcc69b7037374 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 4 Feb 2015 22:08:48 +0100 Subject: [PATCH] nnimap: fix group scan request `gnus-group-get-new-news-this-group' was not refreshing the group with the newly introduced `nnimap-request-group-scan' method due to two naming problems. --- lisp/gnus-int.el | 2 +- lisp/nnimap.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el index dd938ce07586..4e870bb84bb9 100644 --- a/lisp/gnus-int.el +++ b/lisp/gnus-int.el @@ -442,7 +442,7 @@ If it is down, start it up (again)." (defun gnus-request-group-scan (group info) "Request that GROUP get a complete rescan." (let ((gnus-command-method (gnus-find-method-for-group group)) - (func 'request-group-description)) + (func 'request-group-scan)) (when (gnus-check-backend-function func group) (funcall (gnus-get-function gnus-command-method func) (gnus-group-real-name group) (nth 1 gnus-command-method) info)))) diff --git a/lisp/nnimap.el b/lisp/nnimap.el index e619c0f13c29..cdbc2a68709b 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -820,7 +820,7 @@ textual parts.") group)) t)))) -(deffoo nnimap-request-scan-group (group &optional server info) +(deffoo nnimap-request-group-scan (group &optional server info) (setq group (nnimap-decode-gnus-group group)) (let (marks high low) (with-current-buffer (nnimap-buffer) -- 2.1.4 --=-=-= Content-Type: text/plain -- It is a wise father that knows his own child. -- William Shakespeare, "The Merchant of Venice" --=-=-=--