Overriding mm-inline-override-types in notmuch-show

Subject: Overriding mm-inline-override-types in notmuch-show

Date: Mon, 25 Jul 2022 18:08:34 +0100

To: notmuch@notmuchmail.org

Cc:

From: Al Haji-Ali


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 
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: