From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id C3B5A6DE0F8A for ; Thu, 28 Nov 2019 08:14:39 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.365 X-Spam-Level: X-Spam-Status: No, score=-0.365 tagged_above=-999 required=5 tests=[AWL=-0.165, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YjyhX4rHZZKf for ; Thu, 28 Nov 2019 08:14:39 -0800 (PST) Received: from jb55.com (jb55.com [45.79.91.128]) by arlo.cworth.org (Postfix) with ESMTPS id 9DA8A6DE0F5A for ; Thu, 28 Nov 2019 08:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d= jb55.com; h=from:to:subject:date:message-id; s=default; bh=P0h+hgA74SMcTngAWqxptZYJEeXSHu9suZ0aUeC6XUo=; b=pqY9+FvJiXeg8P0aRlv8//Q06W4MaNV5v8Q5tMyeZTv1UKOEJj7DD7qVP9GzBGurpvZ3zyM1BTk7GhPE8NuEjSZWSGJz7dRZ4Ao4i9RL1n+mZ3ddVVYz7jk6OjzsZZLc5SyZ5srSjO4I73Qn3Vuhr9Oz6O8qwi06X+3obwU/CpOfo/8mI1zmklKaKB5kn+Nl03jvnH4I0iS/IOr3pr6eH0mt6N5i8QnZYM/4NZw2nuJkQlSjZb4Th61mXz37SS5ocJ0fahT6BI44d0z9Vel91FP1Vxqpikk0l5Nx8tT7n94Tqo0LVB4YdpXJMMMqC+QIW1RmXne/EQQyr8QXeCxdxw== Received: from jb55.com (S0106f0f249a68533.gv.shawcable.net [24.69.143.198]) by jb55.com (OpenSMTPD) with ESMTPSA id a88ca995 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 28 Nov 2019 16:14:21 +0000 (UTC) From: William Casarin To: notmuch@notmuchmail.org Subject: [PATCH v2 8/8] emacs: bind M-RET to notmuch-tree-from-search-thread Date: Thu, 28 Nov 2019 08:14:01 -0800 Message-Id: <20191128161401.28844-9-jb55@jb55.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191128161401.28844-1-jb55@jb55.com> References: <20191128161401.28844-1-jb55@jb55.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Thu, 28 Nov 2019 16:14:40 -0000 This is an unbound function that is quite useful. It opens a selected thread in notmuch-tree from the current search query. Signed-off-by: William Casarin --- emacs/notmuch.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 773d1206..0d68d123 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -188,6 +188,7 @@ there will be called at other points of notmuch execution." (define-key map "-" 'notmuch-search-remove-tag) (define-key map "+" 'notmuch-search-add-tag) (define-key map (kbd "RET") 'notmuch-search-show-thread) + (define-key map (kbd "M-RET") 'notmuch-tree-from-search-thread) (define-key map "Z" 'notmuch-tree-from-search-current-query) map) "Keymap for \"notmuch search\" buffers.") -- 2.23.0