Re: [PATCH v2 1/3] Add 'compose' command
[notmuch-archives.git] / ce / 31f5877b84dcf01673735a79ab9b20c02f97c2
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 6C173429E27\r
6         for <notmuch@notmuchmail.org>; Mon, 16 May 2011 13:50:16 -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 deDfR768VyCb for <notmuch@notmuchmail.org>;\r
16         Mon, 16 May 2011 13:50:15 -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 D3171431FD0\r
19         for <notmuch@notmuchmail.org>; Mon, 16 May 2011 13:50:15 -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 85087F97F;\r
23         Mon, 16 May 2011 16:50:12 -0400 (EDT)\r
24 Message-ID: <4DD18DFE.7090206@fifthhorseman.net>\r
25 Date: Mon, 16 May 2011 16:50:06 -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: 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>\r
36 In-Reply-To: <87r57ybcna.fsf@yoom.home.cworth.org>\r
37 X-Enigmail-Version: 1.1.2\r
38 Content-Type: multipart/signed; micalg=pgp-sha512;\r
39         protocol="application/pgp-signature";\r
40         boundary="------------enig766C5CB43E706E134D070582"\r
41 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 Reply-To: notmuch <notmuch@notmuchmail.org>\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Mon, 16 May 2011 20:50:16 -0000\r
56 \r
57 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
58 --------------enig766C5CB43E706E134D070582\r
59 Content-Type: text/plain; charset=UTF-8\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 On 05/16/2011 04:42 PM, Carl Worth wrote:\r
63 >       Meanwhile, I still can't tell exactly what the behavioral change\r
64 >       intended is. The commit message talks about "fully recursing"\r
65 >       and "match[ing] the MIME structure of the message". Was it not\r
66 >       fully recursing before? In what way did the output not match the\r
67 >       MIME structure before?\r
68 \r
69 before, the output was a linearized version of the mime tree, in\r
70 particular removing the multipart pieces and only enumerating the leaves\r
71 in a depth-first walk of the tree.\r
72 \r
73 So a message like this:\r
74 \r
75 A=E2=94=94=E2=94=AC=E2=95=B4multipart/signed 355339 bytes\r
76 B =E2=94=9C=E2=94=AC=E2=95=B4multipart/mixed 353462 bytes\r
77 C =E2=94=82=E2=94=9C=E2=95=B4text/plain 235 bytes\r
78 D =E2=94=82=E2=94=94=E2=95=B4image/jpeg attachment [foo.jpg] 352752 bytes=\r
79 \r
80 E =E2=94=94=E2=95=B4application/pgp-signature attachment [signature.asc] =\r
81 1030 bytes\r
82 \r
83 would come out with three parts:\r
84 \r
85  1) C\r
86  2) D\r
87  3) E\r
88 \r
89 the new code assigns this message to 5 parts:\r
90 \r
91  1) A\r
92  2) B\r
93  3) C\r
94  4) D\r
95  5) E\r
96 \r
97 This change is critical to be able to properly delineate which parts of\r
98 a message were signed and/or encrypted.\r
99 \r
100 hth,\r
101 \r
102         --dkg\r
103 \r
104 \r
105 --------------enig766C5CB43E706E134D070582\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 iQJ8BAEBCgBmBQJN0Y3+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
115 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD\r
116 Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznpCO0P/jtlyDHL1DCTVo+Nr9fFTJln\r
117 7TVI1gfETjMPGYY7A6A7dMuKYCjxm7DdvV4nPnqi4yrz/yxja41P161QrdZdzvMb\r
118 i4MsivVQWTMUUvCWC2ns86YvHu1wI6LitvBw0DhKMxuKTxmPNsU4R8pUGa/2kQ8U\r
119 b99VS87na8F4DCD0a05gdgHejOUJB9dpXcjBj8Kh3yHldHKr/AVjZfokjiX9dc5a\r
120 /zrcN16pE1aPC6mFznpqPdhwdXcfWtMu25YpXQTV5NXuEWKXsCynPtO4FCy94DF2\r
121 14g5KHldp6PdKSTlfHgaYfF9T0jYCm8Ii06U7vpPRgbiNh7wg87mI7ZteB6B5URb\r
122 vBFSCo5bHrHZ+uNnRjRH5GiiMHTzRBcth968N4+TSmaKB8eIBeQ+EwBCZ2Ic9iZQ\r
123 xM2n//Jx7Tk0vjbrPMJhc+9+pPvnoGlyMGjhpTGIIuG1cTIU32JEFLTJOeZcedD8\r
124 Y4XxwW74sWU25AGyhL1Ya4hBcnrrTE9LZeNdOQ0dz+yW4ABbWP8oq/+tuYWz+eSg\r
125 dcYLoiSQbqPqO7zTeqlWtSaUB417CFYyLk4nZ82peMzBGig3fodRtslxuw5sI0de\r
126 hGl9rnxa1z3d9ffGUXc56ohRKVZDitnxsVBdrv7Yi3QLcTHsTatsHuoMi6lHQnbO\r
127 MisaLcAn2fhPuf+QGduS\r
128 =Z+jK\r
129 -----END PGP SIGNATURE-----\r
130 \r
131 --------------enig766C5CB43E706E134D070582--\r