From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47931 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: New agent code Date: Wed, 27 Nov 2002 11:52:05 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <3DE50645.1040602@xpediantsolutions.com> References: <87el9a4cro.fsf@enberg.org> <87k7j28j4q.fsf@enberg.org> <87adjy8hrj.fsf@enberg.org> <84hee6umu5.fsf@lucy.cs.uni-dortmund.de> <3DE2E7E0.3020903@xpediantsolutions.com> <84adjwwzx9.fsf@lucy.cs.uni-dortmund.de> <87smxn2st6.fsf@gtn.ru> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1038419530 9635 80.91.224.249 (27 Nov 2002 17:52:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2002 17:52:10 +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 18H6Lw-0002UT-00 for ; Wed, 27 Nov 2002 18:52:00 +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 18H6Mo-0005xl-00; Wed, 27 Nov 2002 11:52:54 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 27 Nov 2002 11:53:41 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA25427 for ; Wed, 27 Nov 2002 11:53:23 -0600 (CST) Original-Received: (qmail 20095 invoked by alias); 27 Nov 2002 17:52:16 -0000 Original-Received: (qmail 20090 invoked from network); 27 Nov 2002 17:52:15 -0000 Original-Received: from h001.c001.snv.cp.net (HELO c001.snv.cp.net) (209.228.32.115) by gnus.org with SMTP; 27 Nov 2002 17:52:15 -0000 Original-Received: (cpmta 15610 invoked from network); 27 Nov 2002 09:52:07 -0800 Original-Received: from 66.134.21.50 (HELO xpediantsolutions.com) by smtp.register-admin.com (209.228.32.115) with SMTP; 27 Nov 2002 09:52:07 -0800 X-Sent: 27 Nov 2002 17:52:07 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en Original-To: ding@gnus.org Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47931 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47931 Denis Yakovlev wrote: >kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > > > >>Kevin Greiner writes: >> >> > > > >>>Second, read-unmarked articles are removed from the .overview. You >>>wouldn't happen to have gnus-agent-expire-all set? If so, you'll >>>get the behavior that you are describing. >>> >>> >>Not that it's relevant, as I never invoked agent expiry, but I do >>have it set to t. So I think I should change it just in case I >>happen to invoke agent expiry... >> >> > >gnus-agent-expire-all set to nil. >gnus-agent-expire removes articles older than gnus-agent-expire-days >from disk (as it should), but removes almost all articles from .overview >(1--3 articles remain). > > > The intended behavior is as follows: If an article was fetched into the agent's cache, then the article's header will be removed from the overview at the same time as the article is expired. If an article was never fetched, then the article's header will be removed from the overview if the article is marked as read but not marked as ticked nor dormant. If an article is in the overview, but not in the agentview, remove it from the overview. The first rule is probably obvious. The second rule exists because gnus-agent doesn't currently keep a timestamp on when a header was fetched. As a result, I can't expire just a header using gnus-agent-expire-days. The third rule cleans up an overview that has gotten out-of-sync with its agentview. I haven't seen this behavior in my testing so we're going to have to play 20 questions. 1) Did you call gnus-agent-expire using t as the first argument? The first argument is the list of articles to expire. When set to t, this list is interpreted as ALL articles. If you want to expire only unread articles, set it to nil. 2) Have you tried using gnus-agent-regenerate-group to repair this group's overview and agentview files? If so, did gnus-agent-expire then function as desired? If gnus-agent-expire is now behaving correctly, the problem was mostly likely an out-of-date agentview file. The new agent code requires that the contents of the agentview and overview files be synchronized at all times. This is enforced by the new code but the old version didn't work quite as well. 3) Do you want to see read articles in your summary? If so, can you provide any addition criteria for retaining an article header in the overview? Kevin