From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4261 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:35:21 -0700 Organization: CIRES, University of Colorado Message-ID: <9512042235.AA14007@charney.cdc.noaa.gov> References: <9512042022.AA12047@charney.cdc.noaa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145033 29040 80.91.224.250 (20 Oct 2002 20:17:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:13 +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 PAA28384 for ; Mon, 4 Dec 1995 15:14:58 -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:35:28 +0100 Original-Received: from charney by cdc.noaa.gov (5.0/SMI-SVR4) id AA18838; Mon, 4 Dec 1995 15:35:19 -0700 Original-Received: by charney (5.0) id AA14007; Mon, 4 Dec 1995 15:35:21 -0700 Original-To: ding@ifi.uio.no In-Reply-To: steve@miranova.com's message of 04 Dec 1995 13:29:45 -0800 X-Attribution: mb Xref: main.gmane.org gmane.emacs.gnus.general:4261 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4261 >> On 04 Dec 1995 13:29:45 -0800, >> Steven L Baur(sb) wrote: sb> nnmail-expiry-wait-function is called with a newsgroup name sans method. sb> (setq nnmail-expiry-wait-function (lambda (group) sb> (cond sb> ((string= "nnml:lists.zsh" group) sb> 30) sb> Replace the comparison with: sb> ((string= "lists.zsh" group) sb> and you'll be O.K. The example in the manual shows something like sb> this without commentary, perhaps it should say something explicit. It doesn't seem to matter -- it appears to work fine with the method left in. Should it? Lars? sb> In order for expiration to occur, you must manually set the expired sb> mark with the ``E'' command in the *Summary* buffer. Hmm, after Robert's mail prompted me to set the variable `g-a-e-n', I get the `E' mark automatically set now after I read the article if I set it thusly, ------------------------------------------------------------------------------ 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. ------------------------------------------------------------------------------ (BTW, do I need another (or less) backwhack? I'm trying to match the string nnml:lists.*, where `.' and `.' are literal.) But note that it is not "retro-active", in that I have to expose all the old articles and read or mark them to expire them. Anyway, thanks for the help. -mb-