Re: excluded tags not excluded from threads

Subject: Re: excluded tags not excluded from threads

Date: Tue, 07 Oct 2025 08:59:35 -0700

To: Al Haji-Ali, notmuch@notmuchmail.org

Cc:

From: Ackerley Tng


Al Haji-Ali <abdo.haji.ali@gmail.com> writes:

> In my config I have
>
> [search]
> exclude_tags=deleted
>
> After upgrading from notmuch 0.38.2 to 0.39, and while I was updating my code to the new notmuch-search interface, I noticed that threads containing deleted message (for example deleted drafts which accumulate as one is editing/saving drafts) return message counts which included these deleted messages as well as the tag list of the thread that includes the "deleted" tag. For example
>
> I get:
>
>  0 mins. ago [1/10]   Al Haji-Ali          excluded tags not excluded from threads (draft new deleted)
>
> I admit that I am not sure if this was always the behaviour, but in any case, I would like to suggest that such messages should be excluded from the thread as well so that only message without excluded tags are included in the search summary.

Are we looking for the same feature? [1]

[1] https://nmbug.notmuchmail.org/nmweb/show/diqz34avhf1n.fsf%40ackerleytng-ctop.c.googlers.com

>
> -- Al
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: