From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aBpALprkG2G61AAAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 18:32:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EMnjKZrkG2F7ZAAAB5/wlQ (envelope-from ) for ; Tue, 17 Aug 2021 16:32:26 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD1578818 for ; Tue, 17 Aug 2021 18:32:25 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id DA13720072; Tue, 17 Aug 2021 12:32:21 -0400 (EDT) Received: from wforward2-smtp.messagingengine.com (wforward2-smtp.messagingengine.com [64.147.123.31]) by mail.notmuchmail.org (Postfix) with ESMTPS id EA31E20068 for ; Tue, 17 Aug 2021 12:32:18 -0400 (EDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.west.internal (Postfix) with ESMTP id 448931AC0039; Tue, 17 Aug 2021 12:32:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 17 Aug 2021 12:32:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=UaJsW4 IQWoq8ICkCT1Ck0CexUtpjzINPuoCxDL/hvhU=; b=rC7TgvuRm38UeXPrloGGAJ fvN126jKlBb8SZV1lrAwRci9Rlzb09/T+zoSXfM1hWtR4Ch4A8D3ZNWbK4px+F2i PSrDMSvQIeGhO2xlzwb8Qx3u0ku55N/TPWQ0pIUWqPpAsCaBHRbqZx6b/qoMnL2+ ffW1MflPRaTLYkCabTiBOfGG/7YbxnBtWd+BavE6xkv7BOBOjMjrjp7drEeOK2E0 ih16yi9BTQVmGvSg3VmovhVHdgLScfddd8BhhmYHRQt6Xxoq4a6gvZRNRqVWlU5b gvfMdV1DQKemya+zaFZzy7T+A+DSTWBZuYSD/CPD/aC8nCxG/YvcflCQdP12Ut2g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleefgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepvffujghfhfffkfggtgesthdtredttddttdenucfhrhhomhepffgrvhhiugcu gfgumhhonhgushhonhcuoegumhgvsegumhgvrdhorhhgqeenucggtffrrghtthgvrhhnpe fhkeeguedtvdegffffteehjedvjeeitefgfefgffdugeffffegudehgeetgeelkeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhgvsegumh gvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Aug 2021 12:32:14 -0400 (EDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id f35a1c25; Tue, 17 Aug 2021 16:32:12 +0000 (UTC) To: Jonathan Wilner , David Bremner , jao , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: honour notmuch-show-text/html-blocked-images in w3m messages In-Reply-To: References: <20210804000241.1053748-1-jao@gnu.org> <87wnp2vukc.fsf@tethera.net> From: David Edmondson Date: Tue, 17 Aug 2021 17:32:12 +0100 Message-ID: MIME-Version: 1.0 Message-ID-Hash: ATN2HCK6S4FMZQVBA6P5W5NE2YQHW7VQ X-Message-ID-Hash: ATN2HCK6S4FMZQVBA6P5W5NE2YQHW7VQ X-MailFrom: dme@dme.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 CC: jao X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629217946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qrIka0Jgin/uc0jyLOWlET1HIVoONQmNZVcb1u+8iss=; b=QudQW16qm6tFNfWFh6t3+eRGrqJ/ipEh8FUKLzMQyvBDpt9UtbPYIv/TjZ+mScDbLSyL4z fFWipkP2DcQVxTGVk7YWngOb14x3W5nR+8aIWPOw2HlQXZI4HCr/DlRSiIpBOM5MPSUwUR XsMCgjTKQnUA7tGSn3MA5WrYzemfxds1bT0vnWgHWzOJ5KH6C9hg8UhGXAUUi0dFNiSruV E4ASIADi+q3RaFPCuIzTXQpiLPoWk4EM6POP2Y6p5oL8G43tW4PcH7bAr8p0qo6qgbgagv WfHJRBFliylAPrWNC0+GUZ1po5aaZfxqjGz34wRpS3pRoa/8YVJLrMgKAPS5IA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629217946; a=rsa-sha256; cv=none; b=Pio0bKEpyVmpL5SSYq4mtrgfoTgS27v1YxubijiywX1+y7yuZD3C6ev6SGrX0syWmzL0o0 8Z3Xw/swXLq1kDciCqYzzNszVvxmJKVfuIUBD3LT8dLIsdY10D7bVWS0GJxoJD6VVnP1E0 UWfEOol9LJ7VnH6i6qk6CgFKVlyc8NVaKSCiwX1xg2G1Gped6ustcmFnUYppOn2WqjqWMM Jl/N8zR9WVMjxootcA620DysBbkmeSaxTY4Y+4XBWh4VB+YTEWmjuBl6tfO33LinHOFXWV cDbI+8mhXj6tN8lPJLTNpke8HUXHJndmOLVRyY67jwnKYYJp32xxg+L8iPyAFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=rC7TgvuR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=rC7TgvuR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BD1578818 X-Spam-Score: 0.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: fQ3TJB5eNWB8 On Tuesday, 2021-08-17 at 09:07:53 -07, Jonathan Wilner wrote: > Apologies in advance for thread-jacking this patch ! > > No matter what I try to do, I can't configure notmuch/emacs to show > any inline images. That's using any of the renderer options, from shr > to the various w3ms, other than html2text. I've set every possible > variable to allow things, to no avail. > > Using w3m under Emacs on the same machine pulls in local and network images fine. > > Does anyone either have this working as the default or even using a > toggle ("T") to enable images one message at time? I use (with shr): (defun dme:notmuch-show-refresh-show-images () "Refresh the current buffer with external images enabled." (interactive) (make-local-variable 'notmuch-show-text/html-blocked-images) (setq notmuch-show-text/html-blocked-images nil) (notmuch-show-refresh-view)) (define-key notmuch-show-mode-map "I" 'dme:notmuch-show-refresh-show-images) > > Thanks in advance, > > Jonathan > > David Bremner writes: > >> jao writes: >> >>> When mm-text-html-renderer is set to 'w3m, the variable playing the >>> role of a regular expression for blocked images is >>> w3m-ignored-image-url-regexp. We bind it when the renderer is not >>> 'shr. >>> --- >> applied to master >> _______________________________________________ >> notmuch mailing list -- notmuch@notmuchmail.org >> To unsubscribe send an email to notmuch-leave@notmuchmail.org > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org