Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: Andrey Lisin <andrey.lisin@gmail.com>
Cc: info-gnus-english@gnu.org
Subject: [gmane.emacs.gnus.user] Re: Threads sorting doesn't work?
Date: Sat, 01 Nov 2014 23:39:02 -0700	[thread overview]
Message-ID: <871tpmjed5.fsf@uw.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]


This is my messy way of making sure you got the message, I should have used S W for very wide reply, in case you were not setup to discover replies in good time. 

And please disregard the expression below,  "article-thread-sort-functions". I am sure I made it up.

Sorry for the noise. 

--
Brady


[-- Attachment #2: Type: message/rfc822, Size: 5143 bytes --]

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
Message-ID: <8761eyyv9b.fsf@uw.edu>

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





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

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=871tpmjed5.fsf@uw.edu \
    --to=algebrat@uw.edu \
    --cc=andrey.lisin@gmail.com \
    --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).