From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17001 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.user Subject: Re: Sorting threads after gathering threads Date: Tue, 29 Jul 2014 22:52:42 -0400 Organization: Carnegie Mellon University Message-ID: <87lhrbh81x.fsf@maru2.md5i.com> References: <87ha225s3m.fsf@debian.uxu> <87d2cnisrn.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406688800 5191 80.91.229.3 (30 Jul 2014 02:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2014 02:53:20 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Jul 30 04:53:10 2014 Return-path: Envelope-to: gegu-info-gnus-english@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 1XCK0s-0007Z9-Em for gegu-info-gnus-english@m.gmane.org; Wed, 30 Jul 2014 04:53:10 +0200 Original-Received: from localhost ([::1]:48723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCK0s-0003ob-3T for gegu-info-gnus-english@m.gmane.org; Tue, 29 Jul 2014 22:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCK0k-0003oW-Ts for info-gnus-english@gnu.org; Tue, 29 Jul 2014 22:53:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCK0f-0001SU-Hj for info-gnus-english@gnu.org; Tue, 29 Jul 2014 22:53:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCK0f-0001SN-Ag for info-gnus-english@gnu.org; Tue, 29 Jul 2014 22:52:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCK0d-0007Sj-9k for info-gnus-english@gnu.org; Wed, 30 Jul 2014 04:52:55 +0200 Original-Received: from md5i.com ([75.151.244.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 04:52:55 +0200 Original-Received: from mwd by md5i.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 04:52:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: md5i.com Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:hnVHGBjcvCZ6Ud9nvacJzKoi4WQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17001 Archived-At: Emanuel Berg writes: > Michael Welsh Duggan writes: > >> The important part here is that these are not real >> threads. They are individual messages with enough >> similarities that threading can be simulated. In Gnus >> parlance, they are "loose threads," and are put >> together during "thread gathering." Unfortunately, it >> seems like thread gathering happens after thread >> sorting, for some unknown reason. > > What does the distinction loose or real thread matter? > Why can't you have them all grouped by subject and then > sorted by number (or date) within each group? You seem to be missing my point. There are no threads to start -- or rather, every message is its own thread. Then they get sorted by the `gnus-thread-sort-functions'. Then the remaining threads (all individual messages still) are gathered as loose threads into real threads. Then the messages are sorted within each gathered thread. But the threads are no longer properly sorted with respect to each other, since the sorting was done before the gathering. See `gnus-summary-prepare': ;; Generate the buffer, either with threads or without. (when gnus-newsgroup-headers (gnus-summary-prepare-threads (if gnus-show-threads (gnus-sort-gathered-threads (funcall gnus-summary-thread-gathering-function (gnus-sort-threads (gnus-cut-threads (gnus-make-threads))))) ;; Unthreaded display. (gnus-sort-articles gnus-newsgroup-headers)))) I am wondering why the sorting (of threads) happens before the gathering into threads. -- Michael Welsh Duggan (md5i@md5i.com)