* How to disable image and PDF preview in emacs notmuch-show buffer?
@ 2024-06-06 14:32 curiousbarbarian
2024-06-07 20:16 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: curiousbarbarian @ 2024-06-06 14:32 UTC (permalink / raw)
To: notmuch
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
Cheers, CB.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to disable image and PDF preview in emacs notmuch-show buffer?
2024-06-06 14:32 How to disable image and PDF preview in emacs notmuch-show buffer? curiousbarbarian
@ 2024-06-07 20:16 ` David Bremner
2024-06-11 6:01 ` Viktor Larkin
0 siblings, 1 reply; 4+ messages in thread
From: David Bremner @ 2024-06-07 20:16 UTC (permalink / raw)
To: curiousbarbarian, notmuch
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to disable image and PDF preview in emacs notmuch-show buffer?
2024-06-07 20:16 ` David Bremner
@ 2024-06-11 6:01 ` Viktor Larkin
2024-06-11 17:03 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Viktor Larkin @ 2024-06-11 6:01 UTC (permalink / raw)
To: David Bremner, curiousbarbarian, notmuch
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
--
С уважением,
В. А. Ларкин\r
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to disable image and PDF preview in emacs notmuch-show buffer?
2024-06-11 6:01 ` Viktor Larkin
@ 2024-06-11 17:03 ` David Bremner
0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2024-06-11 17:03 UTC (permalink / raw)
To: Viktor Larkin, notmuch
Viktor Larkin <com.larkin@gmail.com> writes:
> 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.
I used M-x customize variable and your example worked fine for me. I
guess you will either need to use customize or find the right
incantation (setq-default maybe, but I did not test it).
Hope this helps
d
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-11 17:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 14:32 How to disable image and PDF preview in emacs notmuch-show buffer? curiousbarbarian
2024-06-07 20:16 ` David Bremner
2024-06-11 6:01 ` Viktor Larkin
2024-06-11 17:03 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).