Re: notmuch shows tag which is not on any email

Subject: Re: notmuch shows tag which is not on any email

Date: Mon, 04 Jun 2018 11:19:58 -0700

To: Gregor Zattler, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Mon, Jun 04 2018, Gregor Zattler wrote:
> Dear notmuch developers,

Hi, Gregor!

> does notmuch remember tags even if at time of query there is no
> message tagged with the respective tag?:

No. At least, from when I originally invented the notmuch schema, tags
only existed on messages and there was no separate store of a list of
known tags anywhere.

If something in the schema has changed since, I would appreciate someone
correcting me.

So, I'm not sure what's going on in with your notmuch database.

I tried tagging a couple of messages with the same tags you are seeing
in case there was something in one of these tag names specifically that
was ticking a problem. But things look fine for me.

Here's the output I'm now getting on my notmuch store with the same
commands you gave, (and note that everything is working for me):

$ notmuch search --output=tags '*' | grep telegraph
EA%3Dtelegraph%40gmx%2Enet
EA=telegraph@gmx.net
$ notmuch count  -- is:EA%3Dtelegraph%40gmx%2Enet
1
$ notmuch count  -- is:/EA.*telegraph/
2
$ notmuch search --output=tags '*' | grep telegraph | head -n 1 | wc -c
27

Anyone ave a theory for what could explain what Gregor is seeing?

-Carl

signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: