From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#21462: 25.0.50; Gnus thread gathering and sorting inverted Date: Mon, 08 Feb 2016 12:08:45 -0500 Message-ID: References: <878u8cdfmt.fsf@md5i.com> <87si15awxh.fsf@gnus.org> <87zivdge7z.fsf@md5i.com> <878u2vhkjp.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454955025 5746 80.91.229.3 (8 Feb 2016 18:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 18:10:25 +0000 (UTC) Cc: 21462@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 19:10:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSqGN-0005y8-2f for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 19:10:15 +0100 Original-Received: from localhost ([::1]:47460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqGM-0005pY-HC for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 13:10:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqGF-0005mC-92 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:10:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqGA-0007en-ED for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:10:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqGA-0007ej-A2 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSqG9-0000YY-TE; Mon, 08 Feb 2016 13:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 08 Feb 2016 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21462 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 21462-submit@debbugs.gnu.org id=B21462.14549549422045 (code B ref 21462); Mon, 08 Feb 2016 18:10:01 +0000 Original-Received: (at 21462) by debbugs.gnu.org; 8 Feb 2016 18:09:02 +0000 Original-Received: from localhost ([127.0.0.1]:60302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqFA-0000Wi-TN for submit@debbugs.gnu.org; Mon, 08 Feb 2016 13:09:02 -0500 Original-Received: from upton.red.cert.org ([192.88.209.60]:61468) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSqF6-0000WQ-23 for 21462@debbugs.gnu.org; Mon, 08 Feb 2016 13:08:59 -0500 Original-Received: from bucknell.indigo.cert.org (bucknell.indigo.cert.org [10.60.10.121]) by upton.red.cert.org (8.14.4/8.14.4) with ESMTP id u18H8lOR029748; Mon, 8 Feb 2016 12:08:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1454951327; bh=hWuriGegDByie/FhKAocH716aB9SNu4u7awyMpBfLkY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Sender:Reply-To; b=doWsiCLcS8VV2DzgSRgMpmTqrPHv17Wtq7jlMA+0DOh08lP/iZWhk0vmEb8lJXGoC nEyfLC3FtaZ6PlwpbDq0LEkc5PtDEyDDaAqn3Hon+Pfu5MTmgn+RuY2N2tIHd/P7Bp XCb58SWTcDLsgOgsq7x91fFDovJNznZCk3EbgmLU= Original-Received: from watermonitor.yellow.cert.org (watermonitor.yellow.cert.org [10.20.11.220]) by bucknell.indigo.cert.org (8.14.4/8.14.4/2.81) with ESMTP id u18H8lWR027897; Mon, 8 Feb 2016 12:08:47 -0500 Original-Received: from watermonitor.yellow.cert.org (localhost [127.0.0.1]) by watermonitor.yellow.cert.org (8.14.4/8.14.4) with ESMTP id u18H8kKe004441; Mon, 8 Feb 2016 12:08:46 -0500 Original-Received: (from mwd@localhost) by watermonitor.yellow.cert.org (8.14.4/8.14.4) id u18H8jDR004438; Mon, 8 Feb 2016 12:08:45 -0500 X-Authentication-Warning: watermonitor.yellow.cert.org: mwd set sender to mwd@cert.org using -f In-Reply-To: <878u2vhkjp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 08 Feb 2016 15:51:06 +1100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112717 Archived-At: Lars Ingebrigtsen writes: > Michael Welsh Duggan writes: > >> 1) gnus-make-threads -> gathers articles into threads by ref >> 2) gnus-cut-threads -> removes "uninteresting" articles from the >> threads >> 3) gnus-sort-threads -> sorts the threads (with respect to each other thread) >> 4) gnus-summary-thread-gathering-function -> gathers threads with >> similar characteristics (subject, reference) into a single thread >> 5) gnus-sort-gathered-threads -> sorts the articles within each thread >> >> My argument is that steps 3 and 4 are backwards. Step 4 is the place >> where the final thread groupings are decided, and sorting these threads >> with respect to each other should happen afterward. > > Yes, but can't you just sort the gathered threads in the way you would > have wanted to have them sorted if they had been sorted before > gathering? I think I vaguely think that should kinda work... If I understand correctly, that would (in my case) require writing my own version of gnus-gather-threads-by-subject. All I can say to that is, ugh. If this sorting and gathering were done in what I consider to be the more logical order, I have to write a two line function to do what I want. Instead I would have to mimic most of the functionality of gnus-gather-threads-by-subject with the added restriction that I want to maintain thread order by the latest gathered thread. Complicated and ugly. Not that I wouldn't do it, if needed. Is there a good reason for step 3 and 4 above to be in the given order instead of the reverse? -- Michael Welsh Duggan (mwd@cert.org)