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 gu9tJjTmG2EM2AAAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 18:39:16 +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 wJZpITTmG2EhYQAAB5/wlQ (envelope-from ) for ; Tue, 17 Aug 2021 16:39:16 +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 BEEF189B0 for ; Tue, 17 Aug 2021 18:39:15 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id EE9D020086; Tue, 17 Aug 2021 12:39:11 -0400 (EDT) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by mail.notmuchmail.org (Postfix) with ESMTPS id B6A711FA23 for ; Tue, 17 Aug 2021 12:39:09 -0400 (EDT) Received: by mail-pj1-x1033.google.com with SMTP id n5so12449152pjt.4 for ; Tue, 17 Aug 2021 09:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=teamwilner-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=CGCYo2n46clm4K1uwUkXNScyKAIbBbeGOPTuUbegdtk=; b=nNslhfSTOgmmk8sgwOQyvzQC27c9Lw+Q2yWGweJvuqXLo2/s/0hDnTEGiZBPHe9DsM AD0vy65dl9VlyysempbcijwxP3QKfZtPPR69q8x7JyBqgVytekJAJfilaBkONgnNAaMF 83kgpBE/DMpilmd4u2SfipkMgGum5BYelT+XIimPVODS9HtXl2SLDEgerf1AJ/mejgwz N3VXJFGhsq1YPNdvB2M8uwNAsioBJ1DnG/ocF5uVF3YvM4WYxlPzbSO1IFg63XIr6zhy fG6Y//QlVN00Wlor/dOOhyRmaoiqekhs7pC1SaDbkyCYkuDzCUcAN9oFK1mjZ0M/WxDo nkJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:in-reply-to:references :date:message-id:mime-version; bh=CGCYo2n46clm4K1uwUkXNScyKAIbBbeGOPTuUbegdtk=; b=kAF5GEJGocpQ77xurAZ2PF+/HRPaXctZJ6btaBdeDZVchnYH3DoCDT6O1ORBN3pU9M 5IRdO35g4MOXXyKWEnKJGITBrcLJZl27mIf3JgiycDg/tsmLQOmQs14/5GRYhP4S5lKW 9C4RF+HJ3qTpZ9Rlz7ut24GKdCikr0N87+hfBy3LRvscMiLMwgqTkZpOuxYLfdFCdSyL UAdauPlxca/HGwpVMysl0XjRaymJLynnr7c3xthVOJxxAS2H/GbaCKPIenH92INK2CT9 ui7XZu6c52kQaDZ4FxWQ9OVNqjMOd51YeUZdLA/YdvLsu+19yUj/6MIbGovaNCBrij+L bNJQ== X-Gm-Message-State: AOAM530OYBmLW0PfOW2VEeXnyXf7+VIMO0v0lwbqKDMk2Cd8H4CUvXAT nWWVhW5rIFZeKuXVtVpLgJE//GE2IHfLo1cj X-Google-Smtp-Source: ABdhPJwt0Qm0nMBalXqqeK8a4bHqbmNX6LwPqOJoRpMD3IXeaQzjl4BkRRl4fFeR5BIsCHC0UaFzNA== X-Received: by 2002:a63:25c7:: with SMTP id l190mr4287329pgl.165.1629218342110; Tue, 17 Aug 2021 09:39:02 -0700 (PDT) Received: from localhost ([47.154.123.168]) by smtp.gmail.com with ESMTPSA id s1sm2697647pjz.36.2021.08.17.09.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 09:39:01 -0700 (PDT) From: Jonathan Wilner To: David Edmondson , 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> Date: Tue, 17 Aug 2021 09:39:00 -0700 Message-ID: MIME-Version: 1.0 Message-ID-Hash: 3YQIXMF6Y5XHMDRWXYCTFK27P6F46ILZ X-Message-ID-Hash: 3YQIXMF6Y5XHMDRWXYCTFK27P6F46ILZ X-MailFrom: jrw@greenbriardrive.com 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-Transfer-Encoding: 7bit Content-Type: text/plain; format="flowed"; charset="us-ascii" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629218356; 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=hUsEX1/SgUg95j1+0plLbLBwDQD4KLzCQ0MRcv3WE2E=; b=pCQ/NTbKxmVjT1HtDoYUpdi2AfTq/9K6Dkml8h6+Mr5/u0IYdYnBIWep5Gd/HZb8bPs9SQ FV5EBCH8ml+AOQks4d5GIHDIgDQ+7joo9050PGA/gp8wOUc/O9oc7KA31otf+pvEaMMZy0 EaLULi9WtdOfOWuguwFd3QcNzTkDPTZWK70NXde0HR/8cjPO/uJ36zrmt10aP3X3pYZCSD +5Cf92tRbFaZIcI1+5QlWQu8dLNObsJvYq4T+5yZBUUvBPM9hneWjoFtyVkHnV3sd1bwUS wHHSUbN9krOOpR3I+aleA86+b1F8ga5V0+1C3KpsZzgxqt3HgaQV20lPVuu5tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629218356; a=rsa-sha256; cv=none; b=X96ET+pRWrtnHVo99K7mNwunOCxwFS0GoSUSrIJXo5kJKISXpbPF6M/W1C7j7R73xoixSN CuREPGSPqcVL4xDSA39XMeinZYDdyNRFLJZOg6Vrf74CnSQJITKthK0SbKZbIyEAga2NXM EWm95pJ7FQv/Mu5Ra/DNc8m63BWTyXlDaAVzb2b76S/YQucmeJljMWxsmhRLIYYYoO3qnR 4+clfVHneEHdI+nWq4JgpVofJU1og+TfujSFmlSyOtCLzaLmDA5iE4BZmktfXYCdhV5g4T X2+lBu3wztrjZ3rT1YY52pqZqe3WplrO7FYF0NZ+XZtxVZ+VR+4YWJacHzzJxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teamwilner-com.20150623.gappssmtp.com header.s=20150623 header.b=nNslhfST; 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: 0.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teamwilner-com.20150623.gappssmtp.com header.s=20150623 header.b=nNslhfST; 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: BEEF189B0 X-Spam-Score: 0.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: mmaRYG4RXM6n Thank you ! I'll give this a try now. :-) David Edmondson writes: > 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