From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4285 Path: main.gmane.org!not-for-mail From: steve@miranova.com (Steven L. Baur) Newsgroups: gmane.emacs.gnus.general Subject: Re: Value for gnus-auto-expirable-newsgroups Date: 05 Dec 1995 18:01:40 -0800 Organization: Miranova Systems, Inc. Message-ID: References: <9512060031.AA23290@charney.cdc.noaa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.29) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035145053 29083 80.91.224.250 (20 Oct 2002 20:17:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:33 +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 TAA04400 for ; Tue, 5 Dec 1995 19:11:36 -0800 Original-Received: from maud.ifi.uio.no (0@maud.ifi.uio.no [129.240.74.2]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 6 Dec 1995 03:34:21 +0100 Original-Received: from miranova.com (steve@miranova.com [204.212.162.100]) by maud.ifi.uio.no ; Wed, 6 Dec 1995 03:01:25 +0100 Original-Received: (from steve@localhost) by miranova.com (8.6.11/8.6.9) id SAA03944; Tue, 5 Dec 1995 18:01:43 -0800 Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ In-Reply-To: mdb@cdc.noaa.gov's message of 05 Dec 1995 16:31:25 -0800 Original-Lines: 67 X-Mailer: September Gnus v0.18/XEmacs 19.13 Xref: main.gmane.org gmane.emacs.gnus.general:4285 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4285 >>>>> "mb" == Mark Borges writes: >>>>> "M" == Manoj Srivastava writes: M> Hi, Now that we know that nnmail-expiry-wait-function should M> not contain the method ("other" rather than "nnml:other"), does mb> Do we? I thought it didn't matter: >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> mdb@cdc.noaa.gov (Mark Borges) writes: >>> It doesn't seem to matter -- it appears to work fine with the >>> method left in. Should it? Lars? Lars> No, it shouldn't. mb> I took that as "it shouldn't matter". I don't want to split grammatical hairs, let's look at the source. (The expiration selection code in sgnus v0.18 is unchanged from Gnus 5.0.12.) As I read the code, all article expiration is done through the function gnus-request-expire-articles, which selects the appropriate backend expiration function, *and* calls gnus-group-real-name on the newsgroup parameter. Therefore, if your expiry-wait function is getting the newsgroup with the method left in, that's a bug. [ These are cut & pasted from 5.0.12] [ This function gets group with the method still attached, as returned by gnus-group-group-name. ] (defun gnus-request-expire-articles (articles group &optional force) (let ((method (gnus-find-method-for-group group))) (funcall (gnus-get-function method 'request-expire-articles) articles (gnus-group-real-name group) (nth 1 method) force))) (defun gnus-group-real-name (group) "Find the real name of a foreign newsgroup." (if (string-match ":[^:]+$" group) (substring group (1+ (match-beginning 0))) group)) M> it make sense to have gnus-auto-expirable-newsgroups set to M> "^nnml:"? mb> That works for me, though I have "nnml:" in my wait function mb> as well. Are you sure your wait function really works, or is everything expiring after the (same) default amount of time? I match explicitly on group name sans method in my expiry-wait-function, and I've verified that expiration does occur based on the value returned by it. Regards, -- steve@miranova.com baur