Gnus development mailing list
 help / color / mirror / Atom feed
From: Danny Siu <dsiu@Adobe.COM>
Subject: Re: Help with Message Sorting!
Date: 17 Jul 1998 10:13:07 -0700	[thread overview]
Message-ID: <yj9ww9cfljw.fsf@adobe.com> (raw)
In-Reply-To: Jake Colman's message of "16 Jul 1998 15:20:23 -0400"

Jake Colman writes:

  Jake> If that's the case, what do I want to do instead that would be the
  Jake> equivalent of thrading?  I want all messages with the same subject
  Jake> to be listed together under a single entry, and sorted by date
  Jake> within the thread.  Can do?

Of course, it is *Gnus*!  ;-)

This is what you need to do:

(setq gnus-thread-sort-functions '(gnus-thread-sort-by-date
				   gnus-thread-sort-by-subject
                                   gnus-thread-sort-by-total-score))


Here is the reference:

`gnus-thread-sort-functions' is a variable declared in Lisp.

Value: (gnus-thread-sort-by-date gnus-thread-sort-by-subject gnus-thread-sort-by-total-score)

Documentation:
*List of functions used for sorting threads in the summary buffer.
By default, threads are sorted by article number.

Each function takes two threads and return non-nil if the first thread
should be sorted before the other.  If you use more than one function,
the primary sort function should be the last.  You should probably
always include `gnus-thread-sort-by-number' in the list of sorting
functions -- preferably first.

Ready-made functions include `gnus-thread-sort-by-number',
`gnus-thread-sort-by-author', `gnus-thread-sort-by-subject',
`gnus-thread-sort-by-date', `gnus-thread-sort-by-score' and
`gnus-thread-sort-by-total-score' (see `gnus-thread-score-function').

  Jake> -- Jake Colman

Hope this helps!
-- 
=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Danny Dick-Fung Siu                              mailto:dsiu@adobe.com 
 PSD Core Engineering              mailto:dsiu@alumni.eecs.berkeley.edu 
 Adobe Systems Incorporated          http://www.csua.berkeley.edu/~dsiu 
=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


  parent reply	other threads:[~1998-07-17 17:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-15 22:46 Jake Colman
1998-07-16 18:54 ` Justin Sheehy
1998-07-16 19:20   ` Jake Colman
1998-07-17 13:28     ` Justin Sheehy
1998-07-17 16:03       ` Jake Colman
1998-07-17 17:35         ` Justin Sheehy
1998-07-17 17:13     ` Danny Siu [this message]
1998-07-17 17:55       ` Jake Colman

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=yj9ww9cfljw.fsf@adobe.com \
    --to=dsiu@adobe.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).