From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4262 Path: main.gmane.org!not-for-mail From: mdb@cdc.noaa.gov (Mark Borges) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-expiry-wait-function: broke, or how-to? Date: Mon, 4 Dec 1995 15:43:38 -0700 Organization: CIRES, University of Colorado Message-ID: <9512042243.AA14129@charney.cdc.noaa.gov> References: <9512042022.AA12047@charney.cdc.noaa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145034 29049 80.91.224.250 (20 Oct 2002 20:17:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:14 +0000 (UTC) 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 PAA28540 for ; Mon, 4 Dec 1995 15:32:54 -0800 Original-Received: from cdc.noaa.gov (lorenz.Colorado.EDU [128.138.218.1]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 4 Dec 1995 23:43:43 +0100 Original-Received: from charney by cdc.noaa.gov (5.0/SMI-SVR4) id AA18937; Mon, 4 Dec 1995 15:43:38 -0700 Original-Received: by charney (5.0) id AA14129; Mon, 4 Dec 1995 15:43:38 -0700 Original-To: ding@ifi.uio.no In-Reply-To: pluim@xylint.co.uk's message of 04 Dec 1995 22:09:00 +0000 X-Attribution: mb Xref: main.gmane.org gmane.emacs.gnus.general:4262 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4262 >> On 04 Dec 1995 22:09:00 +0000, >> Robert Pluim(rp) wrote: >>>>>> "Mark" == Mark Borges writes: rp> [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?). rp> Are you explicitly marking the articles for expiry in the *Summary* rp> buffer by using 'E' ? No, I was trying to avoid that and have Gnus do it (it does, as you state below!) rp> (BTW ticked articles will be excluded, if by ticked you mean rp> marked using 'U') Yes. Good, that's what I was hoping. 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. rp> You don't mention which version of ding you're using, but here goes rp> anyway. The latest (I think) -- Gnus-5.0.12. Or is there a Gnus-5.1 for XEmacs (not Emacs-19.30) now? rp> You need to set gnus-auto-expirable-newsgroups to be a regexp which rp> matches the groups in which gnus will automatically *mark* articles rp> for expiry (note this is not the same as expiring them). You can then rp> expire articles in the group by using 'B e', or adding a hook, rp> probably to gnus-summary-prepare-exit-hook. (this is done by default rp> in some versions of ding) Yep, this variable ------------------------------------------------------------------------------ gnus-auto-expirable-newsgroups's value is "nnml:lists\\.*" Documentation: *Groups in which to automatically mark read articles as expirable. If non-nil, this should be a regexp that should match all groups in which to perform auto-expiry. This only makes sense for mail groups. ------------------------------------------------------------------------------ was the trick. And it's on the g-s-p-e-h hook by default in my copy of Gnus. rp> Hope this helps. Yes, it did -- your reply was clear, helpful and right on. Thanks again. -mb-