From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: William Casarin <jb55@jb55.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: bind M-RET to notmuch-tree-from-search-thread
Date: Thu, 21 Nov 2019 10:51:31 +0800 [thread overview]
Message-ID: <87ftiij618.fsf@fifthhorseman.net> (raw)
In-Reply-To: <20191113225752.26502-1-jb55@jb55.com>
[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]
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 <jb55@jb55.com>
>
> ---
>
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2019-11-21 6:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 22:57 [PATCH] emacs: bind M-RET to notmuch-tree-from-search-thread William Casarin
2019-11-14 5:37 ` Teemu Likonen
2019-11-21 2:51 ` Daniel Kahn Gillmor [this message]
2019-12-03 11:47 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftiij618.fsf@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=jb55@jb55.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).