How do I prevent notmuch-show in Emacs from automatically following links in emails?

David Mazieres dm-list-email-notmuch at scs.stanford.edu
Wed Apr 29 12:42:38 PDT 2015


Philip <notmuch at accounts.gphilip.in> 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.

David


More information about the notmuch mailing list