Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / bd / 3728cc3d51857a9f95112f858a12703c047040
1 Return-Path: <dkg@fifthhorseman.net>\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 36F04429E29\r
6         for <notmuch@notmuchmail.org>; Mon, 16 May 2011 14:29:00 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 2UIrmc6Fe7Ap for <notmuch@notmuchmail.org>;\r
16         Mon, 16 May 2011 14:28:59 -0700 (PDT)\r
17 Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
18         by olra.theworths.org (Postfix) with ESMTP id 81657429E26\r
19         for <notmuch@notmuchmail.org>; Mon, 16 May 2011 14:28:59 -0700 (PDT)\r
20 Received: from [192.168.23.207] (dsl254-070-154.nyc1.dsl.speakeasy.net\r
21         [216.254.70.154])\r
22         by che.mayfirst.org (Postfix) with ESMTPSA id C7781F97F;\r
23         Mon, 16 May 2011 17:28:57 -0400 (EDT)\r
24 Message-ID: <4DD19712.3000203@fifthhorseman.net>\r
25 Date: Mon, 16 May 2011 17:28:50 -0400\r
26 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
27 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;\r
28         rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9\r
29 MIME-Version: 1.0\r
30 To: Carl Worth <cworth@cworth.org>\r
31 Subject: Re: MIME restructuring [was: Re: release-candidate/0.6]\r
32 References: <8762pn7gth.fsf@servo.factory.finestructure.net>\r
33         <874o4zczr8.fsf@yoom.home.cworth.org>\r
34         <87wrhvyqfn.fsf@servo.factory.finestructure.net>\r
35         <87r57ybcna.fsf@yoom.home.cworth.org>   <4DD18DFE.7090206@fifthhorseman.net>\r
36         <87ei3ybawo.fsf@yoom.home.cworth.org>\r
37 In-Reply-To: <87ei3ybawo.fsf@yoom.home.cworth.org>\r
38 X-Enigmail-Version: 1.1.2\r
39 Content-Type: multipart/signed; micalg=pgp-sha512;\r
40         protocol="application/pgp-signature";\r
41         boundary="------------enig785DCD2A67D604C54F1BF143"\r
42 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 Reply-To: notmuch <notmuch@notmuchmail.org>\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Mon, 16 May 2011 21:29:00 -0000\r
57 \r
58 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
59 --------------enig785DCD2A67D604C54F1BF143\r
60 Content-Type: text/plain; charset=UTF-8\r
61 Content-Transfer-Encoding: quoted-printable\r
62 \r
63 On 05/16/2011 05:20 PM, Carl Worth wrote:\r
64 > Interestingly, this is not quite the behavior I get (with commit\r
65 > 373f352). With --format=3Dtext I'm now seeing:\r
66 >=20\r
67 > 2) C\r
68 > 3) D\r
69 > 4) E\r
70 \r
71 --format=3Dtext should only show the parts that are readable in text.\r
72 \r
73 the ultimate goal is to get the part numbers aligned across all --format\r
74 choices, regardless of the ability of the format to show the actual nesti=\r
75 ng.\r
76 \r
77 > So that explains some of my confusion. The behavioral change of this\r
78 > commit is really only impacting the json format, and not the text. That=\r
79 \r
80 > wasn't clear from the commit message (and I had only been doing my\r
81 > testing with the text backend).\r
82 \r
83 It should ultimately affect the numbering in all parts.  There's no way\r
84 for the text part to do anything like the nesting that we're doing in\r
85 json, though, due to the output format.\r
86 \r
87 > This seems to be justifying my fears about the code duplication---the\r
88 > two code paths are already divergent, (which means that things like\r
89 > notmuch part-number identifiers cannot be used between the different\r
90 > formats). I'd like to fix that by preventing the code duplication.\r
91 >=20\r
92 > Also, both paths seem to be suffering from some excess part-number\r
93 > incrementing somewhere.\r
94 \r
95 The confusions you outline were fixed (by me, iirc) somewhere later in\r
96 the crypto tree.  I did not want to tamper with dme's crypto branch\r
97 directly (though i now suspect that's what i should have done).\r
98 \r
99 i'd give you a commit ID, but i suspect you're sufficiently rebased that\r
100 this wouldn't be helpful.\r
101 \r
102         --dkg\r
103 \r
104 \r
105 --------------enig785DCD2A67D604C54F1BF143\r
106 Content-Type: application/pgp-signature; name="signature.asc"\r
107 Content-Description: OpenPGP digital signature\r
108 Content-Disposition: attachment; filename="signature.asc"\r
109 \r
110 -----BEGIN PGP SIGNATURE-----\r
111 Version: GnuPG v1.4.11 (GNU/Linux)\r
112 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
113 \r
114 iQJ8BAEBCgBmBQJN0ZcSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
115 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD\r
116 Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznp+tsP/3kGtBOzMX8qit1v8ekv3StY\r
117 vDHddazbO2b9/2626YhAcW8uAyKw2P7Oz814JeMTutsxxTnqng9T6kymAg5q4ThN\r
118 M14L3LklWs5sNqT9ODiTmtkm//lLJvKbit3s5v5E5udpIMEDEJhPwHhGUjyKN8W2\r
119 HLy67+RqxPe7Y4KQf/2RbOXGPsatfEmMpjzn46MXlGdy6TFf6BJV/pEttCAO+R8/\r
120 7vho7CDjvZ0U5IveGhHl3oaEZqNn3I1nAOEGwo0EYjUYyay2ngqCmIIHPC0/pAQF\r
121 4rT58+Fh4OqqEFJW2/bcWa1S9YmwZRcZg0kLcj+ytN87QoDsx98DLSqVTOy14KCv\r
122 GVxcRd6EagBG268uIOMuOMH5WelNWoBSMY6Eb+2eSF5DjjTecj4VhapC95AZ4xl3\r
123 xKy6P0AkkocbM7S2RTUA9sSxmbW9E14sYLu1FCS4MrtYfX18kdM0HzM1I+auZp9f\r
124 UZ0tSqmpW29pGGR3zGtUv4Ft3x+D7N8d1Kjde5nK/0Dm1pqcB2w/bv2CmCrXlCXA\r
125 GlMsaXc3y2q8EtBIoebLCMPwqoOlhYu3crkAsPnVimUj8p3J/KX9hIIwJrGbC/Jh\r
126 sgmeJFsA3UZo0AYmcjkNJcsLFq2he+myhdeMeCH6E2pINeJp3RzPU8+xWfxJCB/B\r
127 ZTdPICDGydODIFePMMci\r
128 =XFjj\r
129 -----END PGP SIGNATURE-----\r
130 \r
131 --------------enig785DCD2A67D604C54F1BF143--\r