From: steve@miranova.com (Steven L. Baur)
Subject: Re: Value for gnus-auto-expirable-newsgroups
Date: 05 Dec 1995 18:01:40 -0800 [thread overview]
Message-ID: <m2rayjne63.fsf@diana.miranova.com> (raw)
In-Reply-To: mdb@cdc.noaa.gov's message of 05 Dec 1995 16:31:25 -0800
>>>>> "mb" == Mark Borges <mdb@cdc.noaa.gov> writes:
>>>>> "M" == Manoj Srivastava <srivasta@pilgrim.umass.edu> 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 <larsi@ifi.uio.no> 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
next prev parent reply other threads:[~1995-12-06 2:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gvx3fazxh3s.fsf@belthil.pilgrim.umass.edu>
1995-12-05 23:28 ` Thomas Neumann
1995-12-06 0:31 ` Manoj Srivastava
1995-12-06 0:31 ` Mark Borges
1995-12-06 2:01 ` Steven L. Baur [this message]
1995-12-06 5:05 ` Lars Magne Ingebrigtsen
1995-12-06 5:05 ` Lars Magne Ingebrigtsen
2002-10-20 20:17 Unknown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2rayjne63.fsf@diana.miranova.com \
--to=steve@miranova.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).