Re: [PATCH] Add a defcustom for whether to block remote images by default.
authorDavid Bremner <david@tethera.net>
Thu, 29 Jan 2015 07:23:55 +0000 (08:23 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:52 +0000 (14:47 -0700)
3a/be05fccc6556737a46095dd09b1d27df224954 [new file with mode: 0644]

diff --git a/3a/be05fccc6556737a46095dd09b1d27df224954 b/3a/be05fccc6556737a46095dd09b1d27df224954
new file mode 100644 (file)
index 0000000..091124a
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id DB956431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Jan 2015 23:26:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ZLaNcYUNn3IZ for <notmuch@notmuchmail.org>;\r
+       Wed, 28 Jan 2015 23:26:03 -0800 (PST)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+       [87.98.215.224])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9284F431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Jan 2015 23:26:03 -0800 (PST)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+       4.80) (envelope-from <david@tethera.net>)\r
+       id 1YGjSS-0002fy-BB; Thu, 29 Jan 2015 07:24:08 +0000\r
+Received: (nullmailer pid 27608 invoked by uid 1000); Thu, 29 Jan 2015\r
+       07:23:55 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jinwoo Lee <jinwoo68@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Add a defcustom for whether to block remote images by\r
+       default.\r
+In-Reply-To: <1422495572-40384-1-git-send-email-jinwoo68@gmail.com>\r
+References: <1422495572-40384-1-git-send-email-jinwoo68@gmail.com>\r
+User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 29 Jan 2015 08:23:55 +0100\r
+Message-ID: <87pp9yjbhw.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 29 Jan 2015 07:26:07 -0000\r
+\r
+Jinwoo Lee <jinwoo68@gmail.com> writes:\r
+\r
+> +    (shr-blocked-images (if notmuch-show-block-remote-images\r
+> +                            "."\r
+> +                          shr-blocked-images)))\r
+>      (shr-insert-document dom)\r
+>      t))\r
+\r
+Ideally such a customization would apply to all html renders. I think\r
+Tomi did some experiments with w3m and friends, I _think_ they respect\r
+gnus-blocked-images, but maybe Tomi can comment.\r
+\r
+d\r