[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deficient thread sorting in summary view

From: Eric Abrahamsen
Subject: Re: Deficient thread sorting in summary view
Date: Thu, 12 Jul 2012 15:55:56 +0800
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

On Thu, Jul 12 2012, Tassilo Horn wrote:

> Eric Abrahamsen <> writes:
>>> Is there a chance that you've set a different sorting strategy in the
>>> group you used for testing (e.g., as a group parameter which might
>>> end up in ~/.newsrc.eld)?  What does `C-h v
>>> gnus-thread-sort-functions' in that wrongly sorted summary tell?
>> It's the same thing thereā€¦ I really don't think I've customized
>> anything else.
>> I've also got:
>> gnus-sort-gathered-threads-function -> gnus-thread-sort-by-date
>> Which I'd think was correct.
> Ok, here I have the default value `gnus-thread-sort-by-number'.  But
> judging from its docs, that should't make a difference with respect to
> the sorting between two different threads.  However, you still might
> want to try that out.  It could be possible that some summary sorting
> code accidentally uses the wrong variable to get the sorting function,
> and since nobody customized `gnus-sort-gathered-threads-function' except
> for you, it never attracted attention...  (Well, unlikely, but go
> ahead.)

I figured it out! Well, nearly (`gnus-sort-gathered-threads-function'
wasn't the problem).

I used the customize interface to set `gnus-thread-sort-functions', and
it worked exactly as advertised. Now the remaining, minor mystery is,
what's the difference between this in my .emacs:

--8<---------------cut here---------------start------------->8---
  (quote (gnus-thread-sort-by-number
  (not gnus-thread-sort-by-most-recent-date))))
--8<---------------cut here---------------end--------------->8---

and this in my gnus.el:

--8<---------------cut here---------------start------------->8---
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-number
      (not gnus-thread-sort-by-most-recent-date)))
--8<---------------cut here---------------end--------------->8---

Anyway, that 80% of the problem solved.


GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-07-08 on pellet
Ma Gnus v0.6

reply via email to

[Prev in Thread] Current Thread [Next in Thread]