diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-01-07 14:46:30 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-01-07 14:46:30 -0700 |
commit | 08778b811d999c831723f85414ac1e342ef00192 (patch) | |
tree | 5c60b912359b04a8bbac2c4b048a1fdf8e561729 | |
parent | d3bc7e52906cd79d9af792d75d5bf2301103bf62 (diff) | |
download | mailscripts-08778b811d999c831723f85414ac1e342ef00192.tar.gz |
notmuch-slurp-debbug: at end, call notmuch-search not notmuch-show
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | mailscripts.el | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index bedb3fc..dc32b82 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ mailscripts (0.24-1) UNRELEASED; urgency=medium * mailscripts.el: - Enable lexical binding. + - notmuch-slurp-debbug: at end, call notmuch-search not notmuch-show. + This should avoid leaving the user viewing a thread containing only + control messages, with no easy way to get to the bug correspondence. - mailscripts-detach-head-from-existing-branch can now have value `ask'. * gmi2email: - Support commenting out subscriptions. diff --git a/mailscripts.el b/mailscripts.el index 234fba2..8519e4f 100644 --- a/mailscripts.el +++ b/mailscripts.el @@ -80,8 +80,7 @@ If NO-OPEN, don't open the thread." "--limit=1" "--format=text" "--format-version=4" search)))) - (notmuch-show thread-id nil nil nil - (concat "*notmuch-show-" search "*"))))) + (notmuch-search search t thread-id)))) ;;;###autoload (defun notmuch-slurp-debbug-at-point () |