Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Couple of newbie nnrss questions (expiry, marks, caching).
@ 2005-04-12 17:26 Bruno Hertz
  2005-04-14 15:57 ` Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Bruno Hertz @ 2005-04-12 17:26 UTC (permalink / raw)



Hi

being very pleased with my initial nnrss experiences, there's a couple
of questions I hope one or the other of you can enlighten me on:

*  apparently, nnrss keeps it's own cache of 'articles' in News/rss .
   Of course I now wonder whether it is subject to the usual expiry
   mechanism. Especially, if articles are not expired, how do you keep
   that cache lean?

*  so, even if expiry works the same like on news or mail groups, do
   marks work the same as well? More specifically, are dormant
   resp. ticked articles not subject to expiry?

Would be great if things really worked that way, i.e. the standard
expiry  mechanism applies but does not delete dormant/ticked articles
...

Thanks very much, Bruno.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Couple of newbie nnrss questions (expiry, marks, caching).
  2005-04-12 17:26 Couple of newbie nnrss questions (expiry, marks, caching) Bruno Hertz
@ 2005-04-14 15:57 ` Johan Bockgård
  2005-04-14 16:16   ` Bruno Hertz
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2005-04-14 15:57 UTC (permalink / raw)


"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))))

-- 
Johan Bockgård


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Couple of newbie nnrss questions (expiry, marks, caching).
  2005-04-14 15:57 ` Johan Bockgård
@ 2005-04-14 16:16   ` Bruno Hertz
  0 siblings, 0 replies; 3+ messages in thread
From: Bruno Hertz @ 2005-04-14 16:16 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-14 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 17:26 Couple of newbie nnrss questions (expiry, marks, caching) Bruno Hertz
2005-04-14 15:57 ` Johan Bockgård
2005-04-14 16:16   ` Bruno Hertz

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).