From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37655: 27.0.50; reversing `gnus-thread-sort-by-most-recent-date' does not work properly Date: Mon, 28 Oct 2019 16:04:57 +0100 Message-ID: <87lft4ap2e.fsf@gnus.org> 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="111494"; 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 To: Hong Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 28 16:16:29 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 1iP6kv-000SlS-M7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 16:16:29 +0100 Original-Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP6ku-0002Un-8X for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 11:16:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45714) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP6as-0003NZ-77 for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 11:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iP6ao-00068T-Me for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 11:06:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iP6ao-00067y-Is for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iP6ao-0005x6-Br for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 15:06: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.157227511822821 (code B ref 37655); Mon, 28 Oct 2019 15:06:02 +0000 Original-Received: (at 37655) by debbugs.gnu.org; 28 Oct 2019 15:05:18 +0000 Original-Received: from localhost ([127.0.0.1]:46155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP6a0-0005vt-RQ for submit@debbugs.gnu.org; Mon, 28 Oct 2019 11:05:16 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:41654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP6Zs-0005vI-3l for 37655@debbugs.gnu.org; Mon, 28 Oct 2019 11:05:08 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iP6Zm-0000AK-4D; Mon, 28 Oct 2019 16:05:02 +0100 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:170304 Archived-At: Hong Xu writes: > 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 With the formatting you've chosen, you can't see any difference between real threads and gathered threads. gnus-thread-sort-functions is about how real threads are sorted. After sorting, if you have thread gathering switched on, articles with the same subject (in the example mail box "(no subject")) are displayed after one another, but that doesn't affect the sorting. So this isn't a bug, and this works as designed. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no