From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34365 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: periodic archiving of groups? Date: 22 Jan 2001 13:03:39 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nu26w755m.fsf@tiger.jia.vnet> <87ofx4yz2y.fsf@wesley.springies.com> <87bst4yykq.fsf@wesley.springies.com> <03k87rbzxq.fsf@colargol.tihlde.hist.no> <878zo3tmii.fsf@raven.localnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170305 30049 80.91.224.250 (21 Oct 2002 03:18:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:18:25 +0000 (UTC) Cc: Oystein Viggen , ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 90AC5D049D for ; Mon, 22 Jan 2001 16:32:16 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id PAC08448; Mon, 22 Jan 2001 15:31:47 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Jan 2001 15:31:05 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA11865 for ; Mon, 22 Jan 2001 15:30:54 -0600 (CST) Original-Received: from freedom.LABridge.com (home.LABridge.com [206.117.169.5]) by mailhost.sclp.com (Postfix) with ESMTP id 184F6D049D for ; Mon, 22 Jan 2001 16:31:17 -0500 (EST) Original-Received: from reader.local.lan (DSL02-049.LABridge.com [206.117.4.49]) by freedom.LABridge.com (8.8.8/8.8.8) with ESMTP id NAA03814; Mon, 22 Jan 2001 13:33:18 -0800 Original-Received: (from reader@localhost) by reader.local.lan (8.11.0/8.11.0) id f0MLV7A03043; Mon, 22 Jan 2001 13:31:07 -0800 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f Original-To: Rob Browning In-Reply-To: Rob Browning's message of "22 Jan 2001 13:28:05 -0600" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 31 Xref: main.gmane.org gmane.emacs.gnus.general:34365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34365 Rob Browning writes: > I wouldn't mind having to do this manually, though it'd be really nice > to have an automated way to handle it. > > I might be interested in writing the elisp for this if someone could > get me pointed in the right direction (I'd want to base the splitting > on the actual message date, not the article numbers...) The elisp for most of it is already written. You seem to be talking of nnml groups here (judging from previous post). You can do this by writing a separtate set of split rules and keeping them in a separate file. When you want to do this archiving you would load that file which would override the split in .gnus. Then enter the subject group with C-u mark all but the last mnths messages by using the limit `/ t' features then respool them according to your newly loaded rules. The new rules will look like: (setq nnmail-split-methods '(("SOMEGROUP_FEB-00" "^Date:.*Feb.*2000") ("SOMEGROUP_MAR-00" "^Date:.*Mar.*2000") etc etc When done have gnus reread ~/.gnus or restart, to reload the original split urules then back to business as usual. You'll probably need to run `nnml-generate-nov-databases' since some groups will have been severely truncated. etc etc