From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29851 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Expire by moving Date: 20 Apr 2000 13:23:45 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87pus9rab1.fsf@tea.thpoon.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166454 5083 80.91.224.250 (21 Oct 2002 02:14:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:14:14 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 53770D051E for ; Thu, 20 Apr 2000 07:24:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAB17321; Thu, 20 Apr 2000 06:24:36 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 Apr 2000 06:23:51 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA05311 for ; Thu, 20 Apr 2000 06:23:40 -0500 (CDT) Original-Received: from mraz.iskon.hr (mraz.iskon.hr [195.29.170.8]) by mailhost.sclp.com (Postfix) with ESMTP id 42FD6D051E for ; Thu, 20 Apr 2000 07:23:53 -0400 (EDT) Original-Received: (from hniksic@localhost) by mraz.iskon.hr (8.9.3/8.9.3/Debian 8.9.3-21) id NAA15854; Thu, 20 Apr 2000 13:23:45 +0200 X-Authentication-Warning: mraz.iskon.hr: hniksic set sender to hniksic@iskon.hr using -f Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Hrvoje Niksic writes: > > > > So I thought that it would be nice if gnus had a feature to expire > > > messages not by /deleting/ them, but by /moving/ them to some > > > arbitrary group. > > > > That would rule. When we were in Japan, Lars agreed that it would be > > totally cool, and said he'd implement it. > > > > Laaaaaaaaaaaaaaaaaaaaaars! > > Er, so I did. > > So, how should this be specified? Moved to which group, etc? The existing `expire' stuff should remain untouched (types, periods, etc.), all one should need to add is some sort of "target" of the expiration. The default expire-target target is simply `delete', while I can imagine this addition would add a `move' target (`copy' wouldn't make much sense). For instance, you could use this as group parameters for a "private" group where private mail lands: ((total-expire . t) (expiry-wait . 28) ; keep a month old mails around (expiry-target . "nnfolder:really-old-private")) The expiry-target parameter could also be a form that specifies the group dynamically, so you can do the file-per-month trick described under archive section.