From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15325 invoked from network); 19 Oct 2023 20:56:09 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 19 Oct 2023 20:56:09 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qta3i-0019JZ-0C for ml@inbox.vuxu.org; Thu, 19 Oct 2023 15:56:01 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96.1) (envelope-from ) id 1qta3e-0005Qo-0w for ml@inbox.vuxu.org; Thu, 19 Oct 2023 15:55:54 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96.1) (envelope-from ) id 1qta3b-0005Q5-0X for ding@lists.math.uh.edu; Thu, 19 Oct 2023 15:55:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qtYcq-0018kP-0v for ding@lists.math.uh.edu; Thu, 19 Oct 2023 14:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nLxKsO6FOFe+0lryQ7z5xKxH7apgz0EaDIM0jspkw2U=; b=gCf4cwxaO17XNJgeYg39ABFGXP fjdZ1lsq+yg6ehy7QzcXc6qEG2uQMXKChHhCUxKkElRG9PUbh56NlTsmNtmmdP+NAS8i4KpmPDnFW FFH8aSj7J3i75suj8R7imFXpOOsnyEASSRVMRGaOqqx1/6ADi5m0jIdnY2v++eDI0ANo=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qtYcd-0000iL-Ms for ding@gnus.org; Thu, 19 Oct 2023 21:23:58 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qtYca-0002a2-Uu for ding@gnus.org; Thu, 19 Oct 2023 21:23:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Strange article sorting from Gmail Date: Thu, 19 Oct 2023 12:23:45 -0700 Message-ID: <87leby8lha.fsf@ericabrahamsen.net> References: <87zg0fwvbs.iubsb@wlybrphk.wbcf.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:hB/3tTKOzainmqiawemzvDGwdfs= List-ID: Precedence: bulk Bob Newell writes: > 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. Well that sounds very annoying! I suppose you already tried "M-g" to request a new scan of this group in particular? I do wish I understood what Gmail is doing there, to reset the article numbers, and if there were anything Gnus could do automatically to handle it more gracefully.