Re: Is there a way to remove all emails with a given tag from the Show View or the Tree View?

Subject: Re: Is there a way to remove all emails with a given tag from the Show View or the Tree View?

Date: Thu, 24 Jul 2025 22:06:35 -0700

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Ackerley Tng


David Bremner <david@tethera.net> writes:

> Ackerley Tng <ackerleytng@google.com> writes:
>
>> I'm using notmuch with emacs.
>>
>> In either the "Show View: Collapsed" and "Tree View" as seen on [1], I
>> would like to hide all emails with a given tag in it. How do I do that?
>>
>> I've tried doing M-x notmuch-tree-filter NOT tag:deleted but emails with
>> the deleted tag still appear in both "Show View: Collapsed" and "Tree
>> View".
>
> Are the relevant tags listed in search.exclude_tags in the notmuch
> configuration? You should be able to use "i" to toggle them in that
> case.
>
> d

Is this the config you're referring to?

$ notmuch config get search.exclude_tags                   
deleted
spam
trash

Pressing "i" for me in the "Show View: Collapsed" view doesn't appear to
do anything or have any effect. What emacs function should "i" be
running?

Thanks in advance!
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: