diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 075c5587..4f719d3a 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -754,12 +754,19 @@ determine which browser function to use." (mu4e-view-quit) (mu4e-view msg))) -(defun mu4e-view-toggle-show-mime-parts() - "Toggle whether to show all MIME-parts." +(defun mu4e-view-show-mime-parts() + "Show all MIME-parts. + +This can be useful for messages with embedded images etc. that +you want to save, and that are not accessible otherwise. However, +note that Emacs can get slow with big attached images. + +To go back to normal display, quit the message and re-open." (interactive) - (setq gnus-inhibit-mime-unbuttonizing - (not gnus-inhibit-mime-unbuttonizing)) - (mu4e-view-refresh)) + (let* ((toggle (not gnus-mime-display-multipart-as-mixed)) + (gnus-inhibit-mime-unbuttonizing (not toggle)) + (gnus-mime-display-multipart-as-mixed toggle)) + (mu4e-view-refresh))) (defun mu4e-view-toggle-fill-flowed() "Toggle flowed-message text filling." diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index d39eaddd..2466a326 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -1506,6 +1506,10 @@ if you have Gnus-specific settings for @t{gnus-blocked-images}, you should verify that they have the desired effect in @code{mu4e} as well. +Finally, for some message with big images it can be useful to enable buttons and +full display, e.g. for saving inline images. For this you can try @code{M-x +mu4e-view-show-mime-parts}. This can be a little slow. + @node MSGV Attachments and MIME-parts @section Attachments and MIME-parts @cindex attachments