--- /dev/null
+Return-Path: <rlb@defaultvalue.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1D5D0431FCF\r
+ for <notmuch@notmuchmail.org>; Sat, 22 Feb 2014 18:29:34 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 96qcgIgax4zM for <notmuch@notmuchmail.org>;\r
+ Sat, 22 Feb 2014 18:29:29 -0800 (PST)\r
+Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
+ by olra.theworths.org (Postfix) with ESMTP id 0D0F7431FBF\r
+ for <notmuch@notmuchmail.org>; Sat, 22 Feb 2014 18:29:29 -0800 (PST)\r
+Received: from trouble.defaultvalue.org (localhost [127.0.0.1])\r
+ (Authenticated sender: rlb@defaultvalue.org)\r
+ by defaultvalue.org (Postfix) with ESMTPSA id D11C190D2B\r
+ for <notmuch@notmuchmail.org>; Sat, 22 Feb 2014 20:29:28 -0600 (CST)\r
+Received: by trouble.defaultvalue.org (Postfix, from userid 1000)\r
+ id 797D814E14E; Sat, 22 Feb 2014 20:29:28 -0600 (CST)\r
+From: Rob Browning <rlb@defaultvalue.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [BUG] Putting "tags=;" into .notmuch-config will create empty tags\r
+User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 22 Feb 2014 20:29:28 -0600\r
+Message-ID: <87ha7qfto7.fsf@trouble.defaultvalue.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 23 Feb 2014 02:29:34 -0000\r
+\r
+\r
+In the [new] section, "tags=;" will cause notmuch to create empty tags\r
+that are fairly hard to remove from the command line.\r
+\r
+After some help on #bup, here's what I came up with to remove them,\r
+though it assumes that the empty tag "+ " will always be first in dump's\r
+output:\r
+\r
+ notmuch dump --format=batch-tag 'tag:""' | perl -pe 's/^\+ //' \\r
+ | notmuch restore --format=batch-tag\r
+\r
+And note that you have to use restore, "notmuch tag --batch" doesn't\r
+appear to accept "- " as a tag, even though dump will produce "+ ".\r
+\r
+Hope this helps\r
+-- \r
+Rob Browning\r
+rlb @defaultvalue.org and @debian.org\r
+GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A\r
+GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4\r