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 9414C431FBC for ; Sun, 22 Nov 2009 13:43:02 -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 mg8+gDTrObPY for ; Sun, 22 Nov 2009 13:43:02 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id C4C68431FAE for ; Sun, 22 Nov 2009 13:43:01 -0800 (PST) Received: by bwz24 with SMTP id 24so3520311bwz.30 for ; Sun, 22 Nov 2009 13:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:date:message-id:mime-version:content-type; bh=Up8WSQ3I+5AkvUH93VoUXlVKj/avtFfPWkGy422ePnU=; b=C4qFgr8pAWzICySfkveKL97jOXi02tKHdJJhXwhGJmypXJQbviC/Qx4APkz2tnjQ2N mTl6uKlWcGX6OvuhS2a6y+WkSZ1jxa0XB/i95WSwHy58sIGii9GlW5tJ5S9JFwY433R1 TQQ9urBU1sloHXhMs8G/6DDx4m+ZA7DS7ujug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; b=a8Q8YKz0rA+BUWPH28fi0ESRE72gH5GAYeMCpidmwFxOhVlMcAZFDo+t7ZpMpzqzOl e9p99YQV5bDjKRCRnunZiDnm/ojocDfS6+A7dRJEkwIqt28qAEXqLJggr3uacX3UQ2oS PmkIEUY2dHPOLGnFj41MZrInStYLgw8hgUFIA= Received: by 10.204.2.131 with SMTP id 3mr1195110bkj.175.1258926180858; Sun, 22 Nov 2009 13:43:00 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id p17sm4750618fka.35.2009.11.22.13.42.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 13:42:59 -0800 (PST) Sender: Jed Brown From: Jed Brown To: Bart Trojanowski In-Reply-To: <20091122213649.GJ17268@jukie.net> References: <87y6ly45fc.fsf@59A2.org> <20091122213649.GJ17268@jukie.net> Date: Sun, 22 Nov 2009 22:43:30 +0100 Message-ID: <87ws1i44n1.fsf@59A2.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: Sun, 22 Nov 2009 21:43:02 -0000 On Sun, 22 Nov 2009 16:36:49 -0500, Bart Trojanowski wrote: > Wouldn't this problem be solved by each filter appending a bracketed > version of your filter? > > You start with tag:inbox and you filter on "term1 or term2" you'd get: > > tag:inbox and (term1 or term2) 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. Jed