all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Sorting with threads in Gnus
Date: Wed, 24 Jul 2013 14:21:02 +0800	[thread overview]
Message-ID: <87d2q8qy0h.fsf@ericabrahamsen.net> (raw)
In-Reply-To: m2mwpd3blc.fsf@riemann.mri.ernet.in

"N. Raghavendra" <raghu@hri.res.in> 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.




  reply	other threads:[~2013-07-24  6:21 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23  8:49 Sorting with threads in Gnus N. Raghavendra
2013-07-24  6:21 ` Eric Abrahamsen [this message]
2013-07-24  8:17   ` N. Raghavendra
2013-07-24 13:15   ` Tassilo Horn
2013-07-26  4:37     ` Eric Abrahamsen
2013-07-26  5:48       ` Tassilo Horn
2013-07-26  9:01         ` Eric Abrahamsen
2013-07-26 13:06           ` Tassilo Horn
2013-07-26 13:26             ` Tassilo Horn
2013-07-26 13:43               ` Tassilo Horn
2013-07-26 15:26                 ` Eric Abrahamsen
2013-07-26 16:56                   ` Tassilo Horn
2013-07-27  7:08                     ` Eric Abrahamsen
2013-07-26 17:40                 ` N. Raghavendra
2013-07-27  8:56                   ` Tassilo Horn
2013-07-27  9:19                     ` N. Raghavendra
2013-07-29  6:53                       ` Tassilo Horn
2013-07-29  7:42                         ` N. Raghavendra
2013-07-28  7:09                     ` N. Raghavendra
2013-07-28  8:03                       ` Michael Heerdegen
2013-07-28  9:50                         ` N. Raghavendra
2013-07-28 12:45                           ` Michael Heerdegen
2013-07-28 16:17                             ` N. Raghavendra
2013-07-30  7:05                               ` Tassilo Horn
2013-07-30  7:24                                 ` Eric Abrahamsen
2013-07-30  8:01                                   ` Tassilo Horn
2013-07-30 10:53                                     ` Eric Abrahamsen
2013-07-29  5:16                             ` N. Raghavendra
2013-07-30  8:07                       ` Tassilo Horn
2013-07-30 11:00                         ` N. Raghavendra
2013-07-30 12:33                           ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2q8qy0h.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.