unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Overriding mm-inline-override-types in notmuch-show
@ 2022-07-25 17:08 Al Haji-Ali
  2022-07-27 16:26 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: Al Haji-Ali @ 2022-07-25 17:08 UTC (permalink / raw)
  To: notmuch


The variable `mm-inline-override-types` is overridden in `notmuch-show` to "stop application/* parts from being displayed".

This works well, however it means in other places the part *is* expanded. For example when `(notmuch-show-refresh-view)` is called (after any refresh) or even when `notmuch-show-reply-sender` is called.

To see this behaviour make sure that `mm-inline-override-types` is nil and open a message with an `application/zip` part. The part is not expanded as expected.
Call `(notmuch-show-refresh-view)` and notice how the part is expanded (on my Emacs, I even get a warning: "These default coding systems were tried to encode the following problematic characters in the buffer ‘ *temp*-926949’").

I solved this in my config by setting `mm-inline-override-types` to `(list "application/*")`, but I think notmuch could be more consistent.

Best regards,
-- Al \r

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-11 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25 17:08 Overriding mm-inline-override-types in notmuch-show Al Haji-Ali
2022-07-27 16:26 ` David Bremner
2022-08-11 10:53   ` 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).