Gnus development mailing list
 help / color / mirror / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: ding@gnus.org
Subject: Strange article sorting from Gmail
Date: Wed, 18 Oct 2023 10:04:55 -1000	[thread overview]
Message-ID: <87zg0fwvbs.iubsb@wlybrphk.wbcf.org> (raw)

Aloha everyone,

I came across a strange thing with gnus and gmail.  I've been
using gnus to fetch mail directly from gmail for years.
Things work as expected at the 99% level, at times with some
effort.

However something changed two days ago that I can't
understand.  It was only in my gmail "Sent Mail" folder and
nowhere else.

Everything was fine until that morning Sent Mail, when
fetched, showed a few recent sent messages, and then skipped
over several thousand of them and showed messages from 2021 on
back.  Now, if I did /o and told it to fetch all 28,000 or so
headers, everything would then show up.

I checked the usual suspects.  I was using (display . all).  I
was using gnus-thread-sort-by-most-recent-date in the variable
gnus-thread-sort-function.  I tried adding (not
gnus-thread-sort-by-number) to no avail.

Further research appeared to indicate that gnus fetches by the
IMAP server's ID number, and the numbers on the gmail server
appeared to have all of a sudden gotten out of sync with the
email dates.  So if I fetched just a few headers, I would get
the odd behavior described.  If I fetched all the headers,
gnus would be able to sort all the mail in proper date order.
In other words gnus couldn't sort headers it didn't have.

There's nothing to do about this as it apparently is some sort
of gmail problem.  On the web interface, of course, everything
sorts as expected, but that's not what I care to use.

What I did was move a few thousand emails out of Sent Mail and
into the gmail archive.  In effect what this does is remove
the Sent Mail label.  The mail still remains in gmails All
Mail label.  Eventually I got to something that was more or
less date sequential.

The reason I'm posting here is to ask if anyone else has seen
strange things like this when using gnus and gmail.  I'm not
asking for a solution as it appears there is none, at least
not on the gnus side.

-- 
Bob Newell
Honolulu, Hawai`i

- Via GNU/Linux/Emacs/Gnus/BBDB


             reply	other threads:[~2023-10-18 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 20:04 Bob Newell [this message]
2023-10-19 19:23 ` Eric Abrahamsen
2023-10-19 21:54   ` Bob Newell

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=87zg0fwvbs.iubsb@wlybrphk.wbcf.org \
    --to=bobnewell@bobnewell.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).