Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 34BC3431FB6 for ; Wed, 9 Feb 2011 12:03:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DfEc9mbzB+52 for ; Wed, 9 Feb 2011 12:03:34 -0800 (PST) Received: from CERNMX32.cern.ch (cernmx32.cern.ch [137.138.144.178]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 452DD431FB5 for ; Wed, 9 Feb 2011 12:03:34 -0800 (PST) Received: from CERNFE20.cern.ch (137.138.144.155) by cernmxgwlb2.cern.ch (137.138.144.178) with Microsoft SMTP Server (TLS) id 14.1.270.1; Wed, 9 Feb 2011 21:03:31 +0100 Received: from localhost (134.158.88.68) by smtp.cern.ch (137.138.144.172) with Microsoft SMTP Server (TLS) id 14.1.270.2; Wed, 9 Feb 2011 21:03:31 +0100 From: Sebastien Binet To: Jesse Rosenthal , Daniel Kahn Gillmor , Jameson Rollins Subject: Re: ordering threads by the latest message in a thread ? In-Reply-To: References: <87zkq5y2tq.fsf@cern.ch> <878vxp2ii5.fsf@servo.finestructure.net> <4D52DB62.5060604@fifthhorseman.net> User-Agent: Notmuch/0.5-63-g62725a5 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-unknown-linux-gnu) Date: Wed, 9 Feb 2011 21:03:06 +0100 Message-ID: <87lj1px9fp.fsf@cern.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Originating-IP: [134.158.88.68] Keywords: CERN SpamKiller Note: -50 Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 20:03:36 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 9 Feb 2011 13:36:17 -0500, Jesse Rosenthal wro= te: >=20 > On Wed, 09 Feb 2011 13:22:26 -0500, Daniel Kahn Gillmor wrote: > >=20 > > Jameson, are you saying that "Search Oldest First" not only inverts the > > order of the threads, but also changes the a date a given thread is > > associated with?=20=20 >=20 > The procedure is to match threads by either the oldest matching message > (in oldest first) or newest matching message (in newest first). So > matching newest first will make the thread with new messages go to the > top. But in oldest first -- which is what I imagine Sebastian was > looking at in the inbox -- the thread with an older inbox message will > appear further up. >=20 > So if Sebastian's message is tagged "inbox" this thread will appear, > under oldest-first, when he sent it; if it's not but Jamie's is, then it > will appear under Jamie's. But it'll appear under mine regardless in > newest first. I don't believe emacs has anything to do with it -- it's > how the nm binary orders threads as output to "search." aha! I knew about the 'o' toggle that one could play with to display the threads, but I didn't notice this also modified how their ordering worked out:=20 I naively thought it was just a matter of reverting the list. so, say I have the following messages and threads: id_0 1/3 [important meeting] - (received Monday) id_1 2/3 [important meeting] - (received Tuesday) id_2 1/1 [pick groceries] - (received Wednesday) id_3 3/3 [important meeting] - (received Thursday) id_4 1/1 [another title] - (received Friday morning) if I have 'Search Oldest first' "on", I'd get the following id_0 [and id_1 and id_3 folded in] id_2=20 id_4 and if it is "off": id_4 id_0 [and id_1 and id_3 folded in] id_2 but what I'd like to have is instead: id_2 id_0 [and id_1 and id_3 folded in] id_4 id_0 and friends come after id_2 because id_3 is more recent than id_2 but older than id_4 so: oldest first but only the latest of the messages of a thread to be considered for the thread-to-thread ordering. I prefer to process my emails like a stack growing from top to bottom ;) =2Ds --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk1S8voACgkQPj4AVbsZCCZJVQCg9pTPskMycyKc32kJj84Tl+Co PJcAoMB0SkNyvFAaRUaTSUtG5Ak6jghi =QtWK -----END PGP SIGNATURE----- --=-=-=--