From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#18156: Thread sorting before loose threads are gathered Date: Thu, 26 Jan 2017 15:19:47 +0100 Message-ID: <8760l13nuk.fsf@gnus.org> References: <87a97qgzwk.fsf@maru2.md5i.com> <87o9yvov8c.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485440434 8536 195.159.176.226 (26 Jan 2017 14:20:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2017 14:20:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 18156@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 26 15:20:25 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWkuK-0000Nq-3e for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jan 2017 15:20:12 +0100 Original-Received: from localhost ([::1]:38887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWkuP-0000n8-2Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jan 2017 09:20:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWkuF-0000jU-DU for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2017 09:20:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWkuA-0005ha-Mr for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2017 09:20:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWkuA-0005hV-Iw for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2017 09:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cWkuA-00080d-E0; Thu, 26 Jan 2017 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 26 Jan 2017 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18156 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 18156-submit@debbugs.gnu.org id=B18156.148544039930773 (code B ref 18156); Thu, 26 Jan 2017 14:20:02 +0000 Original-Received: (at 18156) by debbugs.gnu.org; 26 Jan 2017 14:19:59 +0000 Original-Received: from localhost ([127.0.0.1]:44328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWku7-00080H-FJ for submit@debbugs.gnu.org; Thu, 26 Jan 2017 09:19:59 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWku6-000809-2d for 18156@debbugs.gnu.org; Thu, 26 Jan 2017 09:19:58 -0500 Original-Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWku1-0004bI-2L; Thu, 26 Jan 2017 15:19:57 +0100 In-Reply-To: (Michael Welsh Duggan's message of "Thu, 26 Jan 2017 08:58:35 -0500") 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: 208.118.235.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:128549 Archived-At: Michael Welsh Duggan writes: > Correct or incorrect, it doesn't allow me to do what I want to do. Here > is my use case: I want to sort the threads in my summary buffer, > post-gathering, by the date of the most recent article in the thread. > If threads (not the articles in threads) are sorted before they are > gathered, this seems less than possible. Hm... I see... Well, your sorting function could emulate the gathering and then do the sorting based on that emulation. The sorting functions should have access to everything necessary to do so. The reason I'm less than enthusiastic about changing the order of things here is that this is really, really old code, and lots people have written their own sorting functions based on the way it works. Changing the order will lead to breakages. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no