1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0A820431FB6
\r
6 for <notmuch@notmuchmail.org>; Wed, 24 Apr 2013 01:04:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id Iod80yUPcCH9 for <notmuch@notmuchmail.org>;
\r
16 Wed, 24 Apr 2013 01:04:28 -0700 (PDT)
\r
17 Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com
\r
18 [74.125.83.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 83826431FAF for <notmuch@notmuchmail.org>; Wed, 24 Apr 2013 01:04:28 -0700
\r
22 Received: by mail-ee0-f47.google.com with SMTP id b57so593099eek.20
\r
23 for <notmuch@notmuchmail.org>; Wed, 24 Apr 2013 01:04:27 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=x-received:from:to:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type:x-gm-message-state;
\r
28 bh=Q6Hs1O/wbw+7NE6BKF0mJV8sJP3gVZtpbGk/RQu4IMM=;
\r
29 b=U+Dl7+0duJkctocYq6rVH/3+uW62T+rBkJ2AiHOtnmUmjXa7D2+qv4XEoaoDPqzasQ
\r
30 jwlRL8mNsl69gF7FjM5puOTJPkQl3YuEmOpOlfjgId+9Em2FxOZG8gwPgTRWprbUi7mj
\r
31 pryWioGmW6TJMAn1AMYqw9JAcV5VAd+wKEgUrCrHQCrIlENVQ0z0PAf5hemy7ISoXLkt
\r
32 Gkwt745+zPgSkqQWIedjwHGte9WhorH0QSqQwPz/w4vla5kY8iribFN6xFNb+6qi+z9i
\r
33 XXwusEmrTxxmxhi08YKgdHWVTZ3eo0PvI4pr0fkVklZvmlWy5CpCMqF+rW8SEtkZqPYU
\r
35 X-Received: by 10.14.9.71 with SMTP id 47mr16335252ees.21.1366790667248;
\r
36 Wed, 24 Apr 2013 01:04:27 -0700 (PDT)
\r
37 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
38 by mx.google.com with ESMTPSA id cd3sm2355887eeb.6.2013.04.24.01.04.25
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
41 Wed, 24 Apr 2013 01:04:26 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: ingo <mail1@2b1.de>, notmuch@notmuchmail.org
\r
44 Subject: Re: remove unused tags from the database / emacs ui?
\r
45 In-Reply-To: <1366788660323-4027748.post@n3.nabble.com>
\r
46 References: <1366788660323-4027748.post@n3.nabble.com>
\r
47 User-Agent: Notmuch/0.15.2+34~ga90fdd9 (http://notmuchmail.org) Emacs/23.2.1
\r
48 (x86_64-pc-linux-gnu)
\r
49 Date: Wed, 24 Apr 2013 10:04:19 +0200
\r
50 Message-ID: <87vc7cnym4.fsf@nikula.org>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
54 ALoCoQmjO+M8GoSYZmeoKdRFaO878FPuwceCDCL8UdGFI8GGF8h8VecoZjL88IjdsPQGf7qop7a/
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Wed, 24 Apr 2013 08:04:30 -0000
\r
69 On Wed, 24 Apr 2013, ingo <mail1@2b1.de> wrote:
\r
70 > I have some tags which were created by afew tests, or just misspelling tags.
\r
71 > These tags are now unused, but seem to still be in the database, or cached
\r
72 > in the emacs ui, because I get these tags as possibilities in "add tags"
\r
75 Apparently you still have some messages tagged with these tags. You can
\r
76 get a list of all the tags in all the messages in the database using:
\r
78 $ notmuch search --output=tags '*'
\r
80 Or view the "All tags" section in notmuch-hello in Emacs. There you can
\r
81 also query which messages have these "undesirable" tags.
\r
83 > Any ideas on how I can get rid of them?
\r
85 On the command line, if you wanted, for example, "foo" and "bar" tags
\r
86 removed from all the messages:
\r
88 $ notmuch tag -foo -bar -- '*'
\r
90 Alternatively, do a search for all messages in emacs, and hit '*' in the
\r
91 search view to tag all messages matching the query. List the ones you
\r