From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52726 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: which gnus files used to hold gnus state? (for manual) Date: Fri, 16 May 2003 16:43:20 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <84d6iin27t.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053121334 11553 80.91.224.249 (16 May 2003 21:42:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 21:42:14 +0000 (UTC) Original-X-From: ding-owner+M1270@lists.math.uh.edu Fri May 16 23:42:12 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Gmxv-000304-00 for ; Fri, 16 May 2003 23:42:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19GmzF-0002td-00; Fri, 16 May 2003 16:43:33 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Gmz5-0002tV-00 for ding@lists.math.uh.edu; Fri, 16 May 2003 16:43:23 -0500 Original-Received: (qmail 57878 invoked by alias); 16 May 2003 21:43:23 -0000 Original-Received: (qmail 57873 invoked from network); 16 May 2003 21:43:23 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 16 May 2003 21:43:23 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19Gn5v-000103-00 for ; Fri, 16 May 2003 23:50:27 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 62 Original-NNTP-Posting-Host: 216.12.206.210 Original-X-Trace: quimby.gnus.org 1053121827 3845 216.12.206.210 (16 May 2003 21:50:27 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 16 May 2003 21:50:27 GMT User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:JQ548/SXb2EycFxN5OXyKCB6J4k= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52726 kai.grossjohann@gmx.net (Kai Großjohann) writes: > John Owens writes: > >> I'd like to get a list of the files used to hold gnus state. This is >> for potential inclusion in the manual (after discussion with Lars) >> and would be important for users who are interested in synching the >> gnus state of two machines (say, a laptop and a desktop). > snip... > > Now, for the agent. There is a subdir ~/News/agent/lib which > contains the categories and the servers files. Further subdirs are > for servers/groups. (Presumably the exact directory layout depends > on some *-use-long-file-name(s) variable.) A directory for a server > contains a subdir agent.lib with the file agent.lib/active. All > other subdirs are groups (in foo.bar or foo/bar format). Each group > contains a file .agentview and a file .overview and the messages. > > What does .agentview contain? --> Anyone? The .agentview contains per-article timestamps that are used by the agent's expiration mechanism. The .overview file contains the article headers. >> The overall goal would be to know exactly what files to sync if I want >> to mirror my gnus setup on computer B from computer A. Hopefully in >> the next generation of gnus there will be a list of state-containing >> files and an automated way to sync them (gnus-sync-state-files with a >> configurable sync command like "rsync -e ssh ..."). This could be >> useful for users who use a laptop and want to sync before going on >> the road. > > Nifty. > snip ... > So, it boils down to this: if you transfer .newsrc.eld, you got to > transfer the whole hog. If you abstain from .newsrc.eld, then you > can do the some-groups trick alluded to for nnml and nnfolder (and > probably nnmaildir). But your seen marks are in .newsrc.eld. If you don't include it, how will you know which articles have been read? > Stuff from cache and agent aren't mentioned in .newsrc.eld, so there > is no problem. There's no problem so long as the two machines are sharing the same servers. The article files in both the agent and the cache are named after the article number. You'll get garbage if you try to use these files with any server except the one from which they were fetched (I realize that this isn't what you proposed. I just want to make sure that anyone reading this understands). > Above, when I say .newsrc.eld, I always also mean .newsrc. Kevin