Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 80 / f27b1fef5ae62376acd607ac1121768d908ad2
1 Return-Path: <wking@tremily.us>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 857B36DE18EF\r
6  for <notmuch@notmuchmail.org>; Thu, 31 Dec 2015 08:49:33 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.009\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.009 tagged_above=-999 required=5 tests=[AWL=0.092,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id q2wCamP6zMp3 for <notmuch@notmuchmail.org>;\r
17  Thu, 31 Dec 2015 08:49:30 -0800 (PST)\r
18 Received: from resqmta-po-05v.sys.comcast.net (resqmta-po-05v.sys.comcast.net\r
19  [96.114.154.164])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id BF7C56DE182F\r
21  for <notmuch@notmuchmail.org>; Thu, 31 Dec 2015 08:49:29 -0800 (PST)\r
22 Received: from resomta-po-17v.sys.comcast.net ([96.114.154.241])\r
23  by resqmta-po-05v.sys.comcast.net with comcast\r
24  id 0GpB1s0065Clt1L01GpV1L; Thu, 31 Dec 2015 16:49:29 +0000\r
25 Received: from mail.tremily.us ([73.221.72.168])\r
26  by resomta-po-17v.sys.comcast.net with comcast\r
27  id 0GnT1s0083dr3C901GnTR2; Thu, 31 Dec 2015 16:47:29 +0000\r
28 Received: by mail.tremily.us (Postfix, from userid 1000)\r
29  id D1A1E1B2DBF8; Thu, 31 Dec 2015 08:47:22 -0800 (PST)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31  t=1451580444; bh=32DaLnInxMHXetP3hbDPx6A2nDdkuRnMEaoCDk7N1cw=;\r
32  h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33  b=B5v6YyauKQhpgxdWeN/aQmdw6eQ1b47NEsPajwehnLe9KOM5Wm0h8t4ljCjtFiQG2\r
34  ieva9CvWpoTaL5QEMUNNr5+PUPxxM+/UscAvebsddIdJ0EsZ7W880roC3OV2ZogBAQ\r
35  SSryeXX9aizbEKrP+qscp1sqQqO5o3GmxRQ4wKB8=\r
36 Date: Thu, 31 Dec 2015 08:47:19 -0800\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: notmuch@notmuchmail.org\r
39 Cc: David Bremner <david@tethera.net>, Tomi Ollila <tomi.ollila@iki.fi>,\r
40  Jani Nikula <jani@nikula.org>, Carl Worth <cworth@cworth.org>\r
41 Subject: Re: [PATCH 4/5] nmbug-status: Wrap query phrases in parentheses when\r
42  and-ing together\r
43 Message-ID: <20151231164719.GA20010@odin.tremily.us>\r
44 References: <cover.1451502495.git.wking@tremily.us>\r
45  <32c5603342644a01afd201ce6139299558d7f80b.1451502495.git.wking@tremily.us>\r
46 MIME-Version: 1.0\r
47 Content-Type: multipart/signed; micalg=pgp-sha1;\r
48  protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr"\r
49 Content-Disposition: inline\r
50 In-Reply-To:\r
51  <32c5603342644a01afd201ce6139299558d7f80b.1451502495.git.wking@tremily.us>\r
52 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
53  url=http://tremily.us/pubkey.txt\r
54 User-Agent: Mutt/1.5.23 (2014-03-12)\r
55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
56  s=q20140121; t=1451580569;\r
57  bh=lMiIBRQG/AKF7IS0IOlC/2JnL9ZuT+sL3WfLqNhRx6o=;\r
58  h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
59  MIME-Version:Content-Type;\r
60  b=u74EkZRQ5VYdrPoDoVt2iXJaKuWl0cnkYOa6zosQFE9vvaUixdRWIz0neSvKlH0aZ\r
61  xs2Zt8RWqiGWqKErAOOJKZ1Ahsv0wl2L5vbUHDiWX1ojVPioIyimlfbJxjJlWlsQsz\r
62  srel/+TkFxxzDJt9T+8vhpfEr8EFrqWR/nEYl2SprcE0D9qNdMieYZsfpmmNq6N2lc\r
63  6hqoVsYAMCKS1himtpNBIwdqzfeyvAuBX4WiUT48ZA7CINZgcXZVGndhjf6H+RsOQz\r
64  D8l7vzwlOogkXLN37KpA5v8BljiMSL5Dug47bYxlwrH0AY7fg5/huxgp6ctml+Hg2Z\r
65  JFYIPjqBe3QRw==\r
66 X-BeenThere: notmuch@notmuchmail.org\r
67 X-Mailman-Version: 2.1.20\r
68 Precedence: list\r
69 List-Id: "Use and development of the notmuch mail system."\r
70  <notmuch.notmuchmail.org>\r
71 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
72  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
74 List-Post: <mailto:notmuch@notmuchmail.org>\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
76 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
77  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
78 X-List-Received-Date: Thu, 31 Dec 2015 16:49:33 -0000\r
79 \r
80 \r
81 --liOOAslEiF7prFVr\r
82 Content-Type: text/plain; charset=us-ascii\r
83 Content-Disposition: inline\r
84 Content-Transfer-Encoding: quoted-printable\r
85 \r
86 On Wed, Dec 30, 2015 at 11:16:59AM -0800, W. Trevor King wrote:\r
87 > @@ -167,7 +167,8 @@ class Page (object):\r
88 >                  view['title'], sort_key))\r
89 >          if 'query-string' not in view:\r
90 >              query =3D view['query']\r
91 > -            view['query-string'] =3D ' and '.join(query)\r
92 > +            view['query-string'] =3D ' and '.join(\r
93 > +                '( {} )'.format(q) for q in query)\r
94 \r
95 This patch is missing a similar change around line 414 to handle:\r
96 \r
97   $ nmbug-status --get-query VIEW\r
98 \r
99 I've queued that for v2.\r
100 \r
101 Cheers,\r
102 Trevor\r
103 \r
104 --=20\r
105 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
106 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
107 \r
108 --liOOAslEiF7prFVr\r
109 Content-Type: application/pgp-signature; name="signature.asc"\r
110 Content-Description: OpenPGP digital signature\r
111 \r
112 -----BEGIN PGP SIGNATURE-----\r
113 Version: GnuPG v2\r
114 \r
115 iQIcBAEBAgAGBQJWhVwVAAoJEAPqygegUbGsIl4P/jIvm1f2fcPz9oK5Cpn8djNi\r
116 U9lS+pN07waScNE7E1lJl6fI9kBBV0foZ7TYm/TzHKReMGKpr8ztG/W7C02M2lLF\r
117 OxUbThwR7QTjiClXUb0dwyK+CgCF+hKSEV1BlHm1K2cRsQVBDldW6QX8o+g0Llt5\r
118 yXaR43yadJW60PJbGTdSVwMUscoOdzHQR1e8Ov9tQsveDGIwB/fgJ/NWlZjF5h0i\r
119 3MHRAe76PatsOcnitwBTx88YEOETQA03BE/Mf5btzZumnyY6oYWNzCRdPXOxPnnY\r
120 SlAGvTOnqZpWeVLRzMObZ0GLa1NMFy+VmG7Acn05SlqftJplsFgGIWCsorzgCUKR\r
121 5GtmaMmuXVKzSuJMIFhz6hfJMCwnlQsLngLav/wBwySq4zCarEwmJi09+cnAQ0IT\r
122 vUcwpEh8ejxx32WLTqJPfUt4Oxsn9zJFPjoWckkxj1mfKQzjopwcMEKMObmlzYH+\r
123 hg99dpeSIRk1f/9xac8ksgvkkjmqedD5bNTj8avSTLLRbhYTTBcHwOfeqQzwJN6i\r
124 l/5kM0pbn7O/eMBTBD/Yu4ce85UJE93UikJd8Y/zoy1Ab5QnghNeO9ndmUF5HdGj\r
125 2/fFfbPSb+baCd81fvPaqDAmmsC3ZTwxfRa/O9LN9JyuXdNiZ0BMBmi+D8sCtKvk\r
126 vhulzCuFtlFkbjbLOgC3\r
127 =OCRS\r
128 -----END PGP SIGNATURE-----\r
129 \r
130 --liOOAslEiF7prFVr--\r