Re: How to disable image and PDF preview in emacs notmuch-show buffer?

Subject: Re: How to disable image and PDF preview in emacs notmuch-show buffer?

Date: Tue, 11 Jun 2024 09:01:01 +0300

To: David Bremner, curiousbarbarian@posteo.net, notmuch@notmuchmail.org

Cc:

From: Viktor Larkin


Hello, David. Seems like I've got it wrong. Could you please provide an
example of how I should change mm-inline-override-types? I've tried this
way

(setq mm-inline-override-types '("image/.*"))

It didn't work as I expect it to. I still see images in notmuch-show
buffer as images, not as attachments.

Cheers.

David Bremner <david@tethera.net> writes:

> 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

-- 
С уважением,
В. А. Ларкин
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: