From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id rBANA3wqHmFPcgAAgWs5BA (envelope-from ) for ; Thu, 19 Aug 2021 11:55:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id rjO+OXsqHmFRHAAAbx9fmQ (envelope-from ) for ; Thu, 19 Aug 2021 09:55:07 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 8D83813D3F for ; Thu, 19 Aug 2021 11:55:07 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 0FBB3200A9; Thu, 19 Aug 2021 05:55:00 -0400 (EDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 021CA1FB5E for ; Thu, 19 Aug 2021 05:54:56 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 6E5061B00239; Thu, 19 Aug 2021 12:54:53 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1629366893; 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: in-reply-to:in-reply-to:references:references; bh=Gdg3a396N/AiNTq++Jju9UQrbJ2odZRnq9mJW1c9L/E=; b=be0wNqOg8qV4ajOCjgVVWmESe9vbg9So4oAN36ivwcZRA4sqKWfzBec7/3ro0dH1AdfnOt IIUBPThfwAkRJ82RpqjMXv9FotluCuueEXsgY+0PYn721zWAultPYtM4TuZo8g5x05rik3 wBJ+1TnGu2ErErgaGZ6VYcfquRS6IjpbK2AfazLy0Au0KhVPX/1NbPT19DznLCT+eqppyt jNiZAv/YFF69BcoHHXe5eS2woEBYIGyHD5joTpDPFxqf0r4vjBZiTZJs8o8Y7KsifQ+M54 /O6fX7dRzz4D6/b/CtTDoeCT/Z2BfKQ8PypaiX3+2A0PzzE9+v1YjkHpmFIGEg== From: Tomi Ollila To: David Edmondson , 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> User-Agent: Notmuch/0.32+21~gfdddd4c (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1629366893; 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: in-reply-to:in-reply-to:references:references; bh=Gdg3a396N/AiNTq++Jju9UQrbJ2odZRnq9mJW1c9L/E=; b=IwlNj5cY4NW3sRsg/OZAwkZb38WuobXrT2H6IJVf31uGsKwwGpq2Ao6jjN4yoDPq1s1+t4 JICcIspZixHxQmczqyV3PyD3LG8hQcOqb3M/Zylk51oPdhS0AMyK5QMJlOfPJWR+l8KOQw NVjSFgv9PFrK0yO5Ms9SzYp1HgTmJt4f/MbQ88MLAKK0VsVdJhGEjTV27aKa92U+/5dwHy HD6rJADXeB0R7vYD+suJVotPJ6stYzbChoXp+SQ1aX1kzQEVwxphyYTngh1oG4xkkedrLw Jx7Oxplriof79NqfyqMTPbzHXAQRz8YS9i/8iGI8+cgobLaBVtTBgiHH52oR/g== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1629366893; a=rsa-sha256; cv=none; b=W+MBd4YH9medO86ASYlOByK3On59UxrOF+lEJBFRzceWKxibzIw0fLVeWEVJC3ZOz+2OvH 8yXaSgDyRUezW5BOsenqOd3XxBUVS0gxxdNRt13VIL6faVfgz4inYrDj77Duc3f6QqN6Xl 1Z9l7i7A5F7lm74NXau+c3s1j+oVIXPuRfvwMpjM9i/mFfJlOAkk1JkaXARkTj4RXwVOwj r6N7IU1oAJdu07SaPbYTTFitN1KnfyPC7ADQMLpi8226mswb9stGd5JfsKu5qwpbjrxvtF sKJVKLWgoGWw38ybO4l/S/UnOX2h1nFFyCJVYhnNJrQ1FIXs+XbCr6wvvfaihQ== Message-ID-Hash: ML7OEULWF5YWO37QSDBJ2JWDHPUJM4W2 X-Message-ID-Hash: ML7OEULWF5YWO37QSDBJ2JWDHPUJM4W2 X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629366907; 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=fCODdwc50jBFFl9/R/9OeIr8sY09dVihwG5KjZ50Rp0=; b=S5RU6n9jDndC72RX0U4PHAlzXxJJuon+3IFRGWrKtCrIO8pmul70jcYd88nAtSsXxUcGPe UUCM9h8HEI//gTlAHOGgWHfodeUPN3bc3OiQlJJzGth3y+QnemouEIbpONPt3m4JuIOAtN 1GlXwqraPpiMyN1o8/3zd+yce5sRz8Hk7cyEEA9hGKhPB1nlZgyXA1rDHPTrMRXFmpnhIn jbJcu362R2T4Wuo5HYru2IWYlWAL/ov/Qz2aRffPa51R6U4ybfCVRbOs2Nvm0uJZxPvLuQ EtCg0MzpN3E7XPKWr9viamOZXNNSRNit1EDgpqifITQX6oOvOQPtgEf4tRDakw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1629366907; a=rsa-sha256; cv=fail; b=hPIRmCS4dEyKr9x6uuw4QFQxKmbuvQWavHXEMoQIaRipsLUsjDOHOSqDcHJHkkiB8asBWp LdVdOXVtt2ZlNl35q3Pd9fFz8zGGvGKWbaq/kx7LctTzZtB2B39dYXRoWHBi/0excKMJb6 4urcPL4RKS7FDHVssvjO49e4iyZN4H8x14kg14Q/0wJCI7trreFCW+iHeVThf6i2d7rHer ODUfC7VVPjiFB0fsDoRyipYaKwyzuj2tpFOwmVFl5mBlFyHUZqUc3HyiO+ONmMmDl7jHyo yMEmTAq4594bCl8Bt/L8vaR11DHpU4+VM1WFZnYuzQLUz5jFbtPLMwgSwbnTLg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=be0wNqOg; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 2.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=be0wNqOg; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 8D83813D3F X-Spam-Score: 2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: hxcEz+cZkOqk On Tue, Aug 17 2021, David Edmondson wrote: > 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) How does let-bind differ with the above ? > (notmuch-show-refresh-view)) > (define-key notmuch-show-mode-map "I" 'dme:notmuch-show-refresh-show-images) > Tomi >> >> 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 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org