Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: Sometimes, gnus-summary-insert-old-articles doesn't., Re: Sometimes, gnus-summary-insert-old-articles doesn't.
Date: Wed, 06 Jun 2018 09:53:56 -0700	[thread overview]
Message-ID: <87tvqfvot7.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87in6wpn00.fsf@gmail.com>

Chris Marusich <cmmarusich@gmail.com> writes:

> Hi Jorge and Eric,
>
> Thanks for the feedback!  I'm glad to know I'm not the only one.
>
> "Jorge A. Alfaro-Murillo" <jorge.alfaro-murillo@yale.edu> writes:
>
>> Andreas Schwab writes:
>>
>>> On Jun 04 2018, Chris Marusich <cmmarusich@gmail.com> wrote: 
>>>
>>>> Is it normal for gnus-summary-insert-old-articles to add no
>>>> articles to the summary buffer even though it says that some old
>>>> articles are available? 
>>>
>>> Perhaps due to gaps in the article numbers.
>>
>> Yeah, that happens to me with gmail. I think that the numbers are the
>> ones in "All Mail", that is why there are gaps in "Inbox" or other
>> folders.
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> It does look like `gnus-summary-insert-old-articles' calculates the old
>> article numbers to request without consulting the backend.
>
> How might I begin to troubleshoot to see if this is a bug on Gmail's
> side, within my local Gnus configuration, or within Gnus itself?  I'm
> mainly just curious, since like I said I can just request arbitrarily
> many articles to eventually get the older ones.

I don't think it's a bug, per se -- it's just how the code is written.
So far as I can tell, Gnus just calculates what the previous ten (or
however many) articles numbers *would* be, and then requests those
numbers. I haven't stepped through the code to confirm, but that's what
it looks like.

I assume it would be possible to write a generic way of requesting some
number of old articles from a backend, regardless of their actual
article numbers, but my guess is that no one will get to that very soon!

Eric




  reply	other threads:[~2018-06-06 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-05  6:56 Chris Marusich
2018-06-05  9:32 ` Eric S Fraga
2018-06-05 18:55 ` Andreas Schwab
2018-06-05 19:37   ` Jorge A. Alfaro-Murillo
2018-06-06  4:17     ` Sometimes, gnus-summary-insert-old-articles doesn't., " Chris Marusich
2018-06-06 16:53       ` Eric Abrahamsen [this message]
2018-06-09 10:01         ` Eric S Fraga
2018-06-09 16:17           ` Eric Abrahamsen
2018-06-05 19:44   ` Eric Abrahamsen

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=87tvqfvot7.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).