Actions are triggered with the 'a' key when viewing a message,
followed by the key for the action (which is 'V' in this case).

Hitting 'a' will show you the available actions in the minibuffer.

- Toby

[email protected] writes:

> Hi,
>
> I'm using the function defined here:
>
>     ;;; message view action
>     (defun mu4e-msgv-action-view-in-browser (msg)
>       "View the body of the message in a web browser."
>       (interactive)
>       (let ((html (mu4e-msg-field (mu4e-message-at-point t) :body-html))
>             (tmpfile (format "%s/%d.html" temporary-file-directory (random))))
>         (unless html (error "No html part for this message"))
>         (with-temp-file tmpfile
>         (insert
>             "<html>"
>             "<head><meta http-equiv=\"content-type\""
>             "content=\"text/html;charset=UTF-8\">"
>            html))
>         (browse-url (concat "file://" tmpfile))))
>     (add-to-list 'mu4e-view-actions
>       '("View in browser" . mu4e-msgv-action-view-in-browser) t)
>
>
> http://www.emacswiki.org/emacs/mu4e
>
>
> Unfortunately, how do I invoke it? Is this function bound by the key 
> binding '.'? If I do this the email reloads in it's raw HTML glory as plain 
> text in the active emacs buffer.

-- 
You received this message because you are subscribed to the Google Groups 
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to