notmuch shows tag which is not on any email

Carl Worth cworth at cworth.org
Mon Jun 4 11:19:58 PDT 2018


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20180604/d9a9c176/attachment.sig>


More information about the notmuch mailing list