From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: Sorting with threads in Gnus Date: Sun, 28 Jul 2013 12:39:23 +0530 Message-ID: <87bo5nduu4.fsf@griffin.dhcp1.hri> References: <87d2q8qy0h.fsf@ericabrahamsen.net> <87vc40drow.fsf@thinkpad.tsdh.org> <871u6mlyx5.fsf@ericabrahamsen.net> <87iozxq3ca.fsf@thinkpad.tsdh.org> <87d2q5lmo3.fsf@ericabrahamsen.net> <87ppu5wjw8.fsf@thinkpad.tsdh.org> <87li4twiy9.fsf@thinkpad.tsdh.org> <87ehalwi6j.fsf@thinkpad.tsdh.org> <871u6li5im.fsf@griffin.dhcp1.hri> <8738r0v0s8.fsf@thinkpad.tsdh.org> Reply-To: "N. Raghavendra" NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1374995396 27853 80.91.229.3 (28 Jul 2013 07:09:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2013 07:09:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 09:09:58 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3L78-0007XT-ED for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 09:09:58 +0200 Original-Received: from localhost ([::1]:41762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3L77-00024I-SZ for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 03:09:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3L6s-000240-E2 for help-gnu-emacs@gnu.org; Sun, 28 Jul 2013 03:09:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3L6m-0004JM-PD for help-gnu-emacs@gnu.org; Sun, 28 Jul 2013 03:09:42 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3L6m-0004J5-I6 for help-gnu-emacs@gnu.org; Sun, 28 Jul 2013 03:09:36 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3L6k-0007JY-5Z for help-gnu-emacs@gnu.org; Sun, 28 Jul 2013 09:09:34 +0200 Original-Received: from 14.139.59.140 ([14.139.59.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jul 2013 09:09:34 +0200 Original-Received: from raghu by 14.139.59.140 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jul 2013 09:09:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 62 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 14.139.59.140 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:fNAa/DmxySxo5vnPZR6lPjD4v8c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92482 Archived-At: 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 , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/