From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Sorting with threads in Gnus Date: Wed, 24 Jul 2013 14:21:02 +0800 Message-ID: <87d2q8qy0h.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374646864 19551 80.91.229.3 (24 Jul 2013 06:21:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 06:21:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 08:21:04 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 1V1sRb-0005KB-T4 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 08:21:04 +0200 Original-Received: from localhost ([::1]:33420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1sRb-0004iL-82 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 02:21:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1sRO-0004iB-IG for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 02:20:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1sRJ-0005Wo-7k for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 02:20:50 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1sRJ-0005Wd-0e for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 02:20:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V1sRD-0004nb-SX for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 08:20:39 +0200 Original-Received: from 114.250.130.112 ([114.250.130.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Jul 2013 08:20:39 +0200 Original-Received: from eric by 114.250.130.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Jul 2013 08:20:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 58 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.130.112 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:Uk414jQrp1gEIKN0JDBekJfVa9U= 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:92357 Archived-At: "N. Raghavendra" writes: > I have > > (setq gnus-thread-sort-functions > '(gnus-thread-sort-by-number (not gnus-thread-sort-by-date))) Maybe look at `gnus-sort-gathered-threads-function? Here's what I use: (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date) gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date) HTH, Eric > in my Gnus init file. This sorts threads the way I want --- decreasing > order of dates, latest to earliest. However, it seems to sort messages > within a thread also in decreasing order of date, as in this example > from the gmane.emacs.help group: > > 01 2013-07-07 02:48 Chris Seberino > Trouble binding Alt ... > 02 2013-07-07 10:38 Chris Seberino |-> > 03 2013-07-07 18:21 Pascal J. Bourguigno | |-> > 04 2013-07-08 02:20 Chris Seberino | | \-> > 05 2013-07-08 03:36 Pascal J. Bourguigno | | \-> > 06 2013-07-07 17:54 Raffaele Ricciardi | |-> > 07 2013-07-07 09:19 Yuri Khan |-> > 08 2013-07-07 08:14 Bob Proulx |-> > 09 2013-07-07 03:51 Peter Dyballa |-> > 10 2013-07-07 03:46 Pascal J. Bourguigno |-> > > I want the messages in the thread and each subthread to be sorted in > increasing order of date, like this: > > 01 2013-07-07 02:48 Chris Seberino > Trouble binding Alt ... > 10 2013-07-07 03:46 Pascal J. Bourguigno |-> > 09 2013-07-07 03:51 Peter Dyballa |-> > 08 2013-07-07 08:14 Bob Proulx |-> > 07 2013-07-07 09:19 Yuri Khan |-> > 02 2013-07-07 10:38 Chris Seberino \-> > 06 2013-07-07 17:54 Raffaele Ricciardi |-> > 03 2013-07-07 18:21 Pascal J. Bourguigno \-> > 04 2013-07-08 02:20 Chris Seberino \-> > 05 2013-07-08 03:36 Pascal J. Bourguigno \-> > > This is the way it is on the Gmane page of the thread at > http://thread.gmane.org/gmane.emacs.help/91990 (with the time zone 3.5 > hours behind the time zone above). Is there a way to get this > Gmane-like order (main threads decreasing, all subthreads increasing) in > Gnus? > > Thanks and best regards, > Raghavendra. > > PS: I posted this to the gmane.emacs.gnus.user mailing list several days > ago, with no response. I am posting this here in case some one here has > suggestions.