unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: William Casarin <jb55@jb55.com>
To: Teemu Likonen <tlikonen@iki.fi>, David Edmondson <dme@dme.org>,
	Johan Parin <johanparin@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: Unread handling
Date: Tue, 12 Nov 2019 07:58:52 -0800	[thread overview]
Message-ID: <87sgmtulvn.fsf@jb55.com> (raw)
In-Reply-To: <87pnhxceoy.fsf@iki.fi>

Teemu Likonen <tlikonen@iki.fi> writes:

> Teemu Likonen [2019-11-12T16:54:35+02] wrote:
>
>> But indeed, a command like "notmuch-search-show-thread-tree" (M-RET,
>> C-u RET, C-RET...) would be useful: open current thread directly in
>> tree view and with current search terms.
>
> But that is already there (without keybinding):
>
>     (defun notmuch-tree-from-search-thread ()
>       "Show the selected thread with notmuch-tree"
>       (interactive)
>       (notmuch-tree (notmuch-search-find-thread-id)
>                     notmuch-search-query-string
>                     nil
>                     (notmuch-prettify-subject (notmuch-search-find-subject))
>                     t))

oh!! This is exactly what I was looking for. Just need to bind this.

Thanks,
Will

  reply	other threads:[~2019-11-12 15:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-10 23:16 Unread handling Johan Parin
2019-11-11  8:14 ` David Edmondson
2019-11-12 13:17   ` William Casarin
2019-11-12 13:35     ` David Edmondson
2019-11-12 14:01       ` William Casarin
2019-11-12 13:53     ` Teemu Likonen
2019-11-12 13:59       ` William Casarin
2019-11-12 14:54         ` Teemu Likonen
2019-11-12 15:11           ` Teemu Likonen
2019-11-12 15:58             ` William Casarin [this message]
2019-11-11 15:57 ` Teemu Likonen
2019-11-12 18:45   ` Johan Parin

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=87sgmtulvn.fsf@jb55.com \
    --to=jb55@jb55.com \
    --cc=dme@dme.org \
    --cc=johanparin@gmail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=tlikonen@iki.fi \
    /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).