Re: Fwd: notmuch collects empty tags/labels

Subject: Re: Fwd: notmuch collects empty tags/labels

Date: Tue, 22 Oct 2024 08:07:41 -0300

To: prowess-alarm-much@duck.com, notmuch@notmuchmail.org

Cc:

From: David Bremner


prowess-alarm-much@duck.com writes:

> So if I understand it well, running the query in sexp mode: notmuch
> count --query=sexp '(tag "")'
>
> will yield the actual "tagless" tag, which in my case is 0.
>
> while this query: notmuch count -- tag:
>
> will yield "garbage" results, which in my case today is 1681, it has
> increased by 2, and in both cases it's these two very emails I've sent
> to the mailing list :-)
>
> I shouldn't be worried, right?

Right. For the archive, if someone wants to find "tagless" in the sense
of having no tags messages, sexp queries can do that as well

$ notmuch count --query=sexp '(not (tag *))'

This ends todays promotional feature on sexp queries ;)

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

Thread: