mu4e: add mu4e-view-mime-parts
Add a special mode for setting the gnus parameters to have images shown / buttonized so they can be saved etc. Fixes #2516.
This commit is contained in:
@ -754,12 +754,19 @@ determine which browser function to use."
|
|||||||
(mu4e-view-quit)
|
(mu4e-view-quit)
|
||||||
(mu4e-view msg)))
|
(mu4e-view msg)))
|
||||||
|
|
||||||
(defun mu4e-view-toggle-show-mime-parts()
|
(defun mu4e-view-show-mime-parts()
|
||||||
"Toggle whether to show all 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)
|
(interactive)
|
||||||
(setq gnus-inhibit-mime-unbuttonizing
|
(let* ((toggle (not gnus-mime-display-multipart-as-mixed))
|
||||||
(not gnus-inhibit-mime-unbuttonizing))
|
(gnus-inhibit-mime-unbuttonizing (not toggle))
|
||||||
(mu4e-view-refresh))
|
(gnus-mime-display-multipart-as-mixed toggle))
|
||||||
|
(mu4e-view-refresh)))
|
||||||
|
|
||||||
(defun mu4e-view-toggle-fill-flowed()
|
(defun mu4e-view-toggle-fill-flowed()
|
||||||
"Toggle flowed-message text filling."
|
"Toggle flowed-message text filling."
|
||||||
|
|||||||
@ -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
|
should verify that they have the desired effect in @code{mu4e} as
|
||||||
well.
|
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
|
@node MSGV Attachments and MIME-parts
|
||||||
@section Attachments and MIME-parts
|
@section Attachments and MIME-parts
|
||||||
@cindex attachments
|
@cindex attachments
|
||||||
|
|||||||
Reference in New Issue
Block a user