When examining a recent bug report [1], I stumbled upon the following.

When invoking notmuch-search from the search widget or the recent
searches widget, notmuch-hello neglects to add the new argument for
hide-excludes. This means that excludes are always ignored. I think the
following fixes it.

iff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 67c805a8..eb5d618a 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -438,7 +438,7 @@ supported for \"Customized queries section\" items."
       (setq search (string-trim search))
       (let ((history-delete-duplicates t))
        (add-to-history 'notmuch-search-history search)))
-    (notmuch-search search notmuch-search-oldest-first)))
+    (notmuch-search search notmuch-search-oldest-first 
notmuch-search-hide-excluded)))

I'm not sure how hard is to construct a regression test for this; I'll
investigate that and probably send a real patch soonish.

[1]: id:87ecvummsq....@darkstar.example.net
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to