* Re: Threads sorting doesn't work?
[not found] <mailman.12537.1414865122.1147.info-gnus-english@gnu.org>
@ 2014-11-02 1:48 ` Emanuel Berg
[not found] ` <m2h9yi43n3.fsf@gmail.com>
0 siblings, 1 reply; 9+ messages in thread
From: Emanuel Berg @ 2014-11-02 1:48 UTC (permalink / raw)
To: info-gnus-english
Andrey Lisin <andrey.lisin@gmail.com> writes:
> According to Gnus documentation threads should be
> sorted by the most recent date firstly. But what I
> see in summary buffer is the oldest threads go on
> top and the most recent go down. Am I doing
> something wrong?
Not what I can see. But the documentation also
includes this:
Each function takes two threads and returns 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. Also note that
sorting by date is often much slower than sorting
by number, and the sorting order is very similar.
(Sorting by date means sorting by the time the
message was sent, sorting by number means sorting
by arrival time.)
So perhaps you could try that and see it it works?
--
underground experts united
^ permalink raw reply [flat|nested] 9+ messages in thread
* Threads sorting doesn't work?
@ 2014-11-01 17:59 Andrey Lisin
2014-11-02 0:12 ` Michael Heerdegen
2014-11-02 6:25 ` Brady Trainor
0 siblings, 2 replies; 9+ messages in thread
From: Andrey Lisin @ 2014-11-01 17:59 UTC (permalink / raw)
To: info-gnus-english
Hello everyone!
I'm new to Gnus and faced with the first troubles with it. I have
(setq gnus-thread-sort-functions
'(gnus-thread-sort-by-subject
(not gnus-thread-sort-by-total-score)
gnus-thread-sort-by-most-recent-date))
According to Gnus documentation threads should be sorted by the most
recent date firstly. But what I see in summary buffer is the oldest
threads go on top and the most recent go down. Am I doing something
wrong?
Thank you.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Threads sorting doesn't work?
2014-11-01 17:59 Andrey Lisin
@ 2014-11-02 0:12 ` Michael Heerdegen
2014-11-02 6:25 ` Brady Trainor
1 sibling, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2014-11-02 0:12 UTC (permalink / raw)
To: info-gnus-english
Andrey Lisin <andrey.lisin@gmail.com> writes:
> (setq gnus-thread-sort-functions
> '(gnus-thread-sort-by-subject
> (not gnus-thread-sort-by-total-score)
> gnus-thread-sort-by-most-recent-date))
>
> According to Gnus documentation threads should be sorted by the most
> recent date firstly. But what I see in summary buffer is the oldest
> threads go on top and the most recent go down. Am I doing something
> wrong?
For me it seems to work as expected.
How do you evaluate your code?
Michael.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Threads sorting doesn't work?
2014-11-01 17:59 Andrey Lisin
2014-11-02 0:12 ` Michael Heerdegen
@ 2014-11-02 6:25 ` Brady Trainor
2014-11-02 6:41 ` Andrey Lisin
[not found] ` <mailman.12574.1414911747.1147.info-gnus-english@gnu.org>
1 sibling, 2 replies; 9+ messages in thread
From: Brady Trainor @ 2014-11-02 6:25 UTC (permalink / raw)
To: info-gnus-english
Andrey Lisin <andrey.lisin@gmail.com> writes:
> Hello everyone!
>
> I'm new to Gnus and faced with the first troubles with it. I have
>
> (setq gnus-thread-sort-functions
> '(gnus-thread-sort-by-subject
> (not gnus-thread-sort-by-total-score)
> gnus-thread-sort-by-most-recent-date))
>
> According to Gnus documentation threads should be sorted by the most
> recent date firstly. But what I see in summary buffer is the oldest
> threads go on top and the most recent go down. Am I doing something
> wrong?
>
> Thank you.
I was maybe as new as you not too long ago, and ran into a similar problem. It was because I had inadvertently toggled threading off, and this "mode" needed to have sorting enabled as well, a la article-thread-sort-functions.
Perhaps this would work:
--8<---------------cut here---------------start------------->8---
(setq gnus-thread-sort-functions
'((not gnus-thread-sort-by-date)))
(setq gnus-article-sort-functions
'((not gnus-article-sort-by-date)))
--8<---------------cut here---------------end--------------->8---
HTH
--
Brady
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-11-02 14:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.12537.1414865122.1147.info-gnus-english@gnu.org>
2014-11-02 1:48 ` Threads sorting doesn't work? Emanuel Berg
[not found] ` <m2h9yi43n3.fsf@gmail.com>
2014-11-02 5:47 ` Emanuel Berg
2014-11-02 6:30 ` Andrey Lisin
2014-11-01 17:59 Andrey Lisin
2014-11-02 0:12 ` Michael Heerdegen
2014-11-02 6:25 ` Brady Trainor
2014-11-02 6:41 ` Andrey Lisin
[not found] ` <mailman.12574.1414911747.1147.info-gnus-english@gnu.org>
2014-11-02 14:12 ` Emanuel Berg
2014-11-02 14:41 ` Andrey Lisin
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).