unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: Tom Hirschowitz <tom.hirschowitz@univ-smb.fr>
Cc: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: buggy tags
Date: Thu, 9 Nov 2017 12:25:44 +0200	[thread overview]
Message-ID: <CAB+hUn_b07+zOwbepd+t3CiQcfcsBP66mF+cmattdhCujXAkvw@mail.gmail.com> (raw)
In-Reply-To: <87zi7vbw2z.fsf@hirscho.lama.univ-savoie.fr>

On Thu, Nov 9, 2017 at 12:11 PM, Tom Hirschowitz
<tom.hirschowitz@univ-smb.fr> wrote:
> I sometimes mistype some tags, e.g., collaegues instead of colleagues,
> etc. Of course, I then replace them with the right version.
>
> But notmuch keeps track of these wrong tags (as of all others) and
> proposes them when autocompleting, which after a few years of using
> notmuch, starts being significantly annoying.

Notmuch only completes to tags that are actually present in the
database. So you've missed some.

> Is there a way of getting rid of them?

This will list all the tags you have:

$ notmuch search --output=tags "*"

And this will replace a wrong tag with the right tag:

$ notmuch tag +right-tag -wrong-tag tag:wrong-tag

BR,
Jani.

  reply	other threads:[~2017-11-09 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09 10:11 buggy tags Tom Hirschowitz
2017-11-09 10:25 ` Jani Nikula [this message]
2017-11-09 10:32   ` Tom Hirschowitz

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=CAB+hUn_b07+zOwbepd+t3CiQcfcsBP66mF+cmattdhCujXAkvw@mail.gmail.com \
    --to=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    --cc=tom.hirschowitz@univ-smb.fr \
    /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).