Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Bruno Hertz" <spammer.go.home@gmail.com>
Subject: Re: Couple of newbie nnrss questions (expiry, marks, caching).
Date: Thu, 14 Apr 2005 18:16:48 +0200	[thread overview]
Message-ID: <m3d5sx49lb.fsf@caruso.quasi.local> (raw)
In-Reply-To: <yoiju0m95p22.fsf@linus003.dd.chalmers.se>

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

> "Bruno Hertz" <spammer.go.home@gmail.com> writes:
>
>> Of course I now wonder whether it is subject to the usual expiry
>> mechanism.
>
> Yes.
>
>> how do you keep that cache lean?
>
> I use
>
> (setq gnus-total-expirable-newsgroups "\\`nnrss:")
>
> (setq nnmail-expiry-wait 7)
> (setq nnmail-expiry-wait-function
>       (lambda (group)
>         (cond ((string-match "spam" group)      3)
>               ((string-match "\\`nnrss:" group) 60)
>               (t                                nnmail-expiry-wait))))
>

Very nice, especially the way you implemented different expiry wait
times (I think that's what kept confusing me, that although those vars
carry 'nnmail' in their names they still apply to other backends as
well).

Thanks very much for your pointers, Bruno.


      reply	other threads:[~2005-04-14 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12 17:26 Bruno Hertz
2005-04-14 15:57 ` Johan Bockgård
2005-04-14 16:16   ` Bruno Hertz [this message]

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=m3d5sx49lb.fsf@caruso.quasi.local \
    --to=spammer.go.home@gmail.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).