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