From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83495 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Emacs trunk and Gnus master are fully sync'd now Date: Sun, 07 Jul 2013 21:51:19 +0200 Message-ID: <877gh24094.fsf@randomsample.de> References: <67um8rzju4ykdj.fsf@saturn.laptop> <87a9lz1zpj.fsf@building.gnus.org> <87ppuv4rs1.fsf@randomsample.de> <67um8robae33lb.fsf@saturn.laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1373226701 15641 80.91.229.3 (7 Jul 2013 19:51:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jul 2013 19:51:41 +0000 (UTC) Cc: Lars Ingebrigtsen , Katsumi Yamaoka , ding@gnus.org, emacs-devel@gnu.org To: keramida@ceid.upatras.gr (Giorgos Keramidas) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 07 21:51:37 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uvuzg-00007q-Rx for ged-emacs-devel@m.gmane.org; Sun, 07 Jul 2013 21:51:36 +0200 Original-Received: from localhost ([::1]:45356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvuzg-0001ji-HQ for ged-emacs-devel@m.gmane.org; Sun, 07 Jul 2013 15:51:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvuzb-0001ib-Qd for emacs-devel@gnu.org; Sun, 07 Jul 2013 15:51:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uvuza-00040y-Qe for emacs-devel@gnu.org; Sun, 07 Jul 2013 15:51:31 -0400 Original-Received: from randomsample.de ([83.169.19.17]:33208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvuza-00040S-Cu for emacs-devel@gnu.org; Sun, 07 Jul 2013 15:51:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=RF/qR/NtHuvleDnHYHDH1iU8nrAhqJxB2dFLlBJesy4=; b=dnLVSl/MZy/C297eYhQ7KWJxI8N8vXNfjl4qbZkdf/FctfsiBSJRQRv6St+Qd8LTJxOP0P1kWYKT+nJ7/AfL1B2UKGZmWFH2HAcTRzyEPQgwfOx+tu9Hr1n4OBeU81OO; Original-Received: from dslc-082-083-035-032.pools.arcor-ip.net ([82.83.35.32] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UvuzR-0001tC-0D; Sun, 07 Jul 2013 21:51:21 +0200 In-Reply-To: <67um8robae33lb.fsf@saturn.laptop> (Giorgos Keramidas's message of "Sun, 07 Jul 2013 15:24:32 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: keramida@ceid.upatras.gr (Giorgos Keramidas), Lars Ingebrigtsen , Katsumi Yamaoka , ding@gnus.org, emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161710 gmane.emacs.gnus.general:83495 Archived-At: --=-=-= Content-Type: text/plain Giorgos Keramidas writes: > On Sat, 06 Jul 2013 17:44:30 +0200, David Engster wrote: >> AFAICS in `nnimap-retrieve-group-data-early', the resync should only >> happen when there's either no 'active', 'unexist', or >> 'uidvalidity'. Perhaps the first step should be to install some verbose >> messaging which says which of those triggers the resync. > > I can try that. Thanks for the pointer. You can apply the attached patch against current Emacs trunk to see in the *Messages* buffer why a group is triggered for resync. -David --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=gnus-message.patch === modified file 'lisp/gnus/nnimap.el' --- lisp/gnus/nnimap.el 2013-07-02 10:38:58 +0000 +++ lisp/gnus/nnimap.el 2013-07-07 19:48:50 +0000 @@ -1326,6 +1326,12 @@ (if (and active uidvalidity unexist) ;; Fetch the last 100 flags. (setq start (max 1 (- (cdr active) 100))) + (message + (concat "Initial sync: Group " group + ". Reason: " + (when (not active) "active ") + (when (not uidvalidity) "uidvalidity ") + (when (not unexist) "unexist "))) (incf (nnimap-initial-resync nnimap-object)) (setq start 1)) (push (list (nnimap-send-command "%s %S" command --=-=-=--