From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id sNtqCYl0ymHYSQAAsNZ9tg (envelope-from ); Tue, 28 Dec 2021 02:20:57 +0000 Received: from out1.migadu.com ([2001:41d0:2:863f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QIGQCIl0ymFtVQEA9RJhRA (envelope-from ); Tue, 28 Dec 2021 03:20:57 +0100 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1640658056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JxuXcO7DODNhb0BEgcYh/VflhQpfeBFeh49v+ykoVUA=; b=YmPZ9CWunC9tTnwePybHGc1cNu4MUW1F396AC21B2zKdw5Wj3EsfVIDwk6U3thRfUMKt3R phrQch39lvjsgBQ4FEhDPQzxe2Q7V9m3Okc6wQ2bCHIed8KfpCW98miqiIl/vZZ3WwTfJO 8UDwAaMvU81GIatfSWCO+yILjV8HJL75w7ztxAdlZ4O8b2/azWe+hobTDxQHMtwFOFHYsq 8oXxiwcp6gyWcOg1+sgA6ldJcZQnbW7w7UIeCm1fALBjv2xw4Jo/7nesk9aBE90hETw4JQ 6butFVALhqYj/hRnGdRsvlHkBUE3mIDv9mKwI2gzAj4X/t4L4+ZCIL/oqnPSJg== From: Kyle Meyer To: piem@inbox.kyleam.com Cc: Xinglu Chen Subject: [PATCH 0/6] lei q: Support displaying multiple threads Date: Mon, 27 Dec 2021 21:20:31 -0500 Message-Id: <20211228022037.206597-1-kyle@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyleam.com X-TUID: Iz51dzwK2dx2 In <871r96am1q.fsf@yoctocell.xyz>, Xinglu suggested adding support for displaying multiple threads: > I quite like the ‘notmuch-tree’ view, would it make sense to have > something similar if piem so one could display multiple threads in one > buffer, instead of just display a single thread (unless I haved missed > something) like ‘piem-lei-query-thread’? Patch 3 of this series implements that. Patch 1 adds a conceptually unrelated option, but that options makes patch 3 a bit cleaner, so I'm including it here. Patch 4-6 tweak the presentation of the output so that it works better with the display of multiple threads. [1/6] lei q: Allow initial input for query to be customized [2/6] lei q: Extract buffer names to variables [3/6] lei q: Support displaying multiple threads [4/6] lei q: Add date placeholder for ghost messages [5/6] lei q: Separate different threads with newline [6/6] lei q: Sort threads by date of initial message piem-lei.el | 103 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 81 insertions(+), 22 deletions(-) base-commit: 2b08667d9165da5381e6044b1ffa0bea90241110 -- 2.34.0