1 Return-Path: <olly@survex.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0E679429E44
\r
6 for <notmuch@notmuchmail.org>; Tue, 26 Apr 2011 16:29:17 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=unavailable
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id XjR9IlJW1+01 for <notmuch@notmuchmail.org>;
\r
16 Tue, 26 Apr 2011 16:29:16 -0700 (PDT)
\r
17 Received: from atreus.tartarus.org (atreus.tartarus.org [80.252.125.10])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id C11D3429E38
\r
21 for <notmuch@notmuchmail.org>; Tue, 26 Apr 2011 16:29:16 -0700 (PDT)
\r
22 Received: from olly by atreus.tartarus.org with local (Exim 4.69)
\r
23 (envelope-from <olly@survex.com>)
\r
24 id 1QErgv-0003Ah-9I; Wed, 27 Apr 2011 00:29:13 +0100
\r
25 Date: Wed, 27 Apr 2011 00:29:13 +0100
\r
26 From: Olly Betts <olly@survex.com>
\r
27 To: Carl Worth <cworth@cworth.org>
\r
28 Subject: Re: doc: notmuch help search-terms, boolean operators
\r
29 Message-ID: <20110426232913.GM24964@survex.com>
\r
30 References: <87fwp4tzvd.fsf@eve.chaoflow.net>
\r
31 <87d3k81ute.fsf@yoom.home.cworth.org>
\r
33 Content-Type: text/plain; charset=us-ascii
\r
34 Content-Disposition: inline
\r
35 In-Reply-To: <87d3k81ute.fsf@yoom.home.cworth.org>
\r
36 User-Agent: Mutt/1.5.18 (2008-05-17)
\r
37 Cc: notmuch@notmuchmail.org
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Tue, 26 Apr 2011 23:29:17 -0000
\r
52 On Tue, Apr 26, 2011 at 04:01:17PM -0700, Carl Worth wrote:
\r
53 > On Wed, 27 Apr 2011 00:24:38 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:
\r
54 > > Through playing with `notmuch tag` and `notmuch search
\r
55 > > --output=messages` I found:
\r
57 > > Complete list of boolean operators in order of precedence:
\r
63 > > Is this correct? If yes, I would extend the manpage accordingly.
\r
65 > Currently, notmuch doesn't implement this behavior but relies on
\r
66 > Xapian's query parser to do so. As such, I'd really prefer to see
\r
67 > Xapian's documentation augmented here before we start documenting
\r
68 > any particular behavior in notmuch.
\r
70 > Olly, is the above list of operators complete and in the correct order
\r
73 Close, but actually AND and NOT have equal precedence.
\r
75 Also, NEAR and ADJ bind tighter than AND or NOT.
\r
77 And '+' and '-' tightest of all.
\r
79 I'll try to make sure this gets documented.
\r