From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55013 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: two agent nits Date: Mon, 01 Dec 2003 09:56:16 -0600 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070294243 12676 80.91.224.253 (1 Dec 2003 15:57:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 15:57:23 +0000 (UTC) Original-X-From: ding-owner+M3553@lists.math.uh.edu Mon Dec 01 16:57:21 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQqQK-0002QI-00 for ; Mon, 01 Dec 2003 16:57:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AQqPX-00058L-00; Mon, 01 Dec 2003 09:56:31 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AQqPT-00058G-00 for ding@lists.math.uh.edu; Mon, 01 Dec 2003 09:56:27 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 954623A0025 for ; Mon, 1 Dec 2003 09:56:26 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AQqPR-00088h-00 for ; Mon, 01 Dec 2003 16:56:25 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 42 Original-NNTP-Posting-Host: h-66-134-21-51.hstqtx02.covad.net Original-X-Trace: quimby.gnus.org 1070294185 31284 66.134.21.51 (1 Dec 2003 15:56:25 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 1 Dec 2003 15:56:25 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:tD9cAv9sHZQ3JokuT6AhGfm03P8= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55013 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55013 Simon Josefsson writes: > Kevin Greiner writes: > >> Simon Josefsson writes: >> >>> * I can't seem to get the agent to fetch read articles. >>> gnus-agent-consider-all-articles's value is t >>> The default agent category predicate is 'true'. >>> `J s' and `J u' just download unread or ticked articles. >> >> Have to tried setting gnus-agent-consider-all-articles to nil? That >> seems to work for me. > > I tried, but still the same. Pressing `J u' on groups just say it is > finished, but only the unread/ticked articles are in my local cache. > > Hm. The manual and the docstring for the variable doesn't seem to be > in sync. I thought the variable did what the docstring said, but the > manual just discuss missing headers. Which one is correct? The variable gnus-agent-consider-all-articles appears in gnus-agent-fetch-headers but NOT gnus-agent-fetch-articles. However, gnus-agent-fetch-group-1 calls gnus-agent-fetch-headers to get the list of new articles so gnus-agent-consider-all-articles may, by modifying the return value of gnus-agent-fetch-headers, effect the list of articles being fetched by gnus-agent-fetch-articles. In fact, that is almost certainly what is going wrong in your case. For you to have read the article, you had to open the summary buffer. That implies that gnus-agent-fetch-headers already fetched the headers of each read article. Now, it's later and you want gnus-agent-fetch-group-1 to fetch the article. The only problem is that it uses gnus-agent-fetch-header to get the article list and gnus-agent-fetch-header skips over those articles because their headers have already been fetched. I'll look into this further to see if I can reproduce it here. If I can, I'll work up a patch. It will be a few days as I'm currently busy on other projects. Kevin