From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16996 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.user Subject: Sorting threads after gathering threads Date: Sun, 27 Jul 2014 18:27:17 -0400 Organization: Carnegie Mellon University Message-ID: <87iomiigje.fsf@maru2.md5i.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406500228 15341 80.91.229.3 (27 Jul 2014 22:30:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2014 22:30:28 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jul 28 00:30:22 2014 Return-path: Envelope-to: gegu-info-gnus-english@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 1XBWxS-0003jb-Dg for gegu-info-gnus-english@m.gmane.org; Mon, 28 Jul 2014 00:30:22 +0200 Original-Received: from localhost ([::1]:36561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWxS-00066c-0P for gegu-info-gnus-english@m.gmane.org; Sun, 27 Jul 2014 18:30:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWxJ-00065c-T4 for info-gnus-english@gnu.org; Sun, 27 Jul 2014 18:30:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBWxD-000668-Lk for info-gnus-english@gnu.org; Sun, 27 Jul 2014 18:30:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBWxD-00065Y-Fw for info-gnus-english@gnu.org; Sun, 27 Jul 2014 18:30:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XBWx9-0003c9-J9 for info-gnus-english@gnu.org; Mon, 28 Jul 2014 00:30:03 +0200 Original-Received: from md5i.com ([75.151.244.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2014 00:30:03 +0200 Original-Received: from mwd by md5i.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2014 00:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: md5i.com Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:Y9kIoEZqRWPKn9HxDYQE0BjpqUs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16996 Archived-At: I am on an automated mailing list which I automatically filter into a separate Gnus group. Each message on this list is an individual, non-threaded messages. Many of these messages are indeed related, and this can be determined by the subject. I have put my own subject-simplifying function in the `gnus-simplify-subject-functions' variable for this group. This correctly gathers the individual messages into threads. Now the problem: I want to sort the *Summary* buffer like this: Each thread is sorted from the oldest to the newest message by date. The *Summary* buffer is sorted by the most recent date in each thread. This seems like it should be simple: Set `gnus-sort-gathered-threads-function' to `gnus-thread-sort-by-date', and set `gnus-thread-sort-functions' to `gnus-thread-sort-by-most-recent-date'. (Well, I lie a little. I actually want the reverse of `gnus-thread-sort-by-most-recent-date', putting the oldest threads at the top, but that's easy to hack.) But this doesn't seem to do what I want. It looks like Gnus makes threads, sorts them, gathers the threads, and then sorts within the threads. The upshot is my threads get gathered correctly, and the messages in a thread are sorted correctly, but the threads are sorted by (I believe accident) the oldest message in each thread, rather than the most recent. Am I doing something wrong? Is there another way to achieve my desired result? -- Michael Welsh Duggan (md5i@md5i.com)