From 664296615bb754ba2010ed708d868b3d1345425f Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 26 Jan 2014 14:54:45 +2000 Subject: [PATCH] Re: mm-image-fit-p: Invalid image specification --- 0f/66951c0fb93494c105f6f00d489c5e3eaf5f77 | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 0f/66951c0fb93494c105f6f00d489c5e3eaf5f77 diff --git a/0f/66951c0fb93494c105f6f00d489c5e3eaf5f77 b/0f/66951c0fb93494c105f6f00d489c5e3eaf5f77 new file mode 100644 index 000000000..3f3fbe750 --- /dev/null +++ b/0f/66951c0fb93494c105f6f00d489c5e3eaf5f77 @@ -0,0 +1,88 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 2AA90431FC2 + for ; Sat, 25 Jan 2014 10:55:05 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id eARFEI-IZZ5C for ; + Sat, 25 Jan 2014 10:54:54 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C616F431FBC + for ; Sat, 25 Jan 2014 10:54:54 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W78NV-0003Vp-Aq; Sat, 25 Jan 2014 14:54:49 -0400 +Received: (nullmailer pid 7091 invoked by uid 1000); Sat, 25 Jan 2014 + 18:54:45 -0000 +From: David Bremner +To: Michal Sojka , notmuch +Subject: Re: mm-image-fit-p: Invalid image specification +In-Reply-To: <87vcfgln5a.fsf@steelpick.2x.cz> +References: <87vcfgln5a.fsf@steelpick.2x.cz> +User-Agent: Notmuch/0.17+42~gb867564 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sat, 25 Jan 2014 14:54:45 -0400 +Message-ID: <8761p7opsa.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 25 Jan 2014 18:55:05 -0000 + +Michal Sojka writes: + +> Hello, +> +> in emacs, I have a problem displaying an email that contain the +> following part (--format=json): +> +> { +> "content-type" : "image/svg+xml", +> "filename" : "xxxx_logo.svg", +> "id" : 4 +> } +> +> I see this message "mm-image-fit-p: Invalid image specification" and no +> other emails after this one in the thread are shown. This happens in GNU +> Emacs 24.2.1 (Debian). Emacs 23 works correctly. +> + +Hi Michal; + +I just tried to duplicate this old bug on emacs 24.3 and I couldn't. Can +you still duplicate it? If so, a test message would be appreciated. I +think if it's 24.2.1 specific, we can call it fixed. + +The relevant part of my test image json is + + + { + "content-charset" : "utf-8", + "content-length" : 3619, + "filename" : "spiral.svg", + "content-type" : "image/svg+xml", + "content-transfer-encoding" : "base64", + "id" : 1 + } + +d -- 2.26.2