Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / b9 / 3998cc937b03dfa408222c6fcda614198e8749
1 Return-Path: <bremner@unb.ca>\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 BB63F431FD0\r
6         for <notmuch@notmuchmail.org>; Sun, 18 Dec 2011 16:03:57 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 04IpKttQCMkw for <notmuch@notmuchmail.org>;\r
16         Sun, 18 Dec 2011 16:03:57 -0800 (PST)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 041D3431FB6\r
21         for <notmuch@notmuchmail.org>; Sun, 18 Dec 2011 16:03:56 -0800 (PST)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [156.34.79.193]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBJ03iW5009885\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Sun, 18 Dec 2011 20:03:45 -0400\r
28 Received: from bremner by zancas.localnet with local (Exim 4.77)\r
29         (envelope-from <bremner@unb.ca>)\r
30         id 1RcQhk-0000l4-16; Sun, 18 Dec 2011 20:03:44 -0400\r
31 From: David Bremner <david@tethera.net>\r
32 To: Olivier Berger <olivier.berger@it-sudparis.eu>, 652359@bugs.debian.org\r
33 Subject: Re: Bug#652359: notmuch-emacs: Won't display correctly\r
34         quoted-printable iso-8859-1 mails\r
35 In-Reply-To: <20111216160104.24920.82593.reportbug@inf-8657.int-evry.fr>, \r
36         <87liqaas12.fsf@zancas.localnet>\r
37 References: <20111216160104.24920.82593.reportbug@inf-8657.int-evry.fr>\r
38 User-Agent: Notmuch/0.10.2+103~gd823dc2 (http://notmuchmail.org) Emacs/23.3.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Sun, 18 Dec 2011 20:03:43 -0400\r
41 Message-ID: <87zkepa0m8.fsf@zancas.localnet>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/mixed; boundary="=-=-="\r
44 Cc: notmuch@notmuchmail.org\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 19 Dec 2011 00:03:57 -0000\r
58 \r
59 --=-=-=\r
60 \r
61 On Fri, 16 Dec 2011 17:01:04 +0100, Olivier Berger <olivier.berger@it-sudparis.eu> wrote:\r
62 \r
63 > In my understanding, the quoted-printable iso-8859-1 is correct for\r
64 > french accents, and is converted somehow to UTF-8, though it is\r
65 > displayed in an emacs buffer that looks like iso-8859-1 (The\r
66 > minibuffer separator line starts with '-1:%*-' ...\r
67 \r
68 Do you the same behaviour with "emacs -q"?\r
69 \r
70 I did the following: \r
71 \r
72 $ export LANG=fr_FR.utf8\r
73 $ export LC_CTYPE=fr_FR.utf8\r
74 $ emacs -q  # gtk emacs\r
75 \r
76 M-x notmuch\r
77 \r
78 and your message id:"877h1wv7mg.fsf@inf-8657.int-evry.fr" displays fine\r
79 (with U in the modeline).\r
80 \r
81 Poking around at random, I did \r
82 \r
83        M-x set-language-environment <Return> French <Return>\r
84 \r
85 and then I could duplicate your problem; the mode line shows 8859-1\r
86 coding system and the message is not displayed correctly. On the other\r
87 hand, in this case the patch I sent does fix the actual message display\r
88 for me, just as it did in the other case where I set the locale directly\r
89 to fr_FR (without utf8).\r
90 \r
91 \r
92 d\r
93 \r
94 \r
95 --=-=-=\r
96 Content-Type: application/octet-stream\r
97 Content-Disposition: attachment; filename=mail-accentue\r
98 Content-Transfer-Encoding: base64\r
99 \r
100 RnJvbTogT2xpdmllciBCZXJnZXIgPG9saXZpZXIuYmVyZ2VyQGl0LXN1ZHBhcmlzLmV1PgpUbzog\r
101 b2xpdmllci5iZXJnZXJAaXQtc3VkcGFyaXMuZXUKU3ViamVjdDogRXNzYWkgPT9pc28tODg1OS0x\r
102 P1E/YWNjZW50dT1FOT89ClVzZXItQWdlbnQ6IE5vdG11Y2gvMC4xMC4xIChodHRwOi8vbm90bXVj\r
103 aG1haWwub3JnKSBFbWFjcy8yMy4zLjEgKGk0ODYtcGMtbGludXgtZ251KQpYLURyYWZ0LUZyb206\r
104 ICgibm5pbWFwK2xvY2FsZG92ZWNvdDpJTkJPWCIgNDQyMjgpCkRhdGU6IEZyaSwgMTYgRGVjIDIw\r
105 MTEgMTY6NDk6NTkgKzAxMDAKTWVzc2FnZS1JRDogPDg3N2gxd3Y3bWcuZnNmQGluZi04NjU3Lmlu\r
106 dC1ldnJ5LmZyPgpNSU1FLVZlcnNpb246IDEuMApDb250ZW50LVR5cGU6IHRleHQvcGxha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