Re: bug report: notmuch-hello 'All tags' view
authorDarren McGuicken <mailing-notmuch@fernseed.info>
Tue, 2 Nov 2010 21:03:55 +0000 (21:03 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:21 +0000 (09:37 -0800)
98/3f65670429647dd8b02edcc50950f3b906a182 [new file with mode: 0644]

diff --git a/98/3f65670429647dd8b02edcc50950f3b906a182 b/98/3f65670429647dd8b02edcc50950f3b906a182
new file mode 100644 (file)
index 0000000..1eb1884
--- /dev/null
@@ -0,0 +1,105 @@
+Return-Path: <darren@fernseed.info>\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 CA9C140D17A\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Nov 2010 14:04:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 3.459\r
+X-Spam-Level: ***\r
+X-Spam-Status: No, score=3.459 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+       DKIM_VALID_AU=-0.1, FH_HOST_IN_ADDRARPA=2.157, RCVD_IN_RP_RNBL=1.31,\r
+       RDNS_DYNAMIC=0.982, TO_NO_BRKTS_DYNIP=1, T_MIME_NO_TEXT=0.01]\r
+       autolearn=no\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 yMH663tPsTbV for <notmuch@notmuchmail.org>;\r
+       Tue,  2 Nov 2010 14:03:58 -0700 (PDT)\r
+Received: from silentio.fernseed.info (202.4.169.217.in-addr.arpa\r
+       [217.169.4.202])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 8B5E140D155\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Nov 2010 14:03:58 -0700 (PDT)\r
+Received: from localhost (bookbinder.fernseed.info\r
+       [IPv6:2001:8b0:ff94:1:224:2cff:fe37:838b])\r
+       (Authenticated sender: darren)\r
+       by silentio.fernseed.info (Postfix) with ESMTPSA id B0E509DC;\r
+       Tue,  2 Nov 2010 21:03:56 +0000 (GMT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fernseed.info;\r
+       s=default; t=1288731836;\r
+       bh=MHJwBeaF4WSAU5jGT3NAGW153iG7pdqdbs6RLaVOJZ8=;\r
+       h=From:To:Subject:In-Reply-To:References:Date:Message-ID:\r
+       MIME-Version:Content-Type;\r
+       b=h0o2qU5TY9NkmcHNxafGK/YZLB33MUknRFRkXKbmaHXoD9+PsEr82jgLd3WW8ITtK\r
+       bpPfsuwHzHqnzJD9h2HNzyLLIkINIhZOhdlR8QvPEcWcKO0ZRpYw/5NTSOYHqA8ksc\r
+       71xNaSy3ZdiQPpIryZMfBRfb4YhcaFaI+iDsHhU4=\r
+From: Darren McGuicken <mailing-notmuch@fernseed.info>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+Subject: Re: bug report: notmuch-hello 'All tags' view\r
+In-Reply-To: <87r5f3mqdn.fsf@bookbinder.fernseed.info>\r
+References: <87pquogrq7.fsf@yoom.home.cworth.org>\r
+       <87lj5bv7sn.fsf@bookbinder.fernseed.info>\r
+       <87r5f3mqdn.fsf@bookbinder.fernseed.info>\r
+User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Tue, 02 Nov 2010 21:03:55 +0000\r
+Message-ID: <87oca7mo90.fsf@bookbinder.fernseed.info>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\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: Tue, 02 Nov 2010 21:04:12 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 02 Nov 2010 20:17:56 +0000, Darren McGuicken <mailing-notmuch@ferns=\r
+eed.info> wrote:\r
+> I've noticed since rebasing to 0.4 that I'm seeing an empty entry in the\r
+> 'All tags' view of notmuch-hello which appears to represent a search\r
+> against 'tag:'.=20=20\r
+\r
+Continuing what's turning into an epic one-man list-noise generation\r
+effort, I did a bit more digging and it looks like notmuch-hello\r
+generates the list of tags for the 'All tags' view by processing each\r
+line returned by 'search-tags'.\r
+\r
+A call to 'notmuch search-tags' from the command line does indeed return\r
+an empty string as the first entry for me[1].\r
+\r
+Does that point to bad data on my part, or has the output of\r
+'search-tags' changed recently?\r
+\r
+If the former, any thoughts on how I differentiate an empty tag from\r
+something untagged in a search so I can prune it?\r
+\r
+\r
+[1] So we have an apparently empty tag being concatenated with a search\r
+    string of 'tag:', which actually gives us a search for every message\r
+    containing the word 'tag' rather than a tag-based search.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEARECAAYFAkzQfLsACgkQP1ao/7snsT4SeQCfbsZ36E8Wz83k6uSpeD2Fx3TS\r
+anAAoK+ThpLya9100VtHJirrCcEbjsFP\r
+=xPRz\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r