From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78809 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with thread sorting Date: Thu, 12 May 2011 14:20:46 -0400 Message-ID: <87pqnn6arl.fsf@uwo.ca> References: <87hb94f4yk.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1305224589 9548 80.91.229.12 (12 May 2011 18:23:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 May 2011 18:23:09 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27109@lists.math.uh.edu Thu May 12 20:23:06 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QKaXQ-0003yI-E1 for ding-account@gmane.org; Thu, 12 May 2011 20:23:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QKaVY-000380-RN; Thu, 12 May 2011 13:21:08 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QKaVX-00037n-Kk for ding@lists.math.uh.edu; Thu, 12 May 2011 13:21:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QKaVU-0000aS-37 for ding@lists.math.uh.edu; Thu, 12 May 2011 13:21:05 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QKaVR-0003nD-Or for ding@gnus.org; Thu, 12 May 2011 20:21:01 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QKaVO-0002Hm-Ua for ding@gnus.org; Thu, 12 May 2011 20:20:58 +0200 Original-Received: from bas2-london14-1177569382.dsl.bell.ca ([70.48.72.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 May 2011 20:20:58 +0200 Original-Received: from jdc by bas2-london14-1177569382.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 May 2011 20:20:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas2-london14-1177569382.dsl.bell.ca User-Agent: Gnus/5.110012 (No Gnus v0.12) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:3imHVAEBtCkOx6KIrNK1cLaMXzg= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78809 Archived-At: pmlists@free.fr (Peter Münster) writes: > When the root of a thread is not in the summary buffer, the thread > sorting is wrong. I've also noticed bad sorting behaviour, and it might be the same issue you are seeing. Like you, I sort threads by the most recent date, and in my Inbox I often have every second article in a conversation (the messages I sent are stored in my Sent group). This causes Gnus to gather the articles together rather than treat them as one thread. I think what is happening is that this gathering is done *after* the threads are sorted. If I am right, then the solution is to form threads, gather them together to make "virtual" threads, and then sort those. However, I think the sorting code assumes that all threads are trees, so false roots would be needed. (Maybe false roots are always created behind the scenes no matter how gnus-summary-make-false-root is set?) I'm swamped right now, so I won't be able to come up with a patch, but maybe the above is enough to help someone else fix this. Dan