Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: info-gnus-english@gnu.org
Subject: Re: Threads sorting doesn't work?
Date: Sat, 01 Nov 2014 23:25:04 -0700	[thread overview]
Message-ID: <8761eyyv9b.fsf@uw.edu> (raw)
In-Reply-To: <m2ioiyu7ip.fsf@gmail.com>

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



  parent reply	other threads:[~2014-11-02  6:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-01 17:59 Andrey Lisin
2014-11-02  0:12 ` Michael Heerdegen
2014-11-02  6:25 ` Brady Trainor [this message]
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
     [not found] <mailman.12537.1414865122.1147.info-gnus-english@gnu.org>
2014-11-02  1:48 ` Emanuel Berg
     [not found]   ` <m2h9yi43n3.fsf@gmail.com>
2014-11-02  5:47     ` Emanuel Berg
2014-11-02  6:30       ` Andrey Lisin

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=8761eyyv9b.fsf@uw.edu \
    --to=algebrat@uw.edu \
    --cc=info-gnus-english@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.
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).