From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UJS3CSSVBGF2KAEAgWs5BA (envelope-from ) for ; Sat, 31 Jul 2021 02:11:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4NmBBSSVBGHuagAA1q6Kng (envelope-from ) for ; Sat, 31 Jul 2021 00:11:16 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0FA9B218BD for ; Sat, 31 Jul 2021 02:11:15 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D6C69296CD; Fri, 30 Jul 2021 20:11:12 -0400 (EDT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id 1E6702B1E9 for ; Thu, 10 Jun 2021 21:27:43 -0400 (EDT) Received: from fencepost.gnu.org ([2001:470:142:3::e]:44256) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrVxU-0001HL-Fo for notmuch@notmuchmail.org; Thu, 10 Jun 2021 21:27:40 -0400 Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:42946 helo=osgiliath.local) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVxU-0007rH-Av for notmuch@notmuchmail.org; Thu, 10 Jun 2021 21:27:40 -0400 Received: by osgiliath.local (Postfix, from userid 1000) id 0E43541565; Fri, 11 Jun 2021 02:27:38 +0100 (BST) From: Jose Antonio Ortega Ruiz To: notmuch@notmuchmail.org Subject: sorting in show tree X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Fri, 11 Jun 2021 02:27:38 +0100 Message-ID: <87im2l5gxh.fsf@gnus.jao.io> MIME-Version: 1.0 X-MailFrom: jao@gnu.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: 4HQW5TBWNIHGKJV7GJMTHL2XH5NWHVBK X-Message-ID-Hash: 4HQW5TBWNIHGKJV7GJMTHL2XH5NWHVBK X-Mailman-Approved-At: Sat, 31 Jul 2021 00:11:10 -0400 X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627690275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=xHDU6GxT4wh4zAbwyExJIW3OSmkxRy3q9gttVkDubdY=; b=T1zNdnr6JpQBjHN6cYACQJGFJMo8FIce0PqmFmykSlX4E3n2GNlcWaMoWOB/k4Ze/K6V60 pIH0ZeMpa9Trivu1v8c0WHIujCUfodx230YeLVDaZp5s2z/QD/ERaR+QpDdwZ+VKa2dKWM /nO4rIhjj1fkbthcUsI7KXp+e6wkoa05i4/6yg3fk05SAvoXqVHF+FnIqsn/xpBPHYzlAe pndUKRUssZCvv10fKWGu/g6IIGKlX2tm5c/GS1/xT9wRf4ouENf1KFn7Jynd2UE7WFwLIM PgQqUDaKqiwxU2PBorziCr8qb+D4GBqpeRaELlPgONeUOe/hO7FlVosyN062oQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627690275; a=rsa-sha256; cv=none; b=pYq3YF4TUWYGEDIFouqG9ddJ2N+kdIh/tT/Y+4wy3xSHIVY6Mo9/jTiJ2Udvb85hL4W1oB 7VAp9c+ShiVtixPa/viFX2qf1KiCYn9y6h7/6RHxXunSI4tUse9ruT8CklBOu12st/JJHg 0ZRYa6R3hbnRDllYyTBoOc8s7nCnVmatHbzp7NgBlQ0AK06BztX/LAnbZf3ZR+mq1xam// GgbeZX8JXGv3AIMemTKQsio3sQjcTztunFuYK22Iup+iXdSO1PTMZzYQwrJ0Sq12yarjfh eFQ0e6+sVz4HhT5DcflE/nj8BvpebzwjuHom68v9FVISWyEfhq5SV++lK78wIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gnu.org (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0FA9B218BD X-Spam-Score: -0.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: /vt1iG48ZJv4 Hi, I wanted to be able to sort oldest-first in notmuch-tree view (inside emacs). Turns out that needed 'notmuch show' to accept a --sort argument (as search does). I've given it a try (with the patient help of David on IRC) in this repo: https://jao.io/cgit/notmuch/log/?h=tree-sort. With that in place, it was also pretty straightforward to make 'o' work in notmuch-tree-mode to toggle the thread ordering. Hope you find it useful! Cheers, jao -- In my youth I thought of writing a satire on mankind; but now in my old age I think I should write an apology for them. -Horace Walpole