From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78685 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: thread sorting Date: Tue, 03 May 2011 14:28:37 +0200 Message-ID: <87pqo0ge8a.fsf@member.fsf.org> References: <877ha8dzja.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304425762 11125 80.91.229.12 (3 May 2011 12:29:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 May 2011 12:29:22 +0000 (UTC) Cc: ding@gnus.org To: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Original-X-From: ding-owner+M26987@lists.math.uh.edu Tue May 03 14:29: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 1QHEj7-0002VC-QH for ding-account@gmane.org; Tue, 03 May 2011 14:29:18 +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 1QHEih-0006vh-Mh; Tue, 03 May 2011 07:28:51 -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 1QHEig-0006vW-Ly for ding@lists.math.uh.edu; Tue, 03 May 2011 07:28:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QHEif-0004DS-9r for ding@lists.math.uh.edu; Tue, 03 May 2011 07:28:50 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QHEid-0000Ty-Ns for ding@gnus.org; Tue, 03 May 2011 14:28:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 703877818F0A; Tue, 3 May 2011 14:28:47 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28977-05; Tue, 3 May 2011 14:28:46 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id E8B797818F17; Tue, 3 May 2011 14:28:37 +0200 (CEST) In-Reply-To: <877ha8dzja.fsf@micropit.couberia.bzh> ("Peter =?utf-8?Q?M?= =?utf-8?Q?=C3=BCnster=22's?= message of "Tue, 03 May 2011 09:16:41 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78685 Archived-At: pmlists@free.fr (Peter M=C3=BCnster) writes: > How can I sort threads by date, so that the last message (by date) of > a thread will be always at the bottom of the thread and instead of > sorting threads by the root, I would like to sort them by the last > message. > > Example: > > some subject > =E2=94=9C=E2=96=BA > =E2=94=82=E2=94=94=E2=96=BA (A) > =E2=94=94=E2=96=BA > =E2=94=94=E2=96=BA (B) > some other subject > =E2=94=94=E2=96=BA > =E2=94=94=E2=96=BA (C) > > ---> C later than B later than A Have a look at: ,----[ C-h v gnus-thread-sort-functions RET ] | gnus-thread-sort-functions is a variable defined in `gnus-sum.el'. | Its value is (gnus-thread-sort-by-number | (not gnus-thread-sort-by-most-recent-date) | gnus-thread-sort-by-total-score) `---- I sort by score, then by date of last article, then by number. So you most probably want something like: (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-most-recent-date))) Bye, Tassilo --=20 Sent from my Emacs