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 4L1tF98UuGBjCQEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 01:31:43 +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 xN2dEt8UuGDlOwAA1q6Kng (envelope-from ) for ; Wed, 02 Jun 2021 23:31:43 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CDEBA1CEF1 for ; Thu, 3 Jun 2021 01:31:42 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4F83C2B237; Wed, 2 Jun 2021 19:31:27 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 4D1C42B227 for ; Wed, 2 Jun 2021 19:31:20 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0CDDA5FD27; Wed, 2 Jun 2021 19:31:20 -0400 (EDT) Received: (nullmailer pid 858599 invoked by uid 1000); Wed, 02 Jun 2021 23:31:16 -0000 From: David Bremner To: Tomi Ollila , David Bremner , Alan Schmitt , notmuch Subject: [PATCH 2/2] emacs/tree: use notmuch-show-single-message Date: Wed, 2 Jun 2021 20:31:08 -0300 Message-Id: <20210602233108.855449-3-david@tethera.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210602233108.855449-1-david@tethera.net> References: <20210602233108.855449-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: SOBJYPAF5475RITKPEBXYON4IB3WYCJS X-Message-ID-Hash: SOBJYPAF5475RITKPEBXYON4IB3WYCJS X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header 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=1622676702; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=solLKENfURYCovQ7OePPKEluxsCxjiGA+qsVhctx1Kc=; b=AmZ9z+t8yZohjmfuz6D0xGHNiw1xwbe8QHyiw8mmKGJ6XCxWLM2DkObYzeS3aSlCSVprz9 QJHmmbe+e4k9SmvUeYS2RsEuMP6GlPITep0NiBX9lNjkiUBPhlbcFXOL7DRpydUY8T0eJC Yf1VOXYoNXvptb+v9sSt5o9s1/L5hT2MTdnaPoZgVRdLIBQG/mUIlvEVHJswHr+6n3p0nW o4r6nYGC0zZHaSUvcqrbd+jZFxai50nuit2N3lEEVlSajtiPxRA83QMPYxb0fF1ToltLFK e2NuaRqZ7+0X3oqbWeIxrI1lcc1JGik119lGHUVvDMcD5JDDq2ladaeobuLrAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622676702; a=rsa-sha256; cv=none; b=N4pXY6xfpBNhsg/jUBwdDf5hpn1LKPz2MDUdJai1W/5h9+A+6XeL9ZXnsGN2acyd/4Er27 Imq8hMA0ts8wPKt/m9upMuCOx9DlzEb6EMhVRMiZ23qfeIToCdTPXj89qdBUswTs9NLp5W FQeKGHzZqX/uWgrzXjph+Q+/a9zcz8rWIbCG/xvdLAZg34SV4eoX685Yz0js73rdfLIb0F +jPNlUCloUGLwOakThdCQL85jfu4OpLfYeedGlHpqM9E3FLwlwuKtiMVvrJMp3AfI00DN/ j/ET8wW6N26lLSPqDV6257JvHaQSqOCGcV0oe/hspUJhzX9lOXrZ6wL733672g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: CDEBA1CEF1 X-Spam-Score: -1.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: bOSj8C15YI7i This is more efficient that notmuch-show-only-matching-messages, since we do not parse the potentially large thread structure to find a single message. --- emacs/notmuch-tree.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 13007a13..f111cb95 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -574,7 +574,7 @@ NOT change the database." (with-selected-window notmuch-tree-message-window (let (;; Since we are only displaying one message do not indent. (notmuch-show-indent-messages-width 0) - (notmuch-show-only-matching-messages t) + (notmuch-show-single-message t) ;; Ensure that `pop-to-buffer-same-window' uses the ;; window we want it to use. (display-buffer-overriding-action -- 2.30.2