* 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
* Re: Overriding mm-inline-override-types in notmuch-show
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
0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2022-07-27 16:26 UTC (permalink / raw)
To: Al Haji-Ali, notmuch
Al Haji-Ali <abdo.haji.ali@gmail.com> writes:
> 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.
>
Thanks for the report. I can duplicate the issue with
notmuch-show-refresh-view. I believe with notmuch-show-reply-sender is
fixed in git master (90a7c1af368a527700dcde9b0dcbd760afc7bd92).
d\r
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Overriding mm-inline-override-types in notmuch-show
2022-07-27 16:26 ` David Bremner
@ 2022-08-11 10:53 ` David Bremner
0 siblings, 0 replies; 3+ messages in thread
From: David Bremner @ 2022-08-11 10:53 UTC (permalink / raw)
To: Al Haji-Ali, notmuch
David Bremner <david@tethera.net> writes:
> Al Haji-Ali <abdo.haji.ali@gmail.com> writes:
>
>> 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.
>>
>
> Thanks for the report. I can duplicate the issue with
> notmuch-show-refresh-view. I believe with notmuch-show-reply-sender is
> fixed in git master (90a7c1af368a527700dcde9b0dcbd760afc7bd92).
The remaining issues should be fixed as of commit
bf64c48855f41833b57e0a770ad37f6a16a1193b\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).