From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Sorting with threads in Gnus Date: Fri, 26 Jul 2013 15:06:15 +0200 Message-ID: <87ppu5wjw8.fsf@thinkpad.tsdh.org> References: <87d2q8qy0h.fsf@ericabrahamsen.net> <87vc40drow.fsf@thinkpad.tsdh.org> <871u6mlyx5.fsf@ericabrahamsen.net> <87iozxq3ca.fsf@thinkpad.tsdh.org> <87d2q5lmo3.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374844074 10499 80.91.229.3 (26 Jul 2013 13:07:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 13:07:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 15:07:55 2013 Return-path: Envelope-to: geh-help-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 1V2hkO-0000rM-I4 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 15:07:52 +0200 Original-Received: from localhost ([::1]:42581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2hkO-0002lA-2n for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 09:07:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2hj9-0000wE-Bt for help-gnu-emacs@gnu.org; Fri, 26 Jul 2013 09:06:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2hj7-0003jX-3k for help-gnu-emacs@gnu.org; Fri, 26 Jul 2013 09:06:35 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2hj6-0003jD-TD for help-gnu-emacs@gnu.org; Fri, 26 Jul 2013 09:06:33 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V2hj2-0007p1-SR for help-gnu-emacs@gnu.org; Fri, 26 Jul 2013 15:06:28 +0200 Original-Received: from 91-67-164-26-dynip.superkabel.de ([91.67.164.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 15:06:28 +0200 Original-Received: from tsdh by 91-67-164-26-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 15:06:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-164-26-dynip.superkabel.de User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:W2hu7r8oTQhugP+3zdxpk7PcseQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92442 Archived-At: Eric Abrahamsen writes: >> I hoped that `gnus-thread-sort-functions' was applied only to thread >> roots, and `gnus-sort-gathered-threads-function' to subthreads, but >> that doesn't seem to be tha case. > > Huh, interesting -- I hadn't realized subthreads were sorted as well, > but they are: gnus-sort-threads calls the appropriately-named > gnus-sort-threads-recursive. Funnily, I also didn't notice that for years. But now that I do, it started annoying me. > That's hard-coded, and there's nothing to distinguish a top-level > thread from a subthread. Well, I'd say a thread root doesn't really need to be the real root of a thread, just the top-level article that's displayed by Gnus in the summary buffer (which depends on `gnus-fetch-old-headers' and others). And I guess that's identitfiable, e.g., the articles that get their summary thread tree style from `gnus-sum-thread-tree-root', `gnus-sum-thread-tree-false-root', and `gnus-sum-thread-tree-single-indent' are the root articles of a thread. > But I'll bet with a little care, it would be possible to make a > gnus-sort-threads-recursively-p option, which would have > gnus-sort-threads break to gnus-sort-articles after the first round of > sorting... Maybe. That would be awesome. Bye, Tassilo