Hi,
# Right now, I've joined a mew-en mailing list (google groups).
# Thus, I'm sorry I cut a series of mails of this topic.
> 2014/11/03
> You can save html parts of mails and browse them in Emacs
> via the command eww-open-file.
> Has anybody a code snippet to integrate eww more conveniently into Mew?
With reference of
http://suzuki.tdiary.net/20140813.html (in Japanese),
following elisp may realize what you want.
## Translation of the site by Google can be seen in
https://translate.google.com/translate?sl=ja&tl=en&u=http%3A%2F%2Fsuzuki.tdiary.net%2F20140813.html .
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Using "shr" (Simple HTML Renderer) for in-frame HTML rendering
;;;
;;; The \\[shr-render-region] is newly introduced since Emacs 24.4.
;;;
;;; The "emacs-w3m/mew-w3m" package w/ "w3m" is no longer needed.
(when (and (fboundp 'shr-render-region)
;; \\[shr-render-region] requires Emacs to be compiled with libxml2.
(fboundp 'libxml-parse-html-region))
(setq mew-prog-text/html 'shr-render-region)) ;; 'mew-mime-text/html-w3m
++++++++++++++++++++++++++++++++
Also, according to
http://suzuki.tdiary.net/20140814.html (in Japanese),
following elisp may be useful for you.
# But, in my case, it's not useful...
(add-hook 'mew-message-mode-hook
(lambda()
(setq-local browse-url-browser-function 'eww-browse-url)))
Thanks,
---
KIRIHARA, Masaharu