From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37599 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Cache/Agent unification Date: Wed, 08 Aug 2001 12:35:16 +0100 Message-ID: References: <2nae1d84cb.fsf@piglet.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172984 14683 80.91.224.250 (21 Oct 2002 04:03:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:03:04 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 26529 invoked from network); 8 Aug 2001 11:34:09 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 8 Aug 2001 11:34:09 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f78BYAw06750; Wed, 8 Aug 2001 13:34:11 +0200 Original-To: ShengHuo ZHU In-Reply-To: <2nae1d84cb.fsf@piglet.jia.vnet> (ShengHuo ZHU's message of "Mon, 06 Aug 2001 10:51:00 -0700") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:37599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37599 ShengHuo ZHU writes: > The idea sounds good to me. But I'd like to think Agent as the second > level cache instead of Agent/Cache unification. Ah, yes, this is probably a better view of things. > Cache and Agent is for different purposes. Currently, agentization > requires too many manual operations, e.g. users have to manually > *fetch* headers and articles and Agent doesn't save read articles > while plugged. Maybe we should make Agent more automatic and more > comprehensive. My proposal is simple: calling Agent functions in > gnus-retrieve-headers and its friends; saving headers and articles > into nnagent when users read news in plugged mode. Of course, users > can use `J s' to fetch all news. > > Any thought? Something like this is what I was thinking about. The Agent should just work, it shouldn't require endless amount of configuration. But while where at it we'd might as well fix the NOV cache situation also -- right now you have three local NOV files that contains roughly the same stuff (if you're using nnimap, cache and agent at least). Maybe I could apply the allow-agent-to-download-read-articles patch as well.