From e2845277cff013f585d5abb2dcf78f54d076c9e7 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 29 Jan 2015 08:23:55 +0100 Subject: [PATCH] Re: [PATCH] Add a defcustom for whether to block remote images by default. --- 3a/be05fccc6556737a46095dd09b1d27df224954 | 67 +++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 3a/be05fccc6556737a46095dd09b1d27df224954 diff --git a/3a/be05fccc6556737a46095dd09b1d27df224954 b/3a/be05fccc6556737a46095dd09b1d27df224954 new file mode 100644 index 000000000..091124a99 --- /dev/null +++ b/3a/be05fccc6556737a46095dd09b1d27df224954 @@ -0,0 +1,67 @@ +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 DB956431FBC + for ; Wed, 28 Jan 2015 23:26:06 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 ZLaNcYUNn3IZ for ; + Wed, 28 Jan 2015 23:26:03 -0800 (PST) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9284F431FAF + for ; Wed, 28 Jan 2015 23:26:03 -0800 (PST) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YGjSS-0002fy-BB; Thu, 29 Jan 2015 07:24:08 +0000 +Received: (nullmailer pid 27608 invoked by uid 1000); Thu, 29 Jan 2015 + 07:23:55 -0000 +From: David Bremner +To: Jinwoo Lee , notmuch@notmuchmail.org +Subject: Re: [PATCH] Add a defcustom for whether to block remote images by + default. +In-Reply-To: <1422495572-40384-1-git-send-email-jinwoo68@gmail.com> +References: <1422495572-40384-1-git-send-email-jinwoo68@gmail.com> +User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 29 Jan 2015 08:23:55 +0100 +Message-ID: <87pp9yjbhw.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: Tomi Ollila +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: Thu, 29 Jan 2015 07:26:07 -0000 + +Jinwoo Lee writes: + +> + (shr-blocked-images (if notmuch-show-block-remote-images +> + "." +> + shr-blocked-images))) +> (shr-insert-document dom) +> t)) + +Ideally such a customization would apply to all html renders. I think +Tomi did some experiments with w3m and friends, I _think_ they respect +gnus-blocked-images, but maybe Tomi can comment. + +d -- 2.26.2