From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79023 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with thread sorting Date: Sat, 04 Jun 2011 00:50:10 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87hb94f4yk.fsf@micropit.couberia.bzh> <878vtn8hnk.fsf@micropit.couberia.bzh> <878vtkcojo.fsf@uwo.ca> <87mxhymtr1.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1307141482 20841 80.91.229.12 (3 Jun 2011 22:51:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2011 22:51:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27323@lists.math.uh.edu Sat Jun 04 00:51:18 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSdD1-0003j0-6b for ding-account@gmane.org; Sat, 04 Jun 2011 00:51:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QSdCn-00025w-5T; Fri, 03 Jun 2011 17:51:01 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QSdCl-00025h-FB for ding@lists.math.uh.edu; Fri, 03 Jun 2011 17:50:59 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QSdCk-0000RO-9f for ding@lists.math.uh.edu; Fri, 03 Jun 2011 17:50:59 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QSdCi-0006lI-Qp for ding@gnus.org; Sat, 04 Jun 2011 00:50:56 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QSdCg-0003Wy-JL for ding@gnus.org; Sat, 04 Jun 2011 00:50:54 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Jun 2011 00:50:54 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Jun 2011 00:50:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIVBMVEXLiBiNGTFzOiH9wQL3 rwKQITKDUiSkLDHvoQOSaTKedDqxhyAgAAACLElEQVQ4jX2UMY+bQBCFV84JLf4VZKVwZ1eWoHBp iS2o06RFKCH4ShexdNXKXp2mToHElVdcZH5l3swCd3akrIyx5+O9YZYZlLlZTd/3A5aaI+mLUmq4 ALxcgbXOrSWvhhtFcs4ya8uS3LAXzQhWiGe5LT1UgQSQfsoEyHKXd9By3JZEBDtachoBqwKXh8N6 4BgSAd9DHJ+s2EKmur5nkCLCycUvh8J1jYAHm+WIRfhZWZtDEjd7BneWjRahnoLvQTUNQEoMFuYR 9b6ZFpWQitkqIeuLjXn8czwen96gL10ALZW2+L3mOMhrUhJ2k600kd+YEAfB/xlof1ofp/X6QE5A qkj5+ucMfqUugEQ55WYn9oJTNILnVGI/5LuuVNUIeK4W9xxBfXw6JKhPQFTVDA4Ack6ipqkFNBL4 OoG0EVBBaL4FJ/FiwMn/A6JbEFVxB6BvcyRcCJLrf+4KIGZwW0cLsBSgFp+xFdOeGO1GBc586TAB CiB1pDQneRqGJTutCNvLAA9Gn+7n3a0fGHTyoJx2ZgaGSAfQkiO/+DIJEumfTrrEa9qZYHYw3pYW fQ2wIirJnoTU3PhnS9I+SIKBKUIntgXaNS8vAlqyJXpx1zT7u0ya3o3djgE727HdsxIzEY/zoTFg xUi2OHbT4CRIkdvMwoQxC8YZhKTIcPteZI4nPYCV56vHtbm8A1MJsTxY2/jjC4AJL0lwBcxee35n OH7LXAGT9niifTfGh792d11Kci/tagAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Suddenly, Tammy!'s _Soil Samples_: "My Hat" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:kEoshjxJvcEdc7f/vI2458pz+SU= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79023 Archived-At: pmlists@free.fr (Peter Münster) writes: > No. I see 2 issues: the sorting of the sub-threads in a gathered thread, > and the sorting of the gathered threads themselves. Both seem wrong to > me. Right... This is how it's done: (gnus-sort-gathered-threads (funcall gnus-summary-thread-gathering-function (gnus-sort-threads (gnus-cut-threads (gnus-make-threads))))) First each thread is sorted, then they are gathered, and then the threads inside the gathered threads are sorted individually. You would rather that the threads be gathered first, then the threads are sorted (somehow), and then the threads inside the gathered threads would be sorted. However, I don't think that can be done. Take the default sorting parameter now -- sort by root article number. What's the root article number of a gathered thread? The article number of the first thread? The article number of the first thread after sorting the sub-threads? Or what? So I think what it does now is reasonable. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/