From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48966 Path: main.gmane.org!not-for-mail From: kgreiner@xpediantsolutions.com Newsgroups: gmane.emacs.gnus.general Subject: Cache/Agent Integration Date: Wed, 08 Jan 2003 10:44:21 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042044255 15481 80.91.224.249 (8 Jan 2003 16:44:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 16:44:15 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WJJN-00041B-00 for ; Wed, 08 Jan 2003 17:44:13 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18WJJx-0000ct-00; Wed, 08 Jan 2003 10:44:49 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 08 Jan 2003 10:45:44 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA14835 for ; Wed, 8 Jan 2003 10:45:31 -0600 (CST) Original-Received: (qmail 53807 invoked by alias); 8 Jan 2003 16:44:32 -0000 Original-Received: (qmail 53802 invoked from network); 8 Jan 2003 16:44:32 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 8 Jan 2003 16:44:32 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18WJNj-0006h8-00 for ; Wed, 08 Jan 2003 17:48:43 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: h-66-134-21-50.hstqtx02.covad.net Original-X-Trace: quimby.gnus.org 1042044523 25735 66.134.21.50 (8 Jan 2003 16:48:43 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 8 Jan 2003 16:48:43 GMT User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:/P5qxtLXmQtTtWQZrgulDOsO2JM= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48966 Lars Magne Ingebrigtsen writes: > kgreiner@xpediantsolutions.com writes: > >> As for uncached, well I'd been reading too many old articles >> suggesting that the cache and agent should be merged. > > That may be the case, but probably not. The cache is for storing > stuff you want forever. The Agent is an offline news reader with > expiry and stuff. They happen to be implemented pretty similarly, > but the functionality is pretty different. I just noticed that gnus-agent-catchup marked CACHED articles as read simply because they were not in the agent. Previously, I had to change the gnus-agent-fetch-session code to not fetch expired articles simply because they had a cached mark. If the cache is for storing stuff forever then can't we add that to the agent? Would it be sufficient to simply have the agent expiration process ignore articles that had a cached mark? Alternatively, can we keep the agent and cache as distinct features yet use the same directory structure for both? Thanks, Kevin