From 826bea459d7b10f6a49c9bb6b5e5846a9bce0fc4 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 28 Feb 2015 10:07:06 +0100 Subject: [PATCH] Re: Inspired but need help searching folder names containing spaces --- cc/6737a67c1d9909f77df92dd02e70f0420dee1e | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 cc/6737a67c1d9909f77df92dd02e70f0420dee1e diff --git a/cc/6737a67c1d9909f77df92dd02e70f0420dee1e b/cc/6737a67c1d9909f77df92dd02e70f0420dee1e new file mode 100644 index 000000000..2feffc99f --- /dev/null +++ b/cc/6737a67c1d9909f77df92dd02e70f0420dee1e @@ -0,0 +1,77 @@ +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 9F7B3431FC7 + for ; Sat, 28 Feb 2015 01:13:57 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 220HswICT1ha for ; + Sat, 28 Feb 2015 01:13:54 -0800 (PST) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5B2D7431FB6 + for ; Sat, 28 Feb 2015 01:13:54 -0800 (PST) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YRdMl-0004a8-GB; Sat, 28 Feb 2015 09:07:19 +0000 +Received: (nullmailer pid 25864 invoked by uid 1000); Sat, 28 Feb 2015 + 09:07:06 -0000 +From: David Bremner +To: Matthew Lear , Jani Nikula +Subject: Re: Inspired but need help searching folder names containing spaces +In-Reply-To: <79D823A8-925A-478E-9734-9702C311A4F8@bubblegen.co.uk> +References: <54E3BAE1.1030004@bubblegen.co.uk> + <87pp97sldj.fsf@maritornes.cs.unb.ca> + + <87zj88wjgy.fsf@nikula.org> + <79D823A8-925A-478E-9734-9702C311A4F8@bubblegen.co.uk> +User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 28 Feb 2015 10:07:06 +0100 +Message-ID: <87wq328kw5.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: "notmuch@notmuchmail.org" +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: Sat, 28 Feb 2015 09:13:57 -0000 + +Matthew Lear writes: + +> +> Thanks. Explains everything. Any thoughts on searching on 'to' only? +> I'm not sure if this is also related to what Xapian needs to be +> provided with. If not, and if only searching in the to, cc and bcc +> fields of the header is possible, maybe we could consider adopting and +> integrating case sensitive syntax in notmuch such as TO:me rather than +> to:me..? + +I'm not sure about the exact syntax, but some separate prefix to mean +only in the To header would be possible. As far as I know we'd need to +add more terms to the database [1], so you'd need to convince people +that the increase in the size of everyone's database was worthwhile. And +of course someone needs to write the code, but it would not be that +hard, I think. + +d + +[1]: this could also be solved with the semi-mythical custom query parser. -- 2.26.2