From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47386 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent downloads too many headers Date: Wed, 23 Oct 2002 22:33:20 +0200 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <841y6gnbe7.fsf@crybaby.uni-duisburg.de> References: <84u1jfvvsx.fsf@crybaby.cs.uni-dortmund.de> <84lm4p6tia.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035405401 10678 80.91.224.249 (23 Oct 2002 20:36:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 20:36:41 +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 184SF5-0002ln-00 for ; Wed, 23 Oct 2002 22:36:39 +0200 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 184SCL-0001IM-00; Wed, 23 Oct 2002 15:33:49 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Oct 2002 15:34:34 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA24772 for ; Wed, 23 Oct 2002 15:34:22 -0500 (CDT) Original-Received: (qmail 8112 invoked by alias); 23 Oct 2002 20:33:24 -0000 Original-Received: (qmail 8107 invoked from network); 23 Oct 2002 20:33:23 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 23 Oct 2002 20:33:23 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 184SCl-0008T9-00 for ; Wed, 23 Oct 2002 22:34:15 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 32 Original-NNTP-Posting-Host: pd951f8ee.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1035405255 30850 217.81.248.238 (23 Oct 2002 20:34:15 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 23 Oct 2002 20:34:15 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:ya9llamWtT/vtUTNj6QENYNMMHk= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47386 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47386 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > Suppose I tell the agent to fetch articles. Then I read things > offline and compose things and later on I send the queue. Then I'm > back online and don't use the agent for a while. I read some > messages while I'm online. Then I tell the agent to fetch articles > in order to go offline. Here is the crucial point. I want the > articles to be fetched that I've read while I was online. > > The question is now how to achieve this. > > For each group, the agent should store a list (range) of articles > considered already. This list (range) should be updated whenever the > user does `J s' or `J u' in the group buffer. So it should be > updated from gnus-agent-fetch-group-1. That function calls > gnus-agent-fetch-headers to get the articles to consider. So that's > where we need to store our data. > > I think we're getting closer. Do you follow my logic? Is it right? I couldn't wait. I tried to implement this, and now, finally, I think it at least does _something_. Henrik, is it fetching less now? I've committed this so that others can hack on it while I sleep :-) Another reason is that tomorrow morning before I got to rush off to catch the train, the agent fetching will be quicker :-) kai -- ~/.signature is: umop ap!sdn (Frank Nobis)