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 11:55:35 -0700 Message-ID: <87woddu4t4.fsf@ericabrahamsen.net> References: <7ad0a3df-fba5-748a-885d-981176e1a015@topbug.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="206229"; 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:06:18 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 1iIJA1-000rUC-EE for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 23:06:17 +0200 Original-Received: from localhost ([::1]:58048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJ9z-0007yD-Fb for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 17:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47627) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIH87-00041a-RE for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 14:56:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIH83-0003Nx-Aw for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 14:56:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIH81-0003Lp-H7 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 14:56:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIH7z-0007Ns-7W for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 14:56:03 -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 18:56:02 +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.157064735328367 (code B ref 37655); Wed, 09 Oct 2019 18:56:02 +0000 Original-Received: (at 37655) by debbugs.gnu.org; 9 Oct 2019 18:55:53 +0000 Original-Received: from localhost ([127.0.0.1]:54122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIH7l-0007NO-FL for submit@debbugs.gnu.org; Wed, 09 Oct 2019 14:55:53 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:45866 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIH7f-0007N5-BJ for 37655@debbugs.gnu.org; Wed, 09 Oct 2019 14:55:48 -0400 Original-Received: from localhost (67-40-27-198.tukw.qwest.net [67.40.27.198]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 04BE0FA093; Wed, 9 Oct 2019 18:55:36 +0000 (UTC) In-Reply-To: <7ad0a3df-fba5-748a-885d-981176e1a015@topbug.net> (Hong Xu's message of "Mon, 7 Oct 2019 22:02:04 -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:168787 Archived-At: Hong Xu writes: > Reversing `gnus-thread-sort-by-most-recent-date' does not seem to work pr= operly. > > To reproduce: > > Download the test mbox file from here: https://lists.gnu.org/archive/mbox= /bug-gnu-emacs/2000-10 and save it as 2000-10.mbox. > > Start Emacs with "-Q", and evaluate the following: > > ;; Latest at bottom > (setq gnus-thread-sort-functions > '((not gnus-thread-sort-by-most-recent-date))) > > (setq gnus-summary-line-format "%U%R%z %(%&user-date; %-15,15f %B %s%)= \n") > > `M-x gnus', followed by `G f /path/to/2000-10.mbox'. There is only one to= pic. Type `C-u Enter'. > > The summary buffer is supposed to sort the messages in reversed most rece= nt date order in each thread, but a lot of non-compliance can be observed. = For instance: > > Oct 02 2000 wm08894@educ.cc > (no subject) > Oct 12 2000 fujyama yuu \-> > Oct 05 2000 bigsuma@home.co Repost PLEASE HELP or reply!!! please = :) > Oct 05 2000 Stefan Reich=C3=B6r Docstring for kill-line not compl= ete > > > The ``(no subject)'' thread's latest mail is on Oct 12, but ``Docstring f= or kill-line not complete'' on Oct 05 is positioned after that. 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. Eric