From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48976 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Settings for using the agent as a cache Date: Wed, 08 Jan 2003 22:12:15 +0100 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 1042060354 31195 80.91.224.249 (8 Jan 2003 21:12:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 21:12:34 +0000 (UTC) Cc: ding@gnus.org 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 18WNV2-00086z-00 for ; Wed, 08 Jan 2003 22:12:32 +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 18WNV6-0002hR-00; Wed, 08 Jan 2003 15:12:36 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 08 Jan 2003 15:13:31 -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 PAA16588 for ; Wed, 8 Jan 2003 15:13:18 -0600 (CST) Original-Received: (qmail 63129 invoked by alias); 8 Jan 2003 21:12:18 -0000 Original-Received: (qmail 63124 invoked from network); 8 Jan 2003 21:12:18 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by 66.230.238.6 with SMTP; 8 Jan 2003 21:12:18 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id h08LCFRr027191 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 8 Jan 2003 22:12:16 +0100 Original-To: kgreiner@xpediantsolutions.com Mail-Copies-To: nobody X-Payment: hashcash 1.1 0:030108:kgreiner@xpediantsolutions.com:c82405a127959fca X-Hashcash: 0:030108:kgreiner@xpediantsolutions.com:c82405a127959fca X-Payment: hashcash 1.1 0:030108:ding@gnus.org:05159068d5af16d7 X-Hashcash: 0:030108:ding@gnus.org:05159068d5af16d7 In-Reply-To: (kgreiner@xpediantsolutions.com's message of "Wed, 08 Jan 2003 09:55:10 -0600") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48976 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48976 kgreiner@xpediantsolutions.com writes: > Niklas Morberg writes: > >> Simon Josefsson writes: >> >>> I use the following >>> >>> '(gnus-cache-enter-articles (quote (ticked dormant unread read))) >>> '(gnus-cache-remove-articles nil) >>> '(gnus-cacheable-groups "^nnimap\\|^nntp") >>> >>> which enters all articles I read into the cache and never >>> removes them. I wish the cache and the agent directories >>> were merged for the article data though, but for now this >>> works for me. >> >> So I end up with using both the cache _and_ the agent? I was >> hoping I could do without the cache and only use the agent. >> >> Or maybe I should not use the agent at all and only the >> cache? >> > > Kai added the function gnus-agent-fetch-selected-article to fetch > articles as they are read. All you need to do is add it to your > gnus-select-article-hook. Nice! It seem to have some disadvantages though: 1) the summary buffer is re-generated after selecting articles, which is rather slow. 2) the re-generation seem to break threading for some articles (articles that was indented are back at column 0 thread-wise). Otherwise it seems to work fine.