From 4b59170b1e0e9c56b3b2fcf264f93f744c81657f Mon Sep 17 00:00:00 2001 From: G Philip Date: Thu, 30 Apr 2015 04:49:23 +0200 Subject: [PATCH] Re: How do I prevent notmuch-show in Emacs from automatically following links in emails? --- e2/b1650853f1a91aae369dd4f16c34fad09adbd8 | 111 ++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 e2/b1650853f1a91aae369dd4f16c34fad09adbd8 diff --git a/e2/b1650853f1a91aae369dd4f16c34fad09adbd8 b/e2/b1650853f1a91aae369dd4f16c34fad09adbd8 new file mode 100644 index 000000000..0f0451f88 --- /dev/null +++ b/e2/b1650853f1a91aae369dd4f16c34fad09adbd8 @@ -0,0 +1,111 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 592176DE031B + for ; Wed, 29 Apr 2015 19:49:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.668 +X-Spam-Level: +X-Spam-Status: No, score=-0.668 tagged_above=-999 required=5 tests=[AWL=0.052, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 hxrnr0ETzEjV for ; + Wed, 29 Apr 2015 19:49:25 -0700 (PDT) +Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com + [66.111.4.25]) + by arlo.cworth.org (Postfix) with ESMTPS id EDFDB6DE0298 + for ; Wed, 29 Apr 2015 19:49:24 -0700 (PDT) +Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) + by mailout.nyi.internal (Postfix) with ESMTP id 6DD0620925 + for ; Wed, 29 Apr 2015 22:49:23 -0400 (EDT) +Received: from web3 ([10.202.2.213]) + by compute3.internal (MEProxy); Wed, 29 Apr 2015 22:49:23 -0400 +DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gphilip.in; h= + content-transfer-encoding:content-type:date:from:in-reply-to + :message-id:mime-version:references:subject:to:x-sasl-enc + :x-sasl-enc; s=mesmtp; bh=S8xWi0h8AA4OvQdu4hUpPVVsblc=; b=vhO0wR + bhOh7YC3hAsvLCFQPlWz9v+3FC7LYi0gMgpDSuBO2p0sDO5V1qbW6wU1+vSLEQUZ + 8Fxx/rvdcNtv/9sUOQqJ/jq+9jPkeIt0Tgnnp1x47vMvynCGe0qlBO7odeFb9xUQ + 0XhMgOtVgKDdglXWOmVWCIdK/1Ft5rAke+E98= +DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= + messagingengine.com; h=content-transfer-encoding:content-type + :date:from:in-reply-to:message-id:mime-version:references + :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=S8xWi0h8AA4OvQd + u4hUpPVVsblc=; b=BdXgLUUrgl1pWpfKV653461fd8LRBZEW9uP+DiozW3gcP8+ + 1OHUWpBW9L+EuN1Myo8Cz4fCDZMiPGi2EagEX4QQo52DaNYXzYvsWs/B2cmRPm8v + KGF4UTwdbAkHOH+sdFMO6oAPDKrz2xUv8c1d/dJzz9iHWr62BK3EYhsXHdrU= +Received: by web3.nyi.internal (Postfix, from userid 99) + id 33428116889; Wed, 29 Apr 2015 22:49:23 -0400 (EDT) +Message-Id: + <1430362163.4186775.260602181.0EA6E0AA@webmail.messagingengine.com> +X-Sasl-Enc: I7HW41PKn/S0Xn9oSOG/HVPasXo4/7FYzqdBZyDfz/ik 1430362163 +From: G Philip +To: "David Mazieres expires 2015-07-28 PDT" + , + notmuch@notmuchmail.org +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Type: text/plain +X-Mailer: MessagingEngine.com Webmail Interface - ajax-e11d94ea +In-Reply-To: <87383in2kx.fsf@ta.scs.stanford.edu> +References: + <1430302199.3986971.260085241.307447C7@webmail.messagingengine.com> + <87383in2kx.fsf@ta.scs.stanford.edu> +Subject: Re: How do I prevent notmuch-show in Emacs from automatically + following links in emails? +Date: Thu, 30 Apr 2015 04:49:23 +0200 +X-Mailman-Approved-At: Wed, 29 Apr 2015 21:21:31 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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, 30 Apr 2015 02:49:27 -0000 + + + +On Wed, Apr 29, 2015, at 09:42 PM, David Mazieres wrote: +> Philip writes: +> +> > Hi, +> > +> > When I open emails in the notmuch-show mode on Emacs, it automatically +> > follows links which are present in the email. For instance, it +> > connects to various tracking objects included in the email. How can I +> > prevent it from doing this automatically all the time? Is there a +> > setting by which notmuch-show will not follow links in emails? +> +> If you just want something quick and dirty, put the following in your +> .emacs file: +> +> (setq gnus-inhibit-images t) +> +> I do that, and then in the very rare occasions where I want to see all +> the images, I just open the message in my browser by typing ". v" on the +> html part button. +> +> I'm sure the patch Tomi linked to is much better, but this works with +> unmodified notmuch. + + +Thank you. I have added this to my .emacs, let me see what happens with +the next spam email. + +Thanks to Tomi, too! + +Regards, +Philip + +> +> David -- 2.26.2