From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Emacs trunk and Gnus master are fully sync'd now Date: Tue, 09 Jul 2013 15:39:29 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87txk3tte6.fsf@lifelogs.com> References: <67um8rzju4ykdj.fsf@saturn.laptop> <87a9lz1zpj.fsf@building.gnus.org> <87ppuv4rs1.fsf@randomsample.de> <67um8robae33lb.fsf@saturn.laptop> <877gh24094.fsf@randomsample.de> <67um8ry59hnqe3.fsf@saturn.laptop> <8738ro52qr.fsf@randomsample.de> <67um8robackn33.fsf@saturn.laptop> <87k3kz692t.fsf@randomsample.de> <67um8rzjtvtx98.fsf@saturn.laptop> <874nc3o7ej.fsf@randomsample.de> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373398814 19190 80.91.229.3 (9 Jul 2013 19:40:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 19:40:14 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 09 21:40:13 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 1Uwdll-0001ur-BV for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2013 21:40:13 +0200 Original-Received: from localhost ([::1]:51856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwdlk-0003dK-TN for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2013 15:40:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwdlJ-0002tS-JB for emacs-devel@gnu.org; Tue, 09 Jul 2013 15:39:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwdlI-00062u-EE for emacs-devel@gnu.org; Tue, 09 Jul 2013 15:39:45 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwdlI-00061v-8H for emacs-devel@gnu.org; Tue, 09 Jul 2013 15:39:44 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UwdlG-0001Sv-8K for emacs-devel@gnu.org; Tue, 09 Jul 2013 21:39:42 +0200 Original-Received: from pool-72-70-84-160.bstnma.east.verizon.net ([72.70.84.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jul 2013 21:39:42 +0200 Original-Received: from tzz by pool-72-70-84-160.bstnma.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jul 2013 21:39:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-70-84-160.bstnma.east.verizon.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:+jabjdjfiej7Fc88dr+w4NGr4S4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:161787 gmane.emacs.gnus.general:83518 Archived-At: On Tue, 09 Jul 2013 21:33:24 +0200 David Engster wrote: DE> Giorgos Keramidas writes: >> So the unexist ranges *are* there. But as you said the information >> seems to be lost somewhere between the time `.newsrc.eld' loads and the >> time Gnus queries the imap server for group state. DE> Yes, and I found the problem. I could not reproduce this initially DE> because it only exists in Emacs trunk, not in Gnus git. After I switched DE> to Emacs trunk, I saw the same thing. DE> It's actually really simple: The problem is `gnus-clean-old-newsrc', DE> where 'unexist' marks will be removed when you upgrade from an older DE> Gnus version, probably because the format has changed. However, in Emacs DE> trunk, `gnus-newsrc-file-version' is "Gnus v5.13", which is always DE> considered *smaller* than "Ma Gnus v0.03", so it will always remove the DE> marks: DE> (when (or force DE> (< (gnus-continuum-version gnus-newsrc-file-version) DE> (gnus-continuum-version "Ma Gnus v0.03"))) DE> ;; Remove old `exist' marks from old nnimap groups. DE> So this has to be changed or maybe completely removed. I'm not sure; I DE> guess it *could* happen that someone running Ma Gnus v0.02 upgrades to DE> Gnus from Emacs 24.4. DE> Katsumi? Lars? Anybody? It seems safest to always remove old exist/unexist/whatever marks that can be recreated from the server if `gnus-newsrc-file-version' does not equal the current Gnus version. With a message saying why, and maybe a way to disable it selectively and trigger it explicitly. Worst case, some users have to download things twice... but the logic is much simpler regarding versions. Ted