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 82F8F421192 for ; Thu, 30 Jun 2011 09:24:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled 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 yL06e5pLa3AN for ; Thu, 30 Jun 2011 09:24:20 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 0005C421186 for ; Thu, 30 Jun 2011 09:24:19 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E6F6329A527; Thu, 30 Jun 2011 09:24:18 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id D5AD954C045; Thu, 30 Jun 2011 09:24:18 -0700 (PDT) From: Carl Worth To: Pieter Praet , notmuch@notmuchmail.org Subject: Re: [PATCH] remove prefixes from `--output={threads, messages}' results In-Reply-To: <1309421989-22410-1-git-send-email-pieter@praet.org> References: <877hbiep5g.fsf@SSpaeth.de> <1309421989-22410-1-git-send-email-pieter@praet.org> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Thu, 30 Jun 2011 09:24:12 -0700 Message-ID: <871uyb479v.fsf@yoom.home.cworth.org> 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: Thu, 30 Jun 2011 16:24:20 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 30 Jun 2011 10:19:49 +0200, Pieter Praet wrote: > Alter `do_search_threads()' and `do_search_messages()' > to not prepend each result with `thread:' respectively `id:'. My one concern here is that I've sometimes had a message-id without the id prefix and run a command like this: notmuch search 1309421989-22410-1-git-send-email-pieter@praet.org And I've gotten confused when I've received no output, (didn't I receive that mail? what happened?). But I think this is a separate bug where the right fix is to make any search terms with no prefix search through *all* prefixed terms generated from email content. This would allow us to also avoid indexing some content twice, (currently we store subject, from, and to both with a prefix and without a prefix). =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4MoywACgkQ6JDdNq8qSWi/TACeJ3Hfm1My9LRuRF39r5eqf0Pr C6AAoIFpp+8zwmNcljQqnNaZRGM2Ayj2 =iJ0E -----END PGP SIGNATURE----- --=-=-=--