--- /dev/null
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 857B36DE18EF\r
+ for <notmuch@notmuchmail.org>; Thu, 31 Dec 2015 08:49:33 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.009\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.009 tagged_above=-999 required=5 tests=[AWL=0.092,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id q2wCamP6zMp3 for <notmuch@notmuchmail.org>;\r
+ Thu, 31 Dec 2015 08:49:30 -0800 (PST)\r
+Received: from resqmta-po-05v.sys.comcast.net (resqmta-po-05v.sys.comcast.net\r
+ [96.114.154.164])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id BF7C56DE182F\r
+ for <notmuch@notmuchmail.org>; Thu, 31 Dec 2015 08:49:29 -0800 (PST)\r
+Received: from resomta-po-17v.sys.comcast.net ([96.114.154.241])\r
+ by resqmta-po-05v.sys.comcast.net with comcast\r
+ id 0GpB1s0065Clt1L01GpV1L; Thu, 31 Dec 2015 16:49:29 +0000\r
+Received: from mail.tremily.us ([73.221.72.168])\r
+ by resomta-po-17v.sys.comcast.net with comcast\r
+ id 0GnT1s0083dr3C901GnTR2; Thu, 31 Dec 2015 16:47:29 +0000\r
+Received: by mail.tremily.us (Postfix, from userid 1000)\r
+ id D1A1E1B2DBF8; Thu, 31 Dec 2015 08:47:22 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+ t=1451580444; bh=32DaLnInxMHXetP3hbDPx6A2nDdkuRnMEaoCDk7N1cw=;\r
+ h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+ b=B5v6YyauKQhpgxdWeN/aQmdw6eQ1b47NEsPajwehnLe9KOM5Wm0h8t4ljCjtFiQG2\r
+ ieva9CvWpoTaL5QEMUNNr5+PUPxxM+/UscAvebsddIdJ0EsZ7W880roC3OV2ZogBAQ\r
+ SSryeXX9aizbEKrP+qscp1sqQqO5o3GmxRQ4wKB8=\r
+Date: Thu, 31 Dec 2015 08:47:19 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Cc: David Bremner <david@tethera.net>, Tomi Ollila <tomi.ollila@iki.fi>,\r
+ Jani Nikula <jani@nikula.org>, Carl Worth <cworth@cworth.org>\r
+Subject: Re: [PATCH 4/5] nmbug-status: Wrap query phrases in parentheses when\r
+ and-ing together\r
+Message-ID: <20151231164719.GA20010@odin.tremily.us>\r
+References: <cover.1451502495.git.wking@tremily.us>\r
+ <32c5603342644a01afd201ce6139299558d7f80b.1451502495.git.wking@tremily.us>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr"\r
+Content-Disposition: inline\r
+In-Reply-To:\r
+ <32c5603342644a01afd201ce6139299558d7f80b.1451502495.git.wking@tremily.us>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+ url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1451580569;\r
+ bh=lMiIBRQG/AKF7IS0IOlC/2JnL9ZuT+sL3WfLqNhRx6o=;\r
+ h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+ MIME-Version:Content-Type;\r
+ b=u74EkZRQ5VYdrPoDoVt2iXJaKuWl0cnkYOa6zosQFE9vvaUixdRWIz0neSvKlH0aZ\r
+ xs2Zt8RWqiGWqKErAOOJKZ1Ahsv0wl2L5vbUHDiWX1ojVPioIyimlfbJxjJlWlsQsz\r
+ srel/+TkFxxzDJt9T+8vhpfEr8EFrqWR/nEYl2SprcE0D9qNdMieYZsfpmmNq6N2lc\r
+ 6hqoVsYAMCKS1himtpNBIwdqzfeyvAuBX4WiUT48ZA7CINZgcXZVGndhjf6H+RsOQz\r
+ D8l7vzwlOogkXLN37KpA5v8BljiMSL5Dug47bYxlwrH0AY7fg5/huxgp6ctml+Hg2Z\r
+ JFYIPjqBe3QRw==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 31 Dec 2015 16:49:33 -0000\r
+\r
+\r
+--liOOAslEiF7prFVr\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, Dec 30, 2015 at 11:16:59AM -0800, W. Trevor King wrote:\r
+> @@ -167,7 +167,8 @@ class Page (object):\r
+> view['title'], sort_key))\r
+> if 'query-string' not in view:\r
+> query =3D view['query']\r
+> - view['query-string'] =3D ' and '.join(query)\r
+> + view['query-string'] =3D ' and '.join(\r
+> + '( {} )'.format(q) for q in query)\r
+\r
+This patch is missing a similar change around line 414 to handle:\r
+\r
+ $ nmbug-status --get-query VIEW\r
+\r
+I've queued that for v2.\r
+\r
+Cheers,\r
+Trevor\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--liOOAslEiF7prFVr\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBAgAGBQJWhVwVAAoJEAPqygegUbGsIl4P/jIvm1f2fcPz9oK5Cpn8djNi\r
+U9lS+pN07waScNE7E1lJl6fI9kBBV0foZ7TYm/TzHKReMGKpr8ztG/W7C02M2lLF\r
+OxUbThwR7QTjiClXUb0dwyK+CgCF+hKSEV1BlHm1K2cRsQVBDldW6QX8o+g0Llt5\r
+yXaR43yadJW60PJbGTdSVwMUscoOdzHQR1e8Ov9tQsveDGIwB/fgJ/NWlZjF5h0i\r
+3MHRAe76PatsOcnitwBTx88YEOETQA03BE/Mf5btzZumnyY6oYWNzCRdPXOxPnnY\r
+SlAGvTOnqZpWeVLRzMObZ0GLa1NMFy+VmG7Acn05SlqftJplsFgGIWCsorzgCUKR\r
+5GtmaMmuXVKzSuJMIFhz6hfJMCwnlQsLngLav/wBwySq4zCarEwmJi09+cnAQ0IT\r
+vUcwpEh8ejxx32WLTqJPfUt4Oxsn9zJFPjoWckkxj1mfKQzjopwcMEKMObmlzYH+\r
+hg99dpeSIRk1f/9xac8ksgvkkjmqedD5bNTj8avSTLLRbhYTTBcHwOfeqQzwJN6i\r
+l/5kM0pbn7O/eMBTBD/Yu4ce85UJE93UikJd8Y/zoy1Ab5QnghNeO9ndmUF5HdGj\r
+2/fFfbPSb+baCd81fvPaqDAmmsC3ZTwxfRa/O9LN9JyuXdNiZ0BMBmi+D8sCtKvk\r
+vhulzCuFtlFkbjbLOgC3\r
+=OCRS\r
+-----END PGP SIGNATURE-----\r
+\r
+--liOOAslEiF7prFVr--\r