From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4260 Path: main.gmane.org!not-for-mail From: pluim@xylint.co.uk (Robert Pluim) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-expiry-wait-function: broke, or how-to? Date: 04 Dec 1995 22:09:00 +0000 Organization: Xylogics International Sender: pluim@xylint.co.uk Message-ID: References: <9512042022.AA12047@charney.cdc.noaa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145032 29029 80.91.224.250 (20 Oct 2002 20:17:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:12 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id OAA28084 for ; Mon, 4 Dec 1995 14:50:25 -0800 Original-Received: from xylint.co.uk (basil.xylint.co.uk [192.190.242.17]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 4 Dec 1995 23:11:55 +0100 Original-Received: by xylint.co.uk (5.x/SMI-SVR4) id AA10494; Mon, 4 Dec 1995 22:09:01 GMT Original-To: mdb@cdc.noaa.gov (Mark Borges) In-Reply-To: mdb@cdc.noaa.gov's message of Mon, 4 Dec 1995 13:22:56 -0700 Original-Lines: 40 Xref: main.gmane.org gmane.emacs.gnus.general:4260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4260 >>>>> "Mark" == Mark Borges writes: [correct setting of nnmail-expiry-wait-function deleted] Mark> But articles in my nnml mail folders are not being expired, Mark> e.g., I still have an (unticked) article dated 13 Nov in my Mark> lists.fvwm mail group, well beyond the 10 days I want to Mark> keep it. (BTW, will ticked articles be excluded from the Mark> expiry process?). Are you explicitly marking the articles for expiry in the *Summary* buffer by using 'E' ? (BTW ticked articles will be excluded, if by ticked you mean marked using 'U') Mark> So either (a) I'm misunderstanding how this works, or (b) Mark> it's broke. But it can't possibly be (b), so it must be Mark> (a). It's (a), I think. Mark> Must I put gnus-group-expire-articles() on a hook function? Mark> If so, any suggestions on which one? Ideally, I'd like Gnus Mark> to assume auto-expiry of the groups I've gone to the trouble Mark> of listing in nnmail-expiry-wait-function, but I can do Mark> anything; I just need a bit more info. You don't mention which version of ding you're using, but here goes anyway. You need to set gnus-auto-expirable-newsgroups to be a regexp which matches the groups in which gnus will automatically *mark* articles for expiry (note this is not the same as expiring them). You can then expire articles in the group by using 'B e', or adding a hook, probably to gnus-summary-prepare-exit-hook. (this is done by default in some versions of ding) See also the documentation for gnus-summary-prepare-exit-hook. Hope this helps. Robert