From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38315 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: self-contained nnml Date: Sun, 26 Aug 2001 18:32:36 +0200 Message-ID: References: <87wv3tqd1q.fsf@raven.i.defaultvalue.org> <87lmk90z3w.fsf@raven.i.defaultvalue.org> <87y9o6rgah.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174198 21708 80.91.224.250 (21 Oct 2002 04:23:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:23:18 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 20817 invoked from network); 26 Aug 2001 16:32:55 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 26 Aug 2001 16:32:55 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.6/8.11.6) with ESMTP id f7QGX0h21378; Sun, 26 Aug 2001 18:33:00 +0200 Original-To: Rob Browning In-Reply-To: <87y9o6rgah.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Sun, 26 Aug 2001 10:29:10 -0500") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:38315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38315 Rob Browning writes: >> Remember that the active file is per server. I think nnml >> automatically regenerates active info for new groups though. > > Well, it doesn't seem to notice new directories. So just untarring > the directory isn't sufficient. I'm going to try ShengHuo's > suggestion of using "G m", but I'm not sure if that will work since if > I do "G m" before I untar the directory, I'll get an empty group with > an incorrect active listing, but if I do it after, "G m" might be > confused by the pre-existing directory. No, `G m' is fine. It's just a matter of making Gnus notice the new directory. > Actually, what would be more appropriate, and perhaps useful to > others, would be gnus-group-archive-group and gnus-group-restore-group > commands. Each one would prompt you for the destination, and the > group contents would be saved or restored as appropriate. The format > could be a compressed tarfile containing the messages and the > metadata. Having it happen automatically and without starting Gnus is easier, I think, and it also allows people to share marks in nnml/nnfolder's with each other. So the gnus-group-archive-group always happen, and the gnus-group-restore-group is `G m'.