From 0fbab1bc5ea2117f49816b5ee6774af534c316cb Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 13 Feb 2013 16:05:07 +2000 Subject: [PATCH] Re: Search using email headers does not work --- c4/22f9ee06386ad4499caa249f49b213df22a46b | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 c4/22f9ee06386ad4499caa249f49b213df22a46b diff --git a/c4/22f9ee06386ad4499caa249f49b213df22a46b b/c4/22f9ee06386ad4499caa249f49b213df22a46b new file mode 100644 index 000000000..9a341c1ad --- /dev/null +++ b/c4/22f9ee06386ad4499caa249f49b213df22a46b @@ -0,0 +1,74 @@ +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 E13D6431FAF + for ; Tue, 12 Feb 2013 12:05:21 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 ixfYRN-B6zKu for ; + Tue, 12 Feb 2013 12:05:17 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E2A73431FC0 + for ; Tue, 12 Feb 2013 12:05:17 -0800 (PST) +Received: from convex-new.cs.unb.ca ([131.202.245.35]) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1U5M6N-0004RG-Pm; Tue, 12 Feb 2013 16:05:16 -0400 +Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.80) + (envelope-from ) + id 1U5M6G-0002mT-Eq; Tue, 12 Feb 2013 16:05:08 -0400 +From: David Bremner +To: Carl Worth , Michal Vyskocil , + notmuch@notmuchmail.org +Subject: Re: Search using email headers does not work +In-Reply-To: <87wqudi9u0.fsf@yoom.home.cworth.org> +References: <20130211145259.GF7346@zelvantb.site> + <87ehgl92e5.fsf@zancas.localnet> + <877gmdo46y.fsf@servo.finestructure.net> + <20130212173216.GL7346@zelvantb.site> + <87wqudi9u0.fsf@yoom.home.cworth.org> +User-Agent: Notmuch/0.14+257~ge43e0af (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Tue, 12 Feb 2013 16:05:07 -0400 +Message-ID: <87mwv9i9ho.fsf@convex-new.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-Spam_bar: - +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, 12 Feb 2013 20:05:22 -0000 + +Carl Worth writes: +> +> It's embarrassing to me that I added this note to the notmuch TODO file +> in October 2009 (and it's still there): +> +> Add support for the user to specify custom headers to be indexed. + +One techicality is that we would presumeably want to support this both +for access via the CLI and via libnotmuch (e.g. for the python +bindings). So there is the question of where to store the list of +indexed headers; perhaps in Xapian metadata. Or is there some simpler +solution? + +d -- 2.26.2