Announcing Astroid v0.6
[notmuch-archives.git] / d5 / 3335b37318e949dd53101d96e3ff5d58032c9d
1 Return-Path: <amdragon@mit.edu>\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 4CFBC431FAE\r
6         for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 19:35:17 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 f4ImJcQlrk46 for <notmuch@notmuchmail.org>;\r
16         Tue, 24 Jul 2012 19:35:16 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU\r
18         [18.7.68.37])\r
19         by olra.theworths.org (Postfix) with ESMTP id 1899D431FAF\r
20         for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 19:35:07 -0700 (PDT)\r
21 X-AuditID: 12074425-b7f9b6d0000008c4-15-500f5b597f25\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
23         by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 22.8F.02244.95B5F005; Tue, 24 Jul 2012 22:35:05 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id q6P2Z4Bv011168; \r
27         Tue, 24 Jul 2012 22:35:04 -0400\r
28 Received: from drake.dyndns.org\r
29         (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
30         [209.6.116.242]) (authenticated bits=0)\r
31         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
32         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q6P2Z2Vn025114\r
33         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
34         Tue, 24 Jul 2012 22:35:03 -0400 (EDT)\r
35 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
36         (envelope-from <amdragon@mit.edu>)\r
37         id 1StrRE-0004Yh-RN; Tue, 24 Jul 2012 22:35:00 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH 00/13] Convert notmuch show to use structure printers\r
41 Date: Tue, 24 Jul 2012 22:34:40 -0400\r
42 Message-Id: <1343183693-17134-1-git-send-email-amdragon@mit.edu>\r
43 X-Mailer: git-send-email 1.7.10\r
44 X-Brightmail-Tracker:\r
45  H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsUixCmqrBsZzR9gMOUSt8XehnZGi+s3ZzI7\r
46         MHks3rSfzePZqlvMAUxRXDYpqTmZZalF+nYJXBl3X0xhLNjCUfFxy2P2BsYHbF2MnBwSAiYS\r
47         6z6uYIawxSQu3FsPFOfiEBLYxygxZdplJpCEkMAGRolvB50gEo+YJB5N28YM4cxllNh25Q9Y\r
48         O5uAhsS2/csZQWwRAWmJnXdns4LYzAJCEr+u7QCrERZwlbj8tBksziKgKvG/qRfM5hVwkLj3\r
49         4CErxBnyEk/v97FNYORdwMiwilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdCLzezRC81pXQTIyg0\r
50         2F1UdzBOOKR0iFGAg1GJh/fXE74AIdbEsuLK3EOMkhxMSqK8FcH8AUJ8SfkplRmJxRnxRaU5\r
51         qcWHGCU4mJVEeIvCgHK8KYmVValF+TApaQ4WJXHeGyk3/YUE0hNLUrNTUwtSi2CyMhwcShK8\r
52         rVFAjYJFqempFWmZOSUIaSYOTpDhPEDDWUFqeIsLEnOLM9Mh8qcYFaXEebVBEgIgiYzSPLhe\r
53         WOy+YhQHekWYtxmkigcY93Ddr4AGMwENfh7GBzK4JBEhJdXA6L3M+0Sg0JmjbOsy590TuMu+\r
54         dNvlHcVcr/7MurrkhvdpsZaJzdpXlrw9NZNpzebPz533sVWLzXm+Z8PSTWt/hj1Z18B+Jced\r
55         kafI+q5bq9q7Iu8WnX4XvZwzgeqbzq1Uu/tk30HbCPdF+t/FTm08wrn8X9LisOdC/S0vFx0M\r
56         03yX3i3moGPaKabEUpyRaKjFXFScCACwMJJIuAIAAA==\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Wed, 25 Jul 2012 02:35:17 -0000\r
70 \r
71 This patch series converts notmuch show to use the new structure\r
72 printer infrastructure, cleaning up the code and paving the way to\r
73 easily support other structure types.  There are a lot of patches, but\r
74 most of them are small and the conversion is very mechanical.\r
75 \r
76 The first three patches set up prerequisites by making the test\r
77 infrastructure more resilient to irrelevant JSON changes and by\r
78 introducing a new method to the sprinter.  The next three patches\r
79 introduce sprinters to notmuch show and feed them through all of its\r
80 layers, though they remain unused.  The remaining patches work their\r
81 way back up from the leaves of the JSON printer all the way to\r
82 do_show, converting each layer to use the sprinter.  By doing this\r
83 conversion from the leaves of the structure up, the output remains\r
84 valid and the tests continue to pass at every step.\r
85 \r
86 The full series has been tested with both GMime 2.4 and GMime 2.6.\r
87 \r
88 The first two patches together and the third patch alone stand on\r
89 their own and could be pushed before the rest of the series if\r
90 desired.\r
91 \r