unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Gregor Zattler <telegraph@gmx.net>, notmuch@notmuchmail.org
Subject: Re: notmuch shows tag which is not on any email
Date: Mon, 04 Jun 2018 11:19:58 -0700	[thread overview]
Message-ID: <87y3fu1kj5.fsf@wondoo.home.cworth.org> (raw)
In-Reply-To: <87h8misay0.fsf@len.workgroup>

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2018-06-04 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 17:44 notmuch shows tag which is not on any email Gregor Zattler
2018-06-04 18:19 ` Carl Worth [this message]
2018-06-04 18:36 ` Jani Nikula
2018-06-05  5:45   ` Gregor Zattler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3fu1kj5.fsf@wondoo.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=notmuch@notmuchmail.org \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).