From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58259 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap problem solved by removing .agentview and .overview Date: Mon, 16 Aug 2004 17:31:06 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <871xidtl04.fsf@mail.contactor.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092670334 28699 80.91.224.253 (16 Aug 2004 15:32:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2004 15:32:14 +0000 (UTC) Original-X-From: ding-owner+M6800@lists.math.uh.edu Mon Aug 16 17:31:54 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BwjSj-000087-00 for ; Mon, 16 Aug 2004 17:31:53 +0200 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 1BwjSI-0004DR-00; Mon, 16 Aug 2004 10:31:26 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BwjSB-0004DL-00 for ding@lists.math.uh.edu; Mon, 16 Aug 2004 10:31:19 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BwjSA-0008Cd-Ad for ding@lists.math.uh.edu; Mon, 16 Aug 2004 10:31:18 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 7F6673A0058 for ; Mon, 16 Aug 2004 10:31:16 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BwjS6-0007IR-00 for ; Mon, 16 Aug 2004 17:31:14 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Aug 2004 17:31:13 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Aug 2004 17:31:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 44 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:w49hK7DGnMh3PvCbhxqQa+xj86Y= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58259 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58259 "Steven E. Harris" writes: >> For flags, syncing ~/News/marks/ should suffice, if the marks stuff >> is working for nntp. > > Looking in some of the .marks files under my ~/[News]/marks directory, > I see that there is a "read" sexp with ranges that match .newsrc. So > perhaps .marks is /all/ I need to sync NNTP. > > Can anyone comment on how Gnus reconciles differences between the > .marks files and .newsrc[.eld]? Which ones will take precedence? .marks will take precedence, that was the reason for introducing the "marks" backend interface. I.e., to allow backends to override what Gnus knows about groups (from newsrc.eld). Nnimap uses this to tell Gnus about flag changes on the server. Later it was realized that nnml and nnfolder could benefit from the same interface, to allow synchronization of nnml/nnfolder's to carry flags with them. >> Can anyone comment on how Gnus reconciles differences between the >> .marks files and .newsrc[.eld]? Which ones will take precedence? > > Following up to myself, I just tried an experiment. I exited Gnus and > manually edited one of my .marks files to back off the read range by a > single message, leaving the corresponding entries in .newsrc and > .newsrc.eld untouched. Upon restarting Gnus, the Group and Summary > buffer reflected that I had not read the last article in the edited > group. > > So it does seem that if NNTP can be synced with the .marks files, and > IMAP groups don't need .newsrc.eld, then I can stop syncing .newsrc > and .newsrc.eld -- topic changes notwithstanding. Yup. > Are there any files that nnimap groups do need synced, or can they > recover /everything/ Gnus knows about them from the server? Some esoteric things aren't synced via the server. For example: bookmarks, group parameters (but use `gnus-parameters' instead), topics. I think we've eliminated all major values. To see what is stored in .newsrc.eld for a group, type `G E' on it. Anything there you don't see in .marks won't be synced.