mu4e-view: Implement actions for gnus-view MIME-parts

In the "old" view, we had `mu4e-view-mime-part-actions`, which describes
various actions on attachments; in the brave new gnus-based view, those
do not work, but we have added something better:
  mu4e-view-mime-part-actions

This needs some more documentation, but is useful already.
This commit is contained in:
Dirk-Jan C. Binnema
2021-03-21 00:14:54 +02:00
parent 62ae9ead6f
commit afedfc6708
3 changed files with 183 additions and 30 deletions

View File

@ -1803,7 +1803,21 @@ attachments. For a general discussion on how to define your own, see
on the current message. You can specify these actions using the variable
@code{mu4e-view-actions}; @t{mu4e} defines a number of example actions.
@subsection MIME-part actions
Note -- these actions are only available for the new, gnus-based
message view; see @xref{Message view}.
MIME-part actions allow you to act upon MIME-parts in a message - such
as attachments. For now, these actions are defined and documented in
@code{mu4e-view-mime-part-actions}.
@subsection Attachment actions
Note -- these actions are only available for the old message view; see
@xref{Old message view}.
Similarly, there is @code{mu4e-view-attachment-action} (@key{A}) for actions
on attachments, which you can specify with
@code{mu4e-view-attachment-actions}.