help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Sorting with threads in Gnus


From: N. Raghavendra
Subject: Re: Sorting with threads in Gnus
Date: Sun, 28 Jul 2013 12:39:23 +0530
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

At 2013-07-27T10:56:39+02:00, Tassilo Horn wrote:

> I think, you are still running the emacs builtin version of Gnus.  At
> least your last posting still said
>
>   User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
>
> where it should be
>
>   User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)
>
> for the git version of Gnus.

Okay, I've found why the Git version wasn't loaded.  I was loading
org-contacts before

(add-to-list 'load-path "/pkg/gnus/lisp")
(require 'gnus-load)

in my .emacs.  Org-contacts requires Gnus, so the old version of Gnus
was already loaded before the above expressions were evaluated.  Now,
I've changed the order of loading, putting the above before loading
org-contacts.  Now

M-x gnus-version

gives "Ma Gnus v0.8" as desired.

As for the original problem, the test thread is now sorted like this:

O. 2013-07-07 02:48   Chris Seberino         ● Trouble binding Alt ...
O. 2013-07-07 03:46   Pascal J. Bourguigno   ┣━□ 
O. 2013-07-07 09:19   Yuri Khan              ┣━□ 
O. 2013-07-07 03:51   Peter Dyballa          ┣━□ 
O. 2013-07-07 08:14   Bob Proulx             ┣━□ 
O. 2013-07-07 10:38   Chris Seberino         ┗━■ 
O. 2013-07-07 18:21   Pascal J. Bourguigno     ┣━□ 
O. 2013-07-08 02:20   Chris Seberino           ┃ ┗━■ 
O. 2013-07-08 03:36   Pascal J. Bourguigno     ┃   ┗━■ 
O. 2013-07-07 17:54   Raffaele Ricciardi       ┗━■ 

It isn't quite the ascending order by date within the thread: Yuri
Khan's article should've been two positions below, and Raffaele
Ricciardi's three positions above.

I have

(setq gnus-sort-threads-recursively nil)

(setq gnus-thread-sort-functions
      '(gnus-thread-sort-by-number (not gnus-thread-sort-by-date)))

(setq gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date)

in my Gnus init file.

Best regards,
Raghu.

-- 
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/




reply via email to

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