From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id EBABD6DE0EA5 for ; Wed, 27 Feb 2019 01:50:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.323 X-Spam-Level: X-Spam-Status: No, score=0.323 tagged_above=-999 required=5 tests=[AWL=-0.331, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R3qVleZqbrJC for ; Wed, 27 Feb 2019 01:50:43 -0800 (PST) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by arlo.cworth.org (Postfix) with ESMTPS id D91F96DE0E92 for ; Wed, 27 Feb 2019 01:50:41 -0800 (PST) Received: by mail-wr1-f43.google.com with SMTP id i12so17204318wrw.0 for ; Wed, 27 Feb 2019 01:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=UHew+WFCTc6AB0VsEkR3fiIcakPtU6RVd/1Kv5rkUuc=; b=m1qEMtsZHHpt8E5UY2rRI/3WBe5VzeDApObmYIPW0AprgDWaLAYIrdpEVt6GIlES5s 29QNdyNTCMJNM8K0zsWf4WuHPNJeO9C9PrESAf7B7L2JhddpqloDJBooC/3HChUfuUVE duMCTt3yJHsUszXcpIatniYiekRtsqnk5/mhv+qaUf9oWj6N8uNK5/ixL+BW1GzKu3M0 a9NmectTYtnz5JfYfassz37lZHBoRKJneAGVhrRvY8Qxa9JLb1ykW40EdznCPQyNDWVS xD9LUNz/cfvQp9+HlqT56Vs3lw8Lubej2emlOcfhfe2AO7c3XHPPrNRTrwYmCkd6K5+m jyDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=UHew+WFCTc6AB0VsEkR3fiIcakPtU6RVd/1Kv5rkUuc=; b=JLigWnWLNyTcw1TpGicQFd/AWjDP1tksZGnEvgw8iiZ6qnCPyPeEvj3is9yMAf4Ewc KHiL04EBAmcs/zze2+LhsXyF9+4p126tRew6DHmDo29h4RS2wYvzvKASjN8gXoijpK05 Texhr6sdVPZCQRhKir+u9pbQoXa9nKv8U+YkcO80EFGOULj3VyeAMW1E0QYUiwmu5cpH c/hIRkYqmnHSPesr0ivZwZcBFTyosS4m6n/6fa36XTyUA0193W+S2pn5FrywhtCsDQOu 7GYOWml6Sv+gNLIzTeZvJzi1kEV+fdRDAfPTXdNTUCDv/5v1JKs5L4IMmG6bACfvaEqX Dssg== X-Gm-Message-State: APjAAAX3SLsxCTYVuPkCZ6veyOxwkU/Gk/NwbDiCWIHIW9btAR+iF24o 6shUbZ2H3MotwgGht4LLl3jjjA== X-Google-Smtp-Source: APXvYqwy55F1oW3FOpIM/K3Ap4PkCKpOd1JPAvjr4pIlGohCsYZY6SZ+D0py0DY6bzC2LTKZyUJjWA== X-Received: by 2002:adf:8061:: with SMTP id 88mr1578263wrk.77.1551261038812; Wed, 27 Feb 2019 01:50:38 -0800 (PST) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id y5sm32868101wrd.97.2019.02.27.01.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Feb 2019 01:50:37 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 2248b500; Wed, 27 Feb 2019 09:50:36 +0000 (UTC) To: yangsheng6810 , notmuch@notmuchmail.org Subject: Re: How to show embedded images in HTML emails? In-Reply-To: <1551221350613-0.post@n3.nabble.com> References: <1551221350613-0.post@n3.nabble.com> X-HGTTG: heart-of-gold From: David Edmondson Date: Wed, 27 Feb 2019 09:50:35 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Wed, 27 Feb 2019 09:50:44 -0000 On Tuesday, 2019-02-26 at 15:49:10 -07, yangsheng6810 wrote: > I am a new comer to notmuch switching from mu4e. Most of notmuch feels really > great, until I tried to open some HTML emails with images in it. I tried > different setting of =mm-text-html-renderer=, the best I got was with > gnus-w3m which shows images but not at the correct location. (I send and > receive emails with rendered equations and positioning of these rendered > images is crucial) After removing =copiousoutput= from mailcap of text/html, > I managed to make notmuch-view-part work and open it in an external browser. > > It works well if the images are just links. However, for embedded images > (cid images), none is showing. It seems the images are not exported > correctly. Is there any way to show these embedded images? My experience is that `shr' works best as an HTML renderer for notmuch, but that may depend on which version of emacs (and notmuch) you are using. cid images in simple text/html messages work fine for me. In multipart/alternative messages where text/html is not the default rendered part (i.e. you have to press a part header to see it) I recall that there were problems, but I don't use that very much. Can you share one of the messages in question? dme. -- I'm in California dreaming about who we used to be.