From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#53755: 27.2; C-u M-x gnus-summary-sort-by-most-recent-number / -date not ordering threads as expected Date: Sun, 06 Feb 2022 21:35:53 -0500 Message-ID: <874k5b4d4m.fsf@md5i.com> References: <87zgn761cj.fsf@md5i.com> <87zgn7il4u.fsf@gmail.com> <87sfsz5ms3.fsf@md5i.com> <86o83mcjnf.fsf@iki.fi> <874k5dcsgf.fsf@gmail.com> <87sfsv35ll.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13388"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Michael Welsh Duggan , Emilia =?UTF-8?Q?Bl=C3=A5sten?= , 53755@debbugs.gnu.org, =?UTF-8?Q?K=C3=A9vin?= Le Gouguec To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 07 03:37:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGtu1-0003Hg-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 03:37:18 +0100 Original-Received: from localhost ([::1]:50376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGttz-00080p-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 21:37:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGttm-00080e-3n for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 21:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGttl-0003TT-Qp for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 21:37:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGttl-0000cG-JB for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 21:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Feb 2022 02:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53755 X-GNU-PR-Package: emacs Original-Received: via spool by 53755-submit@debbugs.gnu.org id=B53755.16442013632296 (code B ref 53755); Mon, 07 Feb 2022 02:37:01 +0000 Original-Received: (at 53755) by debbugs.gnu.org; 7 Feb 2022 02:36:03 +0000 Original-Received: from localhost ([127.0.0.1]:40549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGtsp-0000ax-Bb for submit@debbugs.gnu.org; Sun, 06 Feb 2022 21:36:03 -0500 Original-Received: from md5i.com ([75.151.244.229]:36020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGtso-0000aV-6z for 53755@debbugs.gnu.org; Sun, 06 Feb 2022 21:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y8nJPSxVNYNxJ8fZ/bkPQsyHeIlSJktnAQCr0yPxW9k=; b=iipW5Vfnpg7d4fefwabJH56qYn cMMFJ1upBgAgSiO58D9AvJV31S+fyhRjl5Ckqq/7MTy44xi0yQdZ6oHCAtZPRKLtVyrve5lO520T9 9VEwzClflWyZbdPluqOHiKbH1; Original-Received: from abode ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nGtsg-006DzV-1s; Sun, 06 Feb 2022 21:35:54 -0500 In-Reply-To: <87sfsv35ll.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Feb 2022 01:03:50 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226213 Archived-At: Lars Ingebrigtsen writes: > K=C3=A9vin Le Gouguec writes: > >> Now that Michael has blessed us with a patch, I guess I could live with >> keeping it applied locally, but I really wonder how useful the current >> semantics of gnus-thread-sort-by-most-recent-date are=E2=80=A6 since=E2= =80=A6 threads >> don't end up sorted by date =F0=9F=99=83 > > We could apply Michael's patch, but it needs a user option to switch > between the two behaviours, and for it to be generally useful, it needs > all those different sorting functions I mentioned in that other bug > report, I think... At this point, it's been long enough I don't even understand my own patch works any more, other than the fact that it does what I want it to. I thought a bit recently about how one could select differing behaviors without mucking with the default behavior. I suppose you could allow `gnus-thread-sort-functions' to take a cons of a symbol and a function, where the symbol selects a non-default behavior. Or something like that. --=20 Michael Welsh Duggan (md5i@md5i.com)