From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 9A34D6DE111A for ; Thu, 9 Nov 2017 02:38:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.71 X-Spam-Level: X-Spam-Status: No, score=-0.71 tagged_above=-999 required=5 tests=[AWL=0.011, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5r5lymmkuiCA for ; Thu, 9 Nov 2017 02:38:56 -0800 (PST) X-Greylist: delayed 378 seconds by postgrey-1.36 at arlo; Thu, 09 Nov 2017 02:38:56 PST Received: from smtpout20.partage.renater.fr (smtpout02-ext1.partage.renater.fr [194.254.241.32]) by arlo.cworth.org (Postfix) with ESMTP id 352FC6DE1105 for ; Thu, 9 Nov 2017 02:38:56 -0800 (PST) Received: from zmtaout02.partage.renater.fr (zmtaout02.partage.renater.fr [194.254.241.30]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 2AF61BFCF3; Thu, 9 Nov 2017 11:32:36 +0100 (CET) Received: from zmtaout02.partage.renater.fr (localhost [127.0.0.1]) by zmtaout02.partage.renater.fr (Postfix) with ESMTPS id 1D79320081; Thu, 9 Nov 2017 11:32:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaout02.partage.renater.fr (Postfix) with ESMTP id 0E72820068; Thu, 9 Nov 2017 11:32:36 +0100 (CET) X-Virus-Scanned: amavisd-new at zmtaout02.partage.renater.fr Received: from zmtaout02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaout02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2OWd-hQnuDjS; Thu, 9 Nov 2017 11:32:35 +0100 (CET) Received: from [82.248.39.188]hirscho (lb01.partage.renater.fr [194.254.242.1]) by zmtaout02.partage.renater.fr (Postfix) with ESMTPA id A7D8E20072; Thu, 9 Nov 2017 11:32:35 +0100 (CET) From: Tom Hirschowitz To: Jani Nikula Cc: Notmuch Mail Subject: Re: buggy tags In-Reply-To: References: <87zi7vbw2z.fsf@hirscho.lama.univ-savoie.fr> Date: Thu, 09 Nov 2017 11:32:25 +0100 Message-ID: <87wp2zbv46.fsf@hirscho.lama.univ-savoie.fr> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 10:38:57 -0000 Great, thanks! Tom > On Thu, Nov 9, 2017 at 12:11 PM, Tom Hirschowitz > 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.