Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 4f / c2076b9e4d9c58ca580062a26f3be254457ea6
1 Return-Path: <ethan.glasser.camp@gmail.com>\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 D38A9431FBF\r
6         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 10:03:01 -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: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id GjEcFIKrN8JQ for <notmuch@notmuchmail.org>;\r
17         Sun, 18 Nov 2012 10:03:01 -0800 (PST)\r
18 Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
19         [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 0C502431FAF\r
22         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 10:03:01 -0800 (PST)\r
23 Received: by mail-qa0-f46.google.com with SMTP id c11so5124579qad.5\r
24         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 10:02:59 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type;\r
28         bh=1XADBRoCphqtOiwxp6b7g2eC8G6KSxZyDq8JFv5tArE=;\r
29         b=z0tpuQiKvb8lxLYK9M+w0cE2o2PF9oZRnziVb0xeb/nGeOIC6HtdfByVZcBTrzq1vD\r
30         v/yA2b7iPtzc9kmZqBRSdWPCe/Wgz0n7Saulj5zcAYBG3km/rUM8C0zTutcLkTJ4OMso\r
31         wFAAITc8t2HBM+fCCq43y+3uy5dlgWIoqxQJXJEDkhxAwJQ6A9VklmOhA+YFcxDUqH6n\r
32         8H8beJPE5abBo124ZypXAgipzH/biSmsnLqrnyXh7A5USJRZ7Slxr79hInEGvyQFac08\r
33         Rmk9hCn3HkkMvE9DL/+3rEsZNqzveZAivWAltGIETR0OllOFxNHV9sTjXiJQi25+LQhX\r
34         H4Iw==\r
35 Received: by 10.224.78.148 with SMTP id l20mr9766424qak.27.1353261779189;\r
36         Sun, 18 Nov 2012 10:02:59 -0800 (PST)\r
37 Received: from smtp.gmail.com ([66.114.71.21])\r
38         by mx.google.com with ESMTPS id em3sm4805880qab.12.2012.11.18.10.02.57\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 18 Nov 2012 10:02:58 -0800 (PST)\r
41 From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
42 To: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>,\r
43         Tomi Ollila <tomi.ollila@iki.fi>,\r
44         Michael Stapelberg <michael+nm@stapelberg.de>, notmuch@notmuchmail.org\r
45 Subject: Re: [BUG] Saving attachments containing UTF-8 chars\r
46 In-Reply-To: <87zk2f1nt0.fsf@betacantrips.com>\r
47 References: <x6sj8xiexi.fsf@midna.zekjur.net>\r
48         <m2pq416xzl.fsf@guru.guru-group.fi>\r
49         <87zk2f1nt0.fsf@betacantrips.com>\r
50 User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/24.1.1\r
51         (x86_64-pc-linux-gnu)\r
52 Date: Sun, 18 Nov 2012 13:02:55 -0500\r
53 Message-ID: <87txsm23hs.fsf@betacantrips.com>\r
54 MIME-Version: 1.0\r
55 Content-Type: text/plain\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Sun, 18 Nov 2012 18:03:02 -0000\r
69 \r
70 Ethan Glasser-Camp <ethan.glasser.camp@gmail.com> writes:\r
71 \r
72 > Writing this buffer using C-x C-w encodes it correctly too. So I think\r
73 > this is an emacs MIME problem. We call mm-save-part, which calls\r
74 > mm-save-part-to-file, which calls mm-with-unibyte-buffer. Hmm..\r
75 >\r
76 > Indeed, it seems that inserting this character into a file that's been\r
77 > marked "unibyte" using (set-buffer-multibyte nil) turns it into the ^Y\r
78 > character (ASCII code 0x19 -- the character that comes out in the patch\r
79 > file). There's probably a technical reason that this should be true, but\r
80 > I can't think of why that would be.\r
81 \r
82 The more I think about this, the more convinced I become that this is a\r
83 bug in emacs's multibyte handling. I've filed a bug, see:\r
84 \r
85 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12925\r
86 \r
87 But I think Tomi's going to formalize his hacky patch and send that out\r
88 later too. When he does, it has my +1.\r
89 \r
90 Ethan\r