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 88BBA431FBC; Sun, 22 Nov 2009 20:39:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 mU4t7PKVEx5Z; Sun, 22 Nov 2009 20:39:44 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AA21F431FAE; Sun, 22 Nov 2009 20:39:43 -0800 (PST) From: Carl Worth To: Jed Brown , Bart Trojanowski In-Reply-To: <87ws1i44n1.fsf@59A2.org> References: <87y6ly45fc.fsf@59A2.org> <20091122213649.GJ17268@jukie.net> <87ws1i44n1.fsf@59A2.org> Date: Mon, 23 Nov 2009 05:39:29 +0100 Message-ID: <87k4xhg8hq.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [RFC] Precedence of OR and AND X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Mon, 23 Nov 2009 04:39:44 -0000 On Sun, 22 Nov 2009 22:43:30 +0100, Jed Brown wrote: > On Sun, 22 Nov 2009 16:36:49 -0500, Bart Trojanowski wrote: > Absolutely, and I have this applied locally to notmuch.el, Patch please? > but I didn't > fix notmuch-search-filter-by-tag because that would really need to parse > the expression. I don't see the difference here. Any time we append to the search string, we should be doing so with parentheses. > I'm just asking if anyone else thinks binding OR > tighter than AND would be desirable. Right now, Xapian is doing all of our query parsing. So we'd have to take things up there to get anything changed for now. In the future we might be forced into writing our own query parser to get all the functionality we want. -Carl