From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58841 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: [Q]: Agent expiration and fetching Date: Wed, 13 Oct 2004 07:58:45 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097668804 5277 80.91.229.6 (13 Oct 2004 12:00:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 12:00:04 +0000 (UTC) Original-X-From: ding-owner+M7378@lists.math.uh.edu Wed Oct 13 13:59:50 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHhnK-0000oV-00 for ; Wed, 13 Oct 2004 13:59:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CHhmW-0008MZ-00; Wed, 13 Oct 2004 06:59:00 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CHhmN-0008MR-00 for ding@lists.math.uh.edu; Wed, 13 Oct 2004 06:58:51 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CHhmL-0004cU-NA for ding@lists.math.uh.edu; Wed, 13 Oct 2004 06:58:49 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id EB6E83A0064 for ; Wed, 13 Oct 2004 06:58:48 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CHhmJ-0002m8-00 for ; Wed, 13 Oct 2004 13:58:47 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 90 Original-NNTP-Posting-Host: h-68-167-144-165.mclnva23.covad.net Original-X-Trace: quimby.gnus.org 1097668727 10253 68.167.144.165 (13 Oct 2004 11:58:47 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 13 Oct 2004 11:58:47 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:FTRcnq1RWBqfcDvMOcgxa3ixSJQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58841 Xavier Maillard writes: > On 13 oct 2004, Kevin Greiner wrote: > >> Xavier Maillard writes: >> >> > Hello, >> > >> > I want to ask something which tends to make me crazy. >> > >> > I set the gnus-agent-expiration to enabled. It expires >> > correctly but I sometimes, when 'J s'ing got old messages >> > just downloaded again. >> > >> > How can I prevent this from happening ? >> >> Set gnus-agent-consider-all-articles to nil. > > Hmm: > > ,----[ C-h v gnus-agent-consider-all-articles RET ] > | gnus-agent-consider-all-articles's value is nil > | > | [back] > `---- Now that is unfortunate. You'll have to debug to figure this one out. The critical function is gnus-agent-fetch-headers. The only problem is that with gnus-agent-consider-all-articles set to nil, the only articles being fetched by the agent are unread articles. That would seem to exclude your old articles so... >> > Subsidiary question: how can I cache all articles >> > automatically ? >> >> The cache and the agent are redundant in that both create >> independent local copies of your articles. Are you sure that >> you want to do this? > > Well, the goal is not to have redundant stuff but, as I > experiment things, I would like to be sure I do not loose > anything. > > So the main idea, for instance, is to enter *ALL* unread/unseen > articles into the cache even if I already have fetched them in > the agent. > > I tried this: > > ,----[ C-h v gnus-cache-enter-articles RET ] > | gnus-cache-enter-articles's value is > | (ticked dormant unread unseen) > | > | > | Classes of articles to enter into the cache. > | > | You can customize this variable. > | > | Defined in `gnus-cache'. > | > | [back] > `---- > > But that doesn't work. > > Oh, and yes, I remove articles when read or expired from the > cache off course :/ > > What is wrong with this ? Looking at the code, gnus-use-cache must be active (t). The default 'passive will simply not do. The cacheable filter, gnus-cacheable-groups, must also be either set to null or a regexp matching your group. >> > And last, what is best to use: ticked/dormant articles or >> > cached ? (given the fact I have almost all agentized). >> >> Personally, I either set a group to never expire from the agent >> (in which case I never cache those articles) or I expire after >> a short time but use the cache for long term storage. Which I >> do depends upon the percentage of articles that I expect to >> keep in a certain group. > > Thank you for your feedback. There so many features I never ever > have visited before, I am almost thinking I am n00b :/ Same here. Kevin