Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / bb / eac6dc05243e93a82ee290e83b016618a972f0
1 Return-Path: <cworth@cworth.org>\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 olra.theworths.org (Postfix) with ESMTP id 2115449168F\r
6         for <notmuch@notmuchmail.org>; Tue,  9 Mar 2010 11:42:50 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.384\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.384 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1.8, AWL=0.156, BAYES_20=-0.74] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id sKuQI10QiWyy; Tue,  9 Mar 2010 11:42:49 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id 68DEA491688;\r
18         Tue,  9 Mar 2010 11:42:49 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id 0C5D054C006; Tue,  9 Mar 2010 10:25:59 -0800 (PST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>\r
23 In-Reply-To: <87ws0ujcv0.fsf@linux.vnet.ibm.com>\r
24 References: <1259830005-3439-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
25         <87638mfth1.fsf@yoom.home.cworth.org>\r
26         <87ws0ujcv0.fsf@linux.vnet.ibm.com>\r
27 Date: Tue, 09 Mar 2010 10:25:58 -0800\r
28 Message-ID: <87zl2hic7d.fsf@yoom.home.cworth.org>\r
29 MIME-Version: 1.0\r
30 Content-Type: multipart/signed; boundary="=-=-=";\r
31         micalg=pgp-sha1; protocol="application/pgp-signature"\r
32 Cc: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>, notmuch@notmuchmail.org\r
33 Subject: Re: [notmuch] [PATCH 1/2] notmuch-reply: Add support for replying\r
34  only to sender\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Tue, 09 Mar 2010 19:42:50 -0000\r
48 \r
49 --=-=-=\r
50 Content-Transfer-Encoding: quoted-printable\r
51 \r
52 On Fri, 11 Dec 2009 11:01:15 +0530, "Aneesh Kumar K. V" <aneesh.kumar@linux=\r
53 .vnet.ibm.com> wrote:\r
54 > On Fri, 04 Dec 2009 11:07:54 -0800, Carl Worth <cworth@cworth.org> wrote:\r
55 > > On Thu,  3 Dec 2009 14:16:44 +0530, "Aneesh Kumar K.V" <aneesh.kumar@li=\r
56 nux.vnet.ibm.com> wrote:\r
57 > > >=20\r
58 > > > This patch add --format=3Dsender-only option.\r
59 > >=20\r
60 > > I like the idea here, (and agree that an 'R' keybinding would be great).\r
61 > >=20\r
62 > > But surely there's a way to implement this with dramatically less code\r
63 > > duplication?\r
64 >=20\r
65 > I sent an updated patch which did the above with less code duplication. A=\r
66 ny\r
67 > chance of getting this merged ?\r
68 \r
69 Thanks for the updated patch, (and I sincerely apologize for my late\r
70 response).\r
71 \r
72 I still like the functionality and keybinding, and it's great to see\r
73 less code duplication in this patch, but I also agree with the point Jed\r
74 made:\r
75 \r
76   I think --format=3D should not be used for this, formatting is orthogonal\r
77   to selecting recipients.\r
78 \r
79 We're already using --format for selection JSON output, for example. And\r
80 it's not totally unreasonable to expect that someone might want JSON\r
81 output from "notmuch reply" as well. So let's use a separate option\r
82 here.\r
83 \r
84 Perhaps:\r
85 \r
86         --recipient=3Dall|sender\r
87 \r
88 or so?\r
89 \r
90 =2DCarl\r
91 \r
92 --=-=-=\r
93 Content-Type: application/pgp-signature\r
94 \r
95 -----BEGIN PGP SIGNATURE-----\r
96 Version: GnuPG v1.4.10 (GNU/Linux)\r
97 \r
98 iD8DBQFLlpK26JDdNq8qSWgRApTIAJ4wtPftEp0ypBU6eJXXQFKs6d8NwwCePwUF\r
99 0HGTM4iVPoWjNz8QDp9Xglk=\r
100 =LgoU\r
101 -----END PGP SIGNATURE-----\r
102 --=-=-=--\r