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 202EE6DE0AAB for ; Wed, 20 Nov 2019 22:30:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.597 X-Spam-Level: X-Spam-Status: No, score=-1.597 tagged_above=-999 required=5 tests=[AWL=0.904, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 2494noOuY04L for ; Wed, 20 Nov 2019 22:30:33 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 3A0046DE0A7F for ; Wed, 20 Nov 2019 22:30:33 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1574317832; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=CWxC9sqgAidsYpTP8b7LbUwICY+2i/b20FK0vYfLF44=; b=GBDK3eMG36SC2ofBAz9q7WyofhL/NKc/uoWp0c6dOMvcVtpHxcqmR/Bg RSXQQ+jd6GnaB2c9hkQNQ9hbsZDMCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1574317832; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=CWxC9sqgAidsYpTP8b7LbUwICY+2i/b20FK0vYfLF44=; b=wyAQw1LQoLxg+7OxsoyhkzvMHHVDJ4k9Miv+c55qKpgocO02kSEt8wly jukxU+EfxQwzbfG/oCrG+HnWvzKhQbLWOaAy7GvwFW2y73PVjnwYQAQviR U/xNy0XHU7ODHg2tkIMoskBTjXMpTwfNALDz5r10a4YjdmOSUTZiuLPDp7 6PCKmvLQZJSxFaBZyfjt+yJuFGMLQYjwrfXD5SK06FqXzlKcA0YK2csdeZ 5BuT3ig9IQ7Tnh3gB5VCnqLTqKHXGPV7nvfsAQ/3d/qDbsQrmiaz6IOP1p Q1wW/lemZd8V3UnbsyZdOeO3Wz7mZy3SZF1LY/ANF/IJDgTsbhg50w== Received: from fifthhorseman.net (dhcp-9e77.meeting.ietf.org [31.133.158.119]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 1B17AF9AF; Thu, 21 Nov 2019 01:30:32 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 5DED52058E; Thu, 21 Nov 2019 10:51:32 +0800 (+08) From: Daniel Kahn Gillmor To: William Casarin , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: bind M-RET to notmuch-tree-from-search-thread In-Reply-To: <20191113225752.26502-1-jb55@jb55.com> References: <20191113225752.26502-1-jb55@jb55.com> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Thu, 21 Nov 2019 10:51:31 +0800 Message-ID: <87ftiij618.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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, 21 Nov 2019 06:30:34 -0000 --=-=-= Content-Type: text/plain On Wed 2019-11-13 14:57:52 -0800, William Casarin wrote: > 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 > > --- > > This is a simpler alternative to id:20191113080004.32214-1-jb55@jb55.com > > 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.") > LGTM. Thanks for suggesting this. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXdX7tAAKCRB2GBllKa5f +OuAAQCT/WuNWPRlD0Fbn7QSuuA+pxpAnNuqRx7njPJ/hCxL7AEAj1VuWkp09ffg NcwFYe3IdZ7gZuCRLJsOqeOq9qb4sQw= =40X1 -----END PGP SIGNATURE----- --=-=-=--