Re: [notmuch] [RFC] Precedence of OR and AND
authorCarl Worth <cworth@cworth.org>
Mon, 23 Nov 2009 04:39:29 +0000 (05:39 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:40 +0000 (09:35 -0800)
9a/22b46fb5c9289742f0f3046305f13886b5bab4 [new file with mode: 0644]

diff --git a/9a/22b46fb5c9289742f0f3046305f13886b5bab4 b/9a/22b46fb5c9289742f0f3046305f13886b5bab4
new file mode 100644 (file)
index 0000000..09c2bed
--- /dev/null
@@ -0,0 +1,61 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 88BBA431FBC;\r
+       Sun, 22 Nov 2009 20:39:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id mU4t7PKVEx5Z; Sun, 22 Nov 2009 20:39:44 -0800 (PST)\r
+Received: from cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id AA21F431FAE;\r
+       Sun, 22 Nov 2009 20:39:43 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Jed Brown <jed@59A2.org>, Bart Trojanowski <bart@jukie.net>\r
+In-Reply-To: <87ws1i44n1.fsf@59A2.org>\r
+References: <87y6ly45fc.fsf@59A2.org> <20091122213649.GJ17268@jukie.net>\r
+       <87ws1i44n1.fsf@59A2.org>\r
+Date: Mon, 23 Nov 2009 05:39:29 +0100\r
+Message-ID: <87k4xhg8hq.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [RFC] Precedence of OR and AND\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 23 Nov 2009 04:39:44 -0000\r
+\r
+On Sun, 22 Nov 2009 22:43:30 +0100, Jed Brown <jed@59A2.org> wrote:\r
+> On Sun, 22 Nov 2009 16:36:49 -0500, Bart Trojanowski <bart@jukie.net> wrote:\r
+> Absolutely, and I have this applied locally to notmuch.el,\r
+\r
+Patch please?\r
+\r
+>                                                            but I didn't\r
+> fix notmuch-search-filter-by-tag because that would really need to parse\r
+> the expression.\r
+\r
+I don't see the difference here. Any time we append to the search\r
+string, we should be doing so with parentheses.\r
+\r
+>                  I'm just asking if anyone else thinks binding OR\r
+> tighter than AND would be desirable.\r
+\r
+Right now, Xapian is doing all of our query parsing. So we'd have to\r
+take things up there to get anything changed for now.\r
+\r
+In the future we might be forced into writing our own query parser to\r
+get all the functionality we want.\r
+\r
+-Carl\r