[PATCH 0/2] emacs: wash: word-wrap bugfix and tweak
[notmuch-archives.git] / 0f / 66951c0fb93494c105f6f00d489c5e3eaf5f77
1 Return-Path: <david@tethera.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 2AA90431FC2\r
6         for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 10:55:05 -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\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 eARFEI-IZZ5C for <notmuch@notmuchmail.org>;\r
16         Sat, 25 Jan 2014 10:54:54 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C616F431FBC\r
21         for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 10:54:54 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1W78NV-0003Vp-Aq; Sat, 25 Jan 2014 14:54:49 -0400\r
25 Received: (nullmailer pid 7091 invoked by uid 1000); Sat, 25 Jan 2014\r
26         18:54:45 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch <notmuch@notmuchmail.org>\r
29 Subject: Re: mm-image-fit-p: Invalid image specification\r
30 In-Reply-To: <87vcfgln5a.fsf@steelpick.2x.cz>\r
31 References: <87vcfgln5a.fsf@steelpick.2x.cz>\r
32 User-Agent: Notmuch/0.17+42~gb867564 (http://notmuchmail.org) Emacs/24.3.1\r
33         (x86_64-pc-linux-gnu)\r
34 Date: Sat, 25 Jan 2014 14:54:45 -0400\r
35 Message-ID: <8761p7opsa.fsf@zancas.localnet>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sat, 25 Jan 2014 18:55:05 -0000\r
51 \r
52 Michal Sojka <sojkam1@fel.cvut.cz> writes:\r
53 \r
54 > Hello,\r
55 >\r
56 > in emacs, I have a problem displaying an email that contain the\r
57 > following part (--format=json):\r
58 >\r
59 >     {\r
60 >        "content-type" : "image/svg+xml",\r
61 >        "filename" : "xxxx_logo.svg",\r
62 >        "id" : 4\r
63 >     }\r
64 >\r
65 > I see this message "mm-image-fit-p: Invalid image specification" and no\r
66 > other emails after this one in the thread are shown. This happens in GNU\r
67 > Emacs 24.2.1 (Debian). Emacs 23 works correctly.\r
68 >\r
69 \r
70 Hi Michal;\r
71 \r
72 I just tried to duplicate this old bug on emacs 24.3 and I couldn't. Can\r
73 you still duplicate it? If so, a test message would be appreciated. I\r
74 think if it's 24.2.1 specific, we can call it fixed.\r
75 \r
76 The relevant part of my test image json is \r
77 \r
78 \r
79             {\r
80                   "content-charset" : "utf-8",\r
81                   "content-length" : 3619,\r
82                   "filename" : "spiral.svg",\r
83                   "content-type" : "image/svg+xml",\r
84                   "content-transfer-encoding" : "base64",\r
85                   "id" : 1\r
86                }\r
87 \r
88 d\r