Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Sorting threads after gathering threads
@ 2014-07-27 22:27 Michael Welsh Duggan
  2014-08-12  0:15 ` Dan Christensen
  2014-08-12 11:20 ` N. Raghavendra
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Welsh Duggan @ 2014-07-27 22:27 UTC (permalink / raw)
  To: info-gnus-english

I am on an automated mailing list which I automatically filter into a
separate Gnus group.  Each message on this list is an individual,
non-threaded messages.  Many of these messages are indeed related, and
this can be determined by the subject.  I have put my own
subject-simplifying function in the `gnus-simplify-subject-functions'
variable for this group.  This correctly gathers the individual messages
into threads.

Now the problem: I want to sort the *Summary* buffer like this: Each
thread is sorted from the oldest to the newest message by date.  The
*Summary* buffer is sorted by the most recent date in each thread.

This seems like it should be simple: Set
`gnus-sort-gathered-threads-function' to `gnus-thread-sort-by-date', and
set `gnus-thread-sort-functions' to
`gnus-thread-sort-by-most-recent-date'.  (Well, I lie a little.  I
actually want the reverse of `gnus-thread-sort-by-most-recent-date',
putting the oldest threads at the top, but that's easy to hack.)

But this doesn't seem to do what I want.  It looks like Gnus makes
threads, sorts them, gathers the threads, and then sorts within the
threads.  The upshot is my threads get gathered correctly, and the
messages in a thread are sorted correctly, but the threads are sorted by
(I believe accident) the oldest message in each thread, rather than the
most recent.

Am I doing something wrong?  Is there another way to achieve my desired
result?

-- 
Michael Welsh Duggan
(md5i@md5i.com)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-12 11:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.6108.1406500221.1147.info-gnus-english@gnu.org>
2014-07-27 22:55 ` Sorting threads after gathering threads Emanuel Berg
2014-07-30  0:04   ` Michael Welsh Duggan
     [not found]   ` <mailman.6260.1406678726.1147.info-gnus-english@gnu.org>
2014-07-30  0:39     ` Emanuel Berg
2014-07-30  2:52       ` Michael Welsh Duggan
     [not found]       ` <mailman.6268.1406688789.1147.info-gnus-english@gnu.org>
2014-07-30  3:04         ` Emanuel Berg
2014-07-30  0:48     ` Emanuel Berg
2014-07-27 22:27 Michael Welsh Duggan
2014-08-12  0:15 ` Dan Christensen
2014-08-12 11:20 ` N. Raghavendra

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).