From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly Date: Wed, 09 Oct 2019 14:32:12 -0700 Message-ID: <878sptsizn.fsf@ericabrahamsen.net> References: <7ad0a3df-fba5-748a-885d-981176e1a015@topbug.net> <87woddu4t4.fsf@ericabrahamsen.net> <871rvltytw.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="65302"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37655@debbugs.gnu.org, larsi@gnus.org To: Hong Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 23:36:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIJcz-000GnT-6p for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 23:36:13 +0200 Original-Received: from localhost ([::1]:59258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJcx-0006Q2-BP for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 17:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJZw-0002qv-Iu for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 17:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIJZu-0001AO-OG for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 17:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIJZt-00019w-R6 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 17:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIJZt-0000g3-MM for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 17:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 21:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37655 X-GNU-PR-Package: emacs Original-Received: via spool by 37655-submit@debbugs.gnu.org id=B37655.15706567432536 (code B ref 37655); Wed, 09 Oct 2019 21:33:01 +0000 Original-Received: (at 37655) by debbugs.gnu.org; 9 Oct 2019 21:32:23 +0000 Original-Received: from localhost ([127.0.0.1]:54283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIJZG-0000eq-TR for submit@debbugs.gnu.org; Wed, 09 Oct 2019 17:32:23 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:51164 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIJZE-0000eb-7t for 37655@debbugs.gnu.org; Wed, 09 Oct 2019 17:32:20 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 3BD32FA093; Wed, 9 Oct 2019 21:32:14 +0000 (UTC) In-Reply-To: (Hong Xu's message of "Wed, 9 Oct 2019 14:08:51 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168793 Archived-At: On 10/09/19 14:08 PM, Hong Xu wrote: > On 10/9/19 2:04 PM, Eric Abrahamsen wrote: >> Hong Xu writes: >> >>> On 10/9/19 11:55 AM, Eric Abrahamsen wrote: >>>> I can reproduce this, but oddly it only seems to have gone wrong for >>>> that one thread -- all the other threads in the mailbox seem to be >>>> sorted correctly. I also note that the Summary buffer displays the date >>>> of both messages in the thread as one day earlier than the Date header >>>> in the message itself. So I wonder if there's just something weird about >>>> one or both of the messages that's causing Gnus to handle the date >>>> incorrectly. >>>> When I have a bit more time I'll try to figure out what date Gnus is >>>> trying to use for that thread. >>>> >>> >>> On my personal messages, there is also only exactly one thread placed >>> in the wrong position. My guess is that there may be something on the >>> boundary not handled properly during sorting ... >> Ah, I guess that would make sense. Are the dates also displayed >> incorrectly in the Summary format line for the messages in that thread? >> > > I don't observe incorrect date. Is there an incorrect date in the example above? Yes, the dates as displayed in the Summary format line are off from the dates in the Date header of the article itself. At least, that's what I'm seeing in the Emacs -Q test. In your personal messages, is it also the first thread in the Summary buffer that's sorted incorrectly? That would definitely indicate some sort of error in the start/end of looping. > I also observed that `gnus-thread-latest-date' does not return correct > dates for some messages, although they displayed as in one thread. Okay, noted. I'll probably have time to look deeper tomorrow.