From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40777 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: archiving old mail Date: Sat, 08 Dec 2001 14:24:00 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176274 2687 80.91.224.250 (21 Oct 2002 04:57:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:57:54 +0000 (UTC) Cc: Gnus Return-Path: Original-Received: (qmail 28021 invoked from network); 8 Dec 2001 13:26:31 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Dec 2001 13:26:31 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16ChU2-0007n0-00; Sat, 08 Dec 2001 07:25:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Dec 2001 07:25:25 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA19866 for ; Sat, 8 Dec 2001 07:25:12 -0600 (CST) Original-Received: (qmail 28007 invoked by alias); 8 Dec 2001 13:25:09 -0000 Original-Received: (qmail 28002 invoked from network); 8 Dec 2001 13:25:09 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 8 Dec 2001 13:25:09 -0000 Original-Received: from dhcp128.extundo.com (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id fB8DPBsX003773; Sat, 8 Dec 2001 14:25:11 +0100 Original-To: Nicolas Kowalski In-Reply-To: (Nicolas Kowalski's message of "Sat, 08 Dec 2001 12:11:36 +0100") X-Now-Smoking: Bolivar No 2 Mail-Copies-To: nobody Original-Lines: 23 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40777 Nicolas Kowalski writes: >> Perhaps the following works? >> >> (expiry-target . my-expiry-target-function) >> >> (defun my-expiry-target-function (group) >> "Return the archive group filename" >> (concat "archive." group "." >> (format-time-string "%Y.%m" >> (safe-date-to-time >> (message-fetch-field "Date"))))) > > > Unfortunately no. I just tried with a big group. The expiry process > takes much more time, but no archive group is created. > > Hmm, this is perhaps the trick : the archive group should exist before > the expiration process begins. What is the function for this ? C-h k for `G m' in the group buffer says `gnus-group-make-group', perhaps you can use the function directly, or you can look in that function to see what you have to do.