Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / d2 / 3304443e08e9018c17b96133b810664a3b5e86
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 3E67A431FCB\r
6         for <notmuch@notmuchmail.org>; Mon, 21 Apr 2014 11:38:04 -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 LBDAWQC8-yc5 for <notmuch@notmuchmail.org>;\r
16         Mon, 21 Apr 2014 11:37:58 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu\r
18         [18.9.25.14])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 909C6431FBC\r
22         for <notmuch@notmuchmail.org>; Mon, 21 Apr 2014 11:37:58 -0700 (PDT)\r
23 X-AuditID: 1209190e-f79ee6d000000c40-93-53556585f2bc\r
24 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
25         (using TLS with cipher AES256-SHA (256/256 bits))\r
26         (Client did not present a certificate)\r
27         by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP\r
28         id 21.75.03136.58565535; Mon, 21 Apr 2014 14:37:57 -0400 (EDT)\r
29 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
30         by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s3LIbubX009461\r
31         for <notmuch@notmuchmail.org>; Mon, 21 Apr 2014 14:37:57 -0400\r
32 Received: from drake.dyndns.org\r
33         (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
34         [216.15.114.40]) (authenticated bits=0)\r
35         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
36         by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s3LIbsEK029706\r
37         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
38         for <notmuch@notmuchmail.org>; Mon, 21 Apr 2014 14:37:56 -0400\r
39 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
40         (envelope-from <amdragon@mit.edu>) id 1WcJ6I-0003kq-9G\r
41         for notmuch@notmuchmail.org; Mon, 21 Apr 2014 14:37:54 -0400\r
42 From: Austin Clements <amdragon@MIT.EDU>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 00/11] Improve charset and cid: handling\r
45 Date: Mon, 21 Apr 2014 14:37:37 -0400\r
46 Message-Id: <1398105468-14317-1-git-send-email-amdragon@mit.edu>\r
47 X-Mailer: git-send-email 1.9.1\r
48 X-Brightmail-Tracker:\r
49  H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42IRYrdT0W1NDQ022H5cy+L6zZnMDowez1bd\r
50         Yg5gjOKySUnNySxLLdK3S+DKOHRhBXvBUo6K7bN/MTcw3mbrYuTgkBAwkdh+IbWLkRPIFJO4\r
51         cG89UJiLQ0hgNpPEh/XzWSGc84wSl1ffhHJ+MUmsmPKHHcLZzShxseUvO0g/m4CGxLb9yxlB\r
52         bBEBaYmdd2ezgtjCAhYSe6auAYuzCKhKnDv4HKyeV8BB4l3TIUaI3XISJ49NZp3AyLOAkWEV\r
53         o2xKbpVubmJmTnFqsm5xcmJeXmqRrrFebmaJXmpK6SZGkL85Jfl2MH49qHSIUYCDUYmHt8Ao\r
54         NFiINbGsuDL3EKMkB5OSKO+rKKAQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEd71mkA53pTEyqrU\r
55         onyYlDQHi5I471trq2AhgfTEktTs1NSC1CKYrAwHh5IE780UoEbBotT01Iq0zJwShDQTByfI\r
56         cB6g4RdBaniLCxJzizPTIfKnGBWlxHnbQBICIImM0jy4Xlg8vmIUB3pFmLcFpIoHGMtw3a+A\r
57         BjMBDX6yJQRkcEkiQkqqgXFa7M32DQ/520rjpM5qqa6oTvdRujDjs8dk3rAJvgl9/8q0w0xX\r
58         9i1iMRbey6irPOn6zUoNhomKSj0W77J9PN4IPQtu1O3ZyKDrKXTsW+jb9UnhoqvfH9SPObYv\r
59         6Xvy/p3ndgcnWEa9NezKeWlVIHK3eEfGxjXbdXqLnCcebhGdL7S9kfXsdiWW4oxEQy3mouJE\r
60         AIDmDZqiAgAA\r
61 X-BeenThere: notmuch@notmuchmail.org\r
62 X-Mailman-Version: 2.1.13\r
63 Precedence: list\r
64 List-Id: "Use and development of the notmuch mail system."\r
65         <notmuch.notmuchmail.org>\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
69 List-Post: <mailto:notmuch@notmuchmail.org>\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
73 X-List-Received-Date: Mon, 21 Apr 2014 18:38:04 -0000\r
74 \r
75 I set out to quickly add support for cid: links in the shr renderer\r
76 and wound up making our charset handling more robust and rewriting our\r
77 content-ID handling.  The test introduced in patch 2 passes in all but\r
78 one really obscure case, but only because of many unwritten and\r
79 potentially fragile assumptions that Emacs and the CLI make about each\r
80 other.\r
81 \r
82 The first three patches could reasonably go in to 0.18.  The rest of\r
83 this series is certainly post-0.18, but I didn't want to lose track of\r
84 it.\r
85 \r
86 This series comes in three stages.  Each depends on the earlier ones,\r
87 but each prefix makes sense on its own and could be pushed without the\r
88 later stages.\r
89 \r
90 Patch 1 is a simple clean up patch.\r
91 \r
92 Patches 2 through 7 robust-ify our charset handling in Emacs, mostly\r
93 by splitting the broken `notmuch-get-bodypart-content' API into\r
94 `notmuch-get-bodypart-binary' and `notmuch-get-bodypart-text' so a\r
95 caller can explicitly convey their requirements.\r
96 \r
97 The remaining patches improve our content-ID handling and add support\r
98 for cid: links for shr.\r
99 \r