Re: [notmuch] [RFC] Precedence of OR and AND

Subject: Re: [notmuch] [RFC] Precedence of OR and AND

Date: Sun, 22 Nov 2009 16:47:45 -0500

To: Jed Brown

Cc: notmuch@notmuchmail.org

From: Bart Trojanowski


* Jed Brown <jed@59A2.org> [091122 16:43]:
> Absolutely, and I have this applied locally to notmuch.el, but I didn't
> fix notmuch-search-filter-by-tag because that would really need to parse
> the expression.  I'm just asking if anyone else thinks binding OR
> tighter than AND would be desirable.

Maybe some of the ambiguity would go away if we used && and || instead
of AND and OR.  Then no matter the default, we could distinguish if
someone meant 2 or 3 tags when they typed in 'foo and bar'.

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/

Thread: