From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24108 Path: main.gmane.org!not-for-mail From: Andrew Hobson Newsgroups: gmane.emacs.gnus.general Subject: Re: mail archival idea/feature request Date: 09 Jul 1999 17:39:56 -0400 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 1035161732 6952 80.91.224.250 (21 Oct 2002 00:55:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:55:32 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA29366 for ; Fri, 9 Jul 1999 17:43:42 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB24149; Fri, 9 Jul 1999 16:40:19 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Jul 1999 16:41:09 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA17968 for ; Fri, 9 Jul 1999 16:41:00 -0500 (CDT) Original-Received: from gamma.eng.mindspring.net (gamma.eng.mindspring.net [207.69.192.36]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA29269 for ; Fri, 9 Jul 1999 17:39:56 -0400 (EDT) Original-Received: (from ahobson@localhost) by gamma.eng.mindspring.net (8.9.3/8.9.3) id RAA10709; Fri, 9 Jul 1999 17:39:56 -0400 (EDT) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "09 Jul 1999 23:04:33 +0200" Original-Lines: 22 User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/21.2(beta14) (Dionysos) X-Face: (e_H,)"'M4u!E!3"|XVHJ=[/_.:z73Z^oGf")[Payuf said: > There is no overall functionality for moving articles instead of > deleting them upon expiry, but for nnml you can alter > nnmail-delete-file-function, and for nnfolder you can do stuff in > nnfolder-delete-mail-hook. Archival expiry functionality could be > added, but what should it look like? Because I might not want to archive mail that I explicitly deleted (but then again I might), I was thinking of adding something similar to gnus-decay-score-function for expiry time and delete time. It would be nice if all information known about the article was passed to the function, such as which group it was in and the path to the file. And like write-file-hooks, if the function returned non-nil, the file is considered already deleted. What do you think? Drew -- "Baby, will you eat that there snack cracker in your special outfit for me, please?"