Gnus development mailing list
 help / color / mirror / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: Cache/Agent unification
Date: Mon, 06 Aug 2001 10:51:00 -0700	[thread overview]
Message-ID: <2nae1d84cb.fsf@piglet.jia.vnet> (raw)
In-Reply-To: <ilupuachuse.fsf@barbar.josefsson.org>

Simon Josefsson <jas@extundo.com> writes:

>> * You're right about the disk space requirements.  Maybe really old
>>   articles shouldn't be in the local cache.  Hm.
>> 
>>   Maybe it would be enough to provide a couple of commands to add
>>   articles to the cache and to remove them.  Examples:
>> 
>>   - Add each article as it is read.
>>   - Add all articles visible in the current summary buffer.
>>   - Add all unread articles.
>>   - Remove old, read, articles.
>>   - Never cache this group.
>>   - Always cache all articles from that group.
> 
> Yes, some of these are good.  But it shouldn't be too manual, it would
> be nice if the agent just did things automatically based on what
> you've told it.  It should be possible to indicate how much disk space
> you want to waste on a general level.  Three levels seems like a good
> start:
> 
>  * Cache nothing
>  * Cache headers, and manually entered (cache or agent) articles
>  * Cache everything

The idea sounds good to me.  But I'd like to think Agent as the second
level cache instead of Agent/Cache unification.  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?

ShengHuo


  parent reply	other threads:[~2001-08-06 17:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-04 11:17 Simon Josefsson
2001-08-04 12:00 ` Kai Großjohann
2001-08-04 12:30   ` Simon Josefsson
2001-08-04 13:24     ` Kai Großjohann
2001-08-06 17:51     ` ShengHuo ZHU [this message]
2001-08-06 19:08       ` Kai Großjohann
2001-08-17 11:27         ` Lars Magne Ingebrigtsen
2001-08-17 12:27           ` Simon Josefsson
2001-08-17 13:12             ` Lars Magne Ingebrigtsen
2001-08-17 13:23               ` Kai Großjohann
2001-08-17 13:34                 ` Lars Magne Ingebrigtsen
2001-08-17 13:55               ` Simon Josefsson
2001-08-17 14:00                 ` Lars Magne Ingebrigtsen
2001-08-06 20:49       ` Christoph Conrad
2001-08-08 11:35       ` Simon Josefsson
2001-08-10 17:21         ` ShengHuo ZHU
2001-08-08 15:59     ` Paul Jarc
2001-08-08 18:13       ` Kai Großjohann
2001-08-09  8:35       ` Simon Josefsson
2001-08-09 11:13         ` Kai Großjohann
2001-08-09 12:11           ` Simon Josefsson
2001-08-09 14:17             ` Paul Jarc
2001-08-10 14:54 ` Per Abrahamsen
2001-08-17 11:29 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2nae1d84cb.fsf@piglet.jia.vnet \
    --to=zsh@cs.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).