From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mE0XDRpsY2Y2YQEAqHPOHw:P1 (envelope-from ) for ; Fri, 07 Jun 2024 22:22:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mE0XDRpsY2Y2YQEAqHPOHw (envelope-from ) for ; Fri, 07 Jun 2024 22:22:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=cVz+ZG37; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717791770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xooT93QBEVeto/R0dhkQ9gmklSR1of8H2bPt+hDsqcs=; b=E+Xv6uVxpjwKbZnjuBx+eCugdXPDi9v/2eTXG+iSEF5dK7oUMTSYuE7MsFzWE/iXSHYqjN xBCtLCiip+ek812+fa5FMtZoMzXgIUc3hddXjtOHAikBiuoyPSsdEMdLvqKz2P+04u2d5p OlM/L90E8ekNcHw85gGc0kJFYoVbXVFB2TBM62Gmh/3X/PEjOOqNA8VS91yIi960PBZrlb m7kZUxjScFOnt8PrWUVCPvPZ6MPRW7c13J/ANBsPCyvF5UxiZvoXPGGBaRndE1wfTFyVR+ 8XpqGmYzQO2g3xxIfg5EtkXpRL0zrU/jEIh46wnWoQS6ESPx1ySv159jzruroQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717791770; a=rsa-sha256; cv=none; b=qa4AWEA293WYqTYXTVQYvRyrW9d/8T1i4qaTq1kRxlMrGwLfpr3Q4ZHQuMTEa+eKKs+YLz eUVg4fv+UcfdEXraaNlw5ZQ8Cak9GvhgU2cEyF07/Bh5yTammNVzsnWe/bVBIawkx0tiq3 njedCn/k9WkW1Lz5++yU8y5vXKgCAezeeUCcFtlaymchtTXOkJOuvFp7KEcMZbtZG1TPHG /nsWlQk7EQeZQl53yByippuho68i5O8huF8nSjDTeqyg/1xKWHKZrKSxwNMVlZLXjnUwZe SrzT4xy/WQ18GgUB5BTClHfGvUAcLNIraPRRFw1PUEedXS4rC+jxSazte1D1aA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=cVz+ZG37; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 BA252783D1 for ; Fri, 07 Jun 2024 22:22:49 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9FD7B5F826; Fri, 7 Jun 2024 20:16:28 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157]) by mail.notmuchmail.org (Postfix) with ESMTPS id C2E4F5F6CD for ; Fri, 7 Jun 2024 20:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net; i=@tethera.net; q=dns/txt; s=2024; t=1717791383; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=h0sWO4Gihx+eULNJncfw+CT6ukhCiAezoqbH1sA3/S8=; b=cVz+ZG37oc6Vn3YSRSWa1fybUsg3ncDCuhLY3ggxCfC+R9jOBYkjiidrGHtsRlkgPPU8c OmL1nwUHoygPYKcQK5lWt0DsTuHFb7Eg6m0YgSw/S33IPt8mheACVA9Kwxv2kNhLhqFzWwU nktKbLTjkCWyUAsG2gg/ZIPakaHh6xE+fPiDA4iQpBCQZPAktaWU0XDUAKjnDwG3Bgpv28c gYbJv2d+VyuVofqqOVNPHq9MnbnO4BoAVsJeU8qOE/phF6SkSqoqIekOm7FbavjDEvw49yV 8BHmNO8QSQkxqn1dU4fZw4xOdTm3RmWqesahSz1DDKgkmrVNizyawmhJTFhA== Received: from tethera.net (fctnnbsc51w-159-2-211-58.dhcp-dynamic.fibreop.nb.bellaliant.net [159.2.211.58]) by phubs.tethera.net (Postfix) with ESMTPS id A590A180181; Fri, 7 Jun 2024 17:16:23 -0300 (ADT) Received: (nullmailer pid 2639141 invoked by uid 1000); Fri, 07 Jun 2024 20:16:23 -0000 From: David Bremner To: curiousbarbarian@posteo.net, notmuch@notmuchmail.org Subject: Re: How to disable image and PDF preview in emacs notmuch-show buffer? In-Reply-To: <63ec756000135c9072d6074b78d87769@posteo.net> References: <63ec756000135c9072d6074b78d87769@posteo.net> Date: Fri, 07 Jun 2024 17:16:23 -0300 Message-ID: <87le3gqzjc.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 53K7OBPOED44SZ5FVYHBT2MKHRIJ5IRS X-Message-ID-Hash: 53K7OBPOED44SZ5FVYHBT2MKHRIJ5IRS X-MailFrom: david@tethera.net 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; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Spam-Score: 1.33 X-Spam-Score: 1.33 X-Migadu-Queue-Id: BA252783D1 X-Migadu-Scanner: mx11.migadu.com X-TUID: ZFxGQShtOO34 curiousbarbarian@posteo.net writes: > Hello. > > Is it possible to disable preview of images and PDF files in > notmuch-show buffer in emacs? I've tried to set gnus-inhibit-image to t, > but it looks like it doesn't affect previewing. Any possible built-in > solutions? > > Emacs 29.2 > notmuch 0.37 Try customizing mm-inline-override-types. Note that notmuch normally adds "application/.*" to this, but won't if you customize it, so you may want to add in to your list. d