unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: notmuch@notmuchmail.org
Subject: notmuch shows tag which is not on any email
Date: Mon, 04 Jun 2018 19:44:55 +0200	[thread overview]
Message-ID: <87h8misay0.fsf@len.workgroup> (raw)

Dear notmuch developers,

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

$ notmuch search --output=tags '*' | grep telegraph
EA%3Dtelegraph%40gmx%2Enet
EA=telegraph@gmx.net


$ notmuch count  -- is:EA%3Dtelegraph%40gmx%2Enet
0


$ notmuch count  -- is:/EA.*telegraph/
4498


There is no invisible character or some such:
$ notmuch search --output=tags '*' | grep telegraph | head -n 1 | wc -c
27


I might have done something wrong while experimenting with this
tags and  'EA%3Dtelegraph%40gmx%2Enet' may be a leftover.  I
would like to remove it but since no message matches it's not
possible to remove it from messages and therefore the tag remains:

$ notmuch tag +EA=telegraph@gmx.net  -- is:/EA.*telegraph/
$ notmuch search --output=tags '*' | grep telegraph
EA%3Dtelegraph%40gmx%2Enet
EA=telegraph@gmx.net


I tried to utilise emacs to remove the tag, but notmuch-emacs
does not show 'EA%3Dtelegraph%40gmx%2Enet' in notmuch-hello's
'All tags' section.



Why is said tag in the tags listing, how to get rid of it?


Thanks, Gregor

             reply	other threads:[~2018-06-04 17:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 17:44 Gregor Zattler [this message]
2018-06-04 18:19 ` notmuch shows tag which is not on any email Carl Worth
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=87h8misay0.fsf@len.workgroup \
    --to=telegraph@gmx.net \
    --cc=notmuch@notmuchmail.org \
    /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).