From: Tomi Ollila Date: Wed, 29 Apr 2015 10:47:56 +0000 (+0300) Subject: Re: How do I prevent notmuch-show in Emacs from automatically following links in... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8290bcc23a26c8fb0797bfed05650faf1da801fa;p=notmuch-archives.git Re: How do I prevent notmuch-show in Emacs from automatically following links in emails? --- diff --git a/a1/b2f8ef14151ff94e970e3ba3083726dd664a93 b/a1/b2f8ef14151ff94e970e3ba3083726dd664a93 new file mode 100644 index 000000000..b37231176 --- /dev/null +++ b/a1/b2f8ef14151ff94e970e3ba3083726dd664a93 @@ -0,0 +1,85 @@ +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 09A9A6DE0AA2 + for ; Wed, 29 Apr 2015 03:48:24 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1.116 +X-Spam-Level: * +X-Spam-Status: No, score=1.116 tagged_above=-999 required=5 tests=[AWL=0.464, + SPF_NEUTRAL=0.652] 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 fndrC69Hd-6J for ; + Wed, 29 Apr 2015 03:48:21 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 37AC56DE0281 + for ; Wed, 29 Apr 2015 03:48:21 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 01B7110004A; + Wed, 29 Apr 2015 13:47:56 +0300 (EEST) +From: Tomi Ollila +To: Philip , notmuch@notmuchmail.org +Subject: Re: How do I prevent notmuch-show in Emacs from automatically + following links in emails? +In-Reply-To: + <1430302199.3986971.260085241.307447C7@webmail.messagingengine.com> +References: + <1430302199.3986971.260085241.307447C7@webmail.messagingengine.com> +User-Agent: Notmuch/0.19+109~ge80275e (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Wed, 29 Apr 2015 10:48:24 -0000 + +On Wed, Apr 29 2015, Philip wrote: + +> 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? + +This: + +http://article.gmane.org/gmane.mail.notmuch.general/20159 + +should do it for inline images. you need latest git version for that. + +I wonder is anyone has tested this thorougly... +M-x debug-on-entry open-network-stream catches at least the ones +emacs does, and LD_PRELOAD could be used to catch connect(2) calls. + +Tomi + + + + +> +> Thanks, +> Philip +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch