From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4915 Path: news.gmane.org!not-for-mail From: "Bruno Hertz" Newsgroups: gmane.emacs.gnus.user Subject: Re: Couple of newbie nnrss questions (expiry, marks, caching). Date: Thu, 14 Apr 2005 18:16:48 +0200 Organization: Cablecom Newsserver Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138670767 25388 80.91.229.2 (31 Jan 2006 01:26:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:26:07 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:30 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambrium.nl!feed.tweaknews.nl!newsfeed.utanet.at!newsfeed.inode.at!news.hispeed.ch!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 80-218-17-54.dclient.hispeed.ch Original-X-Trace: news.hispeed.ch 1113495408 22222 80.218.17.54 (14 Apr 2005 16:16:48 GMT) Original-X-Complaints-To: news@hispeed.ch Original-NNTP-Posting-Date: Thu, 14 Apr 2005 16:16:48 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:9HGNF2fFwiqc9oHExXyxUKU3g0Y= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5056 Original-Lines: 29 X-Gnus-Article-Number: 5056 Tue Jan 17 17:34:30 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4915 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > "Bruno Hertz" 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.