From: Tomi Ollila Date: Fri, 15 Feb 2013 08:27:30 +0000 (+0200) Subject: Re: Search using email headers does not work X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4bc3b75389b864c136f57ded815e556ed7efdaaa;p=notmuch-archives.git Re: Search using email headers does not work --- diff --git a/83/93559f30d18a03a58482ed7b85646cb14cb727 b/83/93559f30d18a03a58482ed7b85646cb14cb727 new file mode 100644 index 000000000..b5501a157 --- /dev/null +++ b/83/93559f30d18a03a58482ed7b85646cb14cb727 @@ -0,0 +1,81 @@ +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 5FD85431FAF + for ; Fri, 15 Feb 2013 00:27:44 -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 DK--Hje2Pnmp for ; + Fri, 15 Feb 2013 00:27:43 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 60FE0431FB6 + for ; Fri, 15 Feb 2013 00:27:43 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id EE98810007D; + Fri, 15 Feb 2013 10:27:30 +0200 (EET) +From: Tomi Ollila +To: David Bremner , Carl Worth , + Michal Vyskocil , notmuch@notmuchmail.org +Subject: Re: Search using email headers does not work +In-Reply-To: <87mwv9i9ho.fsf@convex-new.cs.unb.ca> +References: <20130211145259.GF7346@zelvantb.site> + <87ehgl92e5.fsf@zancas.localnet> + <877gmdo46y.fsf@servo.finestructure.net> + <20130212173216.GL7346@zelvantb.site> + <87wqudi9u0.fsf@yoom.home.cworth.org> + <87mwv9i9ho.fsf@convex-new.cs.unb.ca> +User-Agent: Notmuch/0.15+20~g7e29ae9 (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Fri, 15 Feb 2013 08:27:44 -0000 + +On Tue, Feb 12 2013, David Bremner wrote: + +> 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? + +BTW: how does clients using libnotmuch instead of CLI find the location +of mail store and Xapian database if those don't read the configuration +file used by CLI (and reference database.path there) ? :D + +As the location of xapian database is known the location of mail store +and '.notmuch' directory is also known -- the '.notmuch' directory could +also contain some other dynamic information having accessor functions +in libnotmuch... (?) + +Tomi