Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: nnimap+agent has stopped caching when reading
Date: Mon, 27 Dec 2010 20:39:29 +0100	[thread overview]
Message-ID: <87vd2fc8em.fsf@dod.no> (raw)
In-Reply-To: <8739squaok.fsf@dod.no>

>>>>> Steinar Bang <sb@dod.no>:

> 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?








  reply	other threads:[~2010-12-27 19:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 18:44 Steinar Bang
2010-09-30 18:47 ` Lars Magne Ingebrigtsen
2010-09-30 18:53   ` Steinar Bang
2010-09-30 20:01     ` Steinar Bang
2010-09-30 20:13       ` Steinar Bang
2010-09-30 22:06         ` Lars Magne Ingebrigtsen
2010-09-30 22:30           ` Steinar Bang
2010-12-27 19:39             ` Steinar Bang [this message]
2010-12-27 20:04               ` Steinar Bang
2011-01-02  5:44                 ` Lars Magne Ingebrigtsen
2011-01-02 13:19                   ` Steinar Bang
2010-12-27 21:35             ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vd2fc8em.fsf@dod.no \
    --to=sb@dod.no \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).