Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: Gnus <ding@gnus.org>
Subject: Re: archiving old mail
Date: Sat, 08 Dec 2001 14:24:00 +0100	[thread overview]
Message-ID: <iluitbhyhe7.fsf@dhcp128.extundo.com> (raw)
In-Reply-To: <vqozo4u55lj.fsf@anie.imag.fr> (Nicolas Kowalski's message of "Sat, 08 Dec 2001 12:11:36 +0100")

Nicolas Kowalski <Nicolas.Kowalski@imag.fr> 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.




  reply	other threads:[~2001-12-08 13:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 15:43 Nicolas Kowalski
2001-12-07 15:51 ` Karl Kleinpaste
2001-12-07 16:42   ` Simon Josefsson
2001-12-07 17:23     ` Nicolas Kowalski
2001-12-07 19:16       ` Simon Josefsson
2001-12-08 11:11         ` Nicolas Kowalski
2001-12-08 13:24           ` Simon Josefsson [this message]
2001-12-08 16:49 ` Nevin Kapur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluitbhyhe7.fsf@dhcp128.extundo.com \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).