From 96a74e2da22d9e320ace66d4639c27902c3061d1 Mon Sep 17 00:00:00 2001 From: David Belohrad Date: Mon, 3 Feb 2014 09:35:00 +0100 Subject: [PATCH] Re: show inline html images as attachments in emacs notmuch-show --- bd/d4fa8bb8cbf7d5db22a83c0de6735c6c19a55f | 147 ++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 bd/d4fa8bb8cbf7d5db22a83c0de6735c6c19a55f diff --git a/bd/d4fa8bb8cbf7d5db22a83c0de6735c6c19a55f b/bd/d4fa8bb8cbf7d5db22a83c0de6735c6c19a55f new file mode 100644 index 000000000..82ac97599 --- /dev/null +++ b/bd/d4fa8bb8cbf7d5db22a83c0de6735c6c19a55f @@ -0,0 +1,147 @@ +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 63273431FC9 + for ; Mon, 3 Feb 2014 00:35:14 -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 1WeROZ3JPkxZ for ; + Mon, 3 Feb 2014 00:35:05 -0800 (PST) +Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch + [212.101.19.163]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9FCFF431FBD + for ; Mon, 3 Feb 2014 00:35:05 -0800 (PST) +Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch + [137.138.197.99]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) (Authenticated sender: david) + by server.belohrad.ch (Postfix) with ESMTPSA id EE0752C06D5; + Mon, 3 Feb 2014 09:35:10 +0100 (CET) +From: David Belohrad +To: Mark Walters , Jonas =?utf-8?Q?H=C3=B6rsch?= + , notmuch@notmuchmail.org +Subject: Re: show inline html images as attachments in emacs notmuch-show +In-Reply-To: <874n4ghb01.fsf@qmul.ac.uk> +References: <87y51u8opn.fsf@kafka.loc> <87y51tp9jf.fsf@qmul.ac.uk> + <8761owu016.fsf@pcbe13433.cern.ch> <874n4ghb01.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.17+15~gb65ca8e (http://notmuchmail.org) Emacs/24.3.50.1 + (x86_64-unknown-linux-gnu) +Date: Mon, 03 Feb 2014 09:35:00 +0100 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +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: Mon, 03 Feb 2014 08:35:14 -0000 + +Hi Mark, + +thanks for info. I correct myself. The CID images in my case do not link +correctly when email opened as text/plain. They do however work when +email is opened as text/html. + +In case of text/html they nicely are shown inline. In case of text/plain +the link is somehow live, but cid: is in different color than link +itself. when clicked on both separately, they both open empty emacs +buffer. + +I send you privately one of my emails, which exhibits this behaviour as +well the screenshot on how it looks on my screen + +thanks +.d. + + + +Mark Walters writes: + +> Hi +> +> On Mon, 03 Feb 2014, David Belohrad wrote: +>> Hi all, +>> +>> I can confirm this behaviour as well. With certain emails the CID images +>> are not displayed, and there is no means how to show them except writing +>> on disk and view externally. +>> +>> i have reported this problem some times ago, but I haven't find any +>> solution yet. +>> +>> http://notmuchmail.org/pipermail/notmuch/2012/012493.html +> +> I think we thought this bug was fixed in +> id:87625rz71n.fsf@awakening.csail.mit.edu +> +> Are the symptoms now exactly the same as in your original report? Do you +> have any public messages showing the problem or can you construct one? +> +> With a sample message I expect we can fix this: I get very little html +> email and haven't seen the problem. +> +> Best wishes +> +> Mark +> +> +> +>> +>> +>> .d. +>> +>> Mark Walters writes: +>> +>>> Hi +>>> +>>> This sounds like a bug. However, I don't think I have any emails showing +>>> this problem. Have you got any examples that are public, or at least +>>> public enough they can be sent privately? +>>> +>>> Best wishes +>>> +>>> Mark +>>> +>>> +>>> On Sat, 01 Feb 2014, Jonas H=C3=B6rsch wrote: +>>>> hej, everyone, +>>>> +>>>> currently when i receive a mail containing inline images in a html +>>>> alternative part, which use those cid references. they are sometimes +>>>> shown, but other times not visible at all and just a [cid] token is +>>>> shown. +>>>> +>>>> is it possible to provide regular attachment buttons for such images, +>>>> regardless whether they can be displayed or not. this would make sure, +>>>> that one can display them and it's even easily possible to save them +>>>> separately. +>>>> +>>>> thanks for any hints on how to get there, +>>>> +>>>> jonas +>>>> _______________________________________________ +>>>> notmuch mailing list +>>>> notmuch@notmuchmail.org +>>>> http://notmuchmail.org/mailman/listinfo/notmuch +>>> _______________________________________________ +>>> notmuch mailing list +>>> notmuch@notmuchmail.org +>>> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2