From: Alexey Feldgendler Date: Wed, 13 Feb 2013 21:20:34 +0000 (+0100) Subject: Re: Search using email headers does not work X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=77245bab8e58f210a637ccb92ff691903f3db001;p=notmuch-archives.git Re: Search using email headers does not work --- diff --git a/a5/ecc167d25cee4ec2b92a09c1184eb04f64d70d b/a5/ecc167d25cee4ec2b92a09c1184eb04f64d70d new file mode 100644 index 000000000..f635b6079 --- /dev/null +++ b/a5/ecc167d25cee4ec2b92a09c1184eb04f64d70d @@ -0,0 +1,95 @@ +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 D4E72429E26 + for ; Wed, 13 Feb 2013 13:38:45 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 HEpw28fcsejx for ; + Wed, 13 Feb 2013 13:38:44 -0800 (PST) +X-Greylist: delayed 1085 seconds by postgrey-1.32 at olra; + Wed, 13 Feb 2013 13:38:44 PST +Received: from asav3.lyse.net (asav3.lyse.net [81.167.37.131]) + by olra.theworths.org (Postfix) with ESMTP id C4790431FD6 + for ; Wed, 13 Feb 2013 13:38:44 -0800 (PST) +Received: from localhost (localhost.localdomain [127.0.0.1]) + by asav3.lyse.net (Postfix) with ESMTP id 548A88452E + for ; Wed, 13 Feb 2013 22:20:38 +0100 (CET) +X-Virus-Scanned: amavisd-new at lyse.net +Received: from muffin.feldgendler.ru (210.81-167-188.customer.lyse.net + [81.167.188.210]) + by asav3.lyse.net (Postfix) with ESMTP id C712484530 + for ; Wed, 13 Feb 2013 22:20:35 +0100 (CET) +Received: from [192.168.1.1] (helo=sandwich.feldgendler.ru) + by muffin.feldgendler.ru with esmtpsa + (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) + (envelope-from ) id 1U5jkp-0005I2-DW + for notmuch@notmuchmail.org; Wed, 13 Feb 2013 22:20:35 +0100 +Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes +To: notmuch@notmuchmail.org +Subject: Re: Search using email headers does not work +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> <87ip5wlkbb.fsf@qmul.ac.uk> + <874nhfncot.fsf@servo.finestructure.net> +Date: Wed, 13 Feb 2013 22:20:34 +0100 +MIME-Version: 1.0 +Content-Transfer-Encoding: Quoted-Printable +From: "Alexey Feldgendler" +Message-ID: +In-Reply-To: <874nhfncot.fsf@servo.finestructure.net> +User-Agent: Opera Mail/12.13 (Linux) +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: Wed, 13 Feb 2013 21:38:46 -0000 + +On Wed, 13 Feb 2013 22:09:22 +0100, Jameson Graef Rollins = + + wrote: + +>> I think I mentioned this on irc sometime ago: would indexing all the +>> headers as a separate free text entry (under headers: for example) +>> satisfy most of this. So then you could search for things like +>> headers:"List-Id: blah" or similar. +>> +>> It is not as nice as individually indexed headers, but it does mean t= +hat +>> all notmuch instances would be the same and the same commands would +>> work, the library interface would be consistent etc. + +> I like this idea. Simple to implement, and covers all needs +> automatically. + +It will work for some headers, but not for others. Where a header's valu= +e = + +is a list, there will be no precise way of specifying =E2=80=9Cthe list = +contains = + +X=E2=80=9D. NEAR is only an approximation. + + +-- = + +Alexey Feldgendler +[ICQ: 115226275] http://feldgendler.livejournal.com