From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52724 Path: main.gmane.org!not-for-mail From: Andreas Fuchs Newsgroups: gmane.emacs.gnus.general Subject: Re: which gnus files used to hold gnus state? (for manual) Date: Fri, 16 May 2003 20:50:08 +0000 (UTC) Sender: ding-owner@lists.math.uh.edu Message-ID: <87u1buobrt.fsf@eris.void.at> 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 1053118351 31847 80.91.224.249 (16 May 2003 20:52:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 20:52:31 +0000 (UTC) Original-X-From: ding-owner+M1268@lists.math.uh.edu Fri May 16 22:52:28 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 19GmBn-0008HU-00 for ; Fri, 16 May 2003 22:52:28 +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 19GmCY-0002WZ-00; Fri, 16 May 2003 15:53:14 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19GmCT-0002WU-00 for ding@lists.math.uh.edu; Fri, 16 May 2003 15:53:09 -0500 Original-Received: (qmail 55178 invoked by alias); 16 May 2003 20:53:08 -0000 Original-Received: (qmail 55173 invoked from network); 16 May 2003 20:53:08 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 16 May 2003 20:53:08 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Gm9w-000893-00 for ; Fri, 16 May 2003 22:50:32 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Gm9Y-00087v-00 for ; Fri, 16 May 2003 22:50:08 +0200 Original-Lines: 63 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never X-Url: http://asf.void.at/ X-Attribution: asf X-Face: 3*3w/y?I6|`'CYW7F~m0]U1)L\|[x"?/V6^;s3FU#q|F'AL(3C?$eslHvAmR:KjT"&LZeqM 0wMS%HM` Cancel-Lock: sha1:gkep6yqWkDGaXzDl4Ab6eXtPftE= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52724 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52724 Today, Kai Großjohann wrote: > Then we have ~/.gnus-mail-crashbox or similar (forget the exact name) > which plays a role similar to the ~/Mail/Incoming* files, but I don't > know details. Any experts out there who can help? Not an expert, but had sufficient exposure to ~/.emacs-crash-box to be able to comment on it. It's a file in which a mail or mailbox gets saved which makes gnus wet its pants - e.g. sometimes procmail, delivering to a maildir would open a file, write "F" to it (for "From ..."), and at the same time, gnus would open the file and try to rip it out from under procmail's feet. Now, you have two parts: one ~/.emacs-crash-box with "F" in it, and if you delete it, you get another with the rest of the mail, starting with "rom ...". Happened to me all the time until I switched to gnus-centric splitting via bbdb and split-fancy (-: > Now let's talk about the ~/News directory. It contains a number of > files and subdirs, some related to news, some related to mail. It's > rather confusing, I'm afraid. Right. it is. Seems to be artifacts from older days of gnusing. > The cache is the older part of Gnus. The cache is meant to be used > manually by the user while browsing: the user hits some key and the > article is entered into the cache. This means that the article will > stay around even after the server has expired it. So, normally, the > cache is only useful for nntp, and perhaps nnimap. But of course you > can count on creative abuses of the cache even for nnml and its ilk > ;-) The cache has always struck me as a very strange facility. Why would I want an article around after I have read it (and not marked it as ticked or dormant) anyway? >> 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. > > > If you want to replicate the cache, replicate ~/News/cache. Similar > for the agent. And for mail, replicate ~/Mail. If I might suggest here the use (but first, implementation for gnus) of RMS, the Robust Mail Store. It seemed like a great idea when I first read the paper. Maybe you can snarf some ideas from it, too. http://www.informatik.uni-freiburg.de/~thiemann/papers/mailstore.pdf > But in these cases, you also have the active file problem. Hm. See the URL for a possibly complete solution to that problem. HTH, -- Andreas Fuchs, , asf@jabber.at, antifuchs irc.freenode.net's #emacs - online emacs advice from IRC addicts