Unread handling

Teemu Likonen tlikonen at iki.fi
Tue Nov 12 07:11:25 PST 2019


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))

-- 
///  OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450
//  https://keys.openpgp.org/search?q=tlikonen@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 694 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20191112/74ebd05c/attachment.sig>


More information about the notmuch mailing list