unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* buggy tags
@ 2017-11-09 10:11 Tom Hirschowitz
  2017-11-09 10:25 ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Hirschowitz @ 2017-11-09 10:11 UTC (permalink / raw)
  To: notmuch


Hi all,

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.

Is there a way of getting rid of them?

Thanks,
Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: buggy tags
  2017-11-09 10:11 buggy tags Tom Hirschowitz
@ 2017-11-09 10:25 ` Jani Nikula
  2017-11-09 10:32   ` Tom Hirschowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2017-11-09 10:25 UTC (permalink / raw)
  To: Tom Hirschowitz; +Cc: Notmuch Mail

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: buggy tags
  2017-11-09 10:25 ` Jani Nikula
@ 2017-11-09 10:32   ` Tom Hirschowitz
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Hirschowitz @ 2017-11-09 10:32 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Notmuch Mail


Great, thanks!
Tom

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-09 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09 10:11 buggy tags Tom Hirschowitz
2017-11-09 10:25 ` Jani Nikula
2017-11-09 10:32   ` Tom Hirschowitz

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).