Sanel Zukan <sanelz@gmail.com> writes: > 3. Close notmuch-search buffer and re-run again with > M-: (notmuch-search "tag:unread") - marked message will still be shown > even if notmuch-search-hide-excluded is 't'. In some sense this is expected as the optional parameter 'hide-excluded' added in 0.39 is given value nil if no corresponding argument is passed. If you use M-x notmuch-search <return> tag:unread <return> then notmuch-search-hide-excluded should be respected. > What solved for me is to explicitly call notmuch-search with > hide-excluded to 't', like: > > (notmuch-search "tag:unread" nil t) That would work also. If you type this often, you could define a function like (defun nm-search (query) (notmuch-search query nil (default-value 'notmuch-search-hide-excluded))) > This worked before in 0.36. This API change was introduced to support toggling the showing of includes. It's true that third party code calling notmuch-search as a lisp function (as opposed to an emacs command) will need to be updated. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org