From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75458 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap+agent has stopped caching when reading Date: Mon, 27 Dec 2010 20:39:29 +0100 Organization: Probably a good idea Message-ID: <87vd2fc8em.fsf@dod.no> References: <87tyl7840y.fsf@dod.no> <87ocbf9i6q.fsf@dod.no> <87fwwrt2zh.fsf@dod.no> <877hi3t2ft.fsf@dod.no> <8739squaok.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293478868 8888 80.91.229.12 (27 Dec 2010 19:41:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2010 19:41:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23809@lists.math.uh.edu Mon Dec 27 20:41:03 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PXIwI-0006sR-8z for ding-account@gmane.org; Mon, 27 Dec 2010 20:41:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PXIv7-0000Pd-MW; Mon, 27 Dec 2010 13:39:49 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PXIv4-0000PR-Rz for ding@lists.math.uh.edu; Mon, 27 Dec 2010 13:39:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PXIv2-0007pf-0x for ding@lists.math.uh.edu; Mon, 27 Dec 2010 13:39:45 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PXIuz-0005L3-Jd for ding@gnus.org; Mon, 27 Dec 2010 20:39:41 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PXIuz-0006Hz-6V for ding@gnus.org; Mon, 27 Dec 2010 20:39:41 +0100 Original-Received: from ti0064a380-0346.bb.online.no ([85.166.28.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2010 20:39:41 +0100 Original-Received: from sb by ti0064a380-0346.bb.online.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2010 20:39:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ti0064a380-0346.bb.online.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:8ka8kC2aMLI0yoCarHPiofJiCXc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75458 Archived-At: >>>>> Steinar Bang : > Hm... anyway, the gnus-agent-fetch-articles function returns with a nil, > which I think means it wasn't able to load the articles it was asked to > load, because > (cdr fetched-articles)))))) > at the end there is nil. In gnus-agent-fetch-articles it comes out of ;; Skip headers preceeding this article (while (> article (setq header-number (let* ((header (car headers))) (if header (mail-header-number header) (1+ article))))) (setq headers (cdr headers))) with header-number set to article + 1 (ie. article is 7899 and header-number is 7900). Is this what is expected to happen? In any case in: (when (< gnus-agent-max-fetch-size (setq current-set-size ... current-set-size ends up as: 0 (#o0, #x0, ?\C-@) Does that mean that it has decided to fetch 0 articles? What's the relationship between the article number gnus uses and what identifies the article on the IMAP server?