notmuch.el 0.39 will ignore notmuch-search-hide-excluded

Subject: notmuch.el 0.39 will ignore notmuch-search-hide-excluded

Date: Sun, 08 Jun 2025 14:37:41 +0200

To: notmuch@notmuchmail.org

Cc:

From: Sanel Zukan


Hi guys,

After upgrading notmuch (and notmuch.el) to 0.39 from 0.36, I've noticed
that notmuch-search in Emacs will ignore when
"notmuch-search-hide-excluded" is set to 't' (which is AFAIK default).

As a result, it will show messages marked with "deleted" tag. To
reproduce it:

1. In ~/.notmuch-config have set:
[search]
exclude_tags=deleted

2. In Emacs, run M-: (notmuch-search "tag:unread") and mark some message
with "deleted" tag.

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'.

What solved for me is to explicitly call notmuch-search with
hide-excluded to 't', like:

 (notmuch-search "tag:unread" nil t)

This worked before in 0.36.

Emacs version: 30.1
notmuch version: 0.39

Best regards,
Sanel
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: