[mew-int 3143] Re: Suggested method for reading HTML in Emacs?
Christophe TROESTLER
Christophe.Troestler at example.com
Fri Apr 19 15:46:32 JST 2013
On Thu, 18 Apr 2013 18:14:35 +0200, Petter Gustad wrote:
>
>
> What is the suggested method/setup to read HTML multiparts in an Emacs
> frame?
>
> I'm using Emacs 24.2.1 and Mew 6.5.
You need to install w3m and add something like the following to your
~/.emacs.d/init.el
(if (locate-library "mew-w3m")
(progn
(require 'w3m)
(require 'mew-w3m)
(setq mew-use-text/html t); decode HTML
(setq mew-use-text/html-list nil)
;; Choose HTML by default (many broken mailers out there...)
(setq mew-mime-multipart-alternative-list
'("Text/Html" "Text/Plain" ".*"))
;; Bad "Apple Mail" attachments in multiplart/alternative; work
;; around that:
(setq mew-disable-alternative-regex-list '("Apple Mail"))
(setq mew-use-w3m-minor-mode t)
(add-hook 'mew-message-hook 'mew-w3m-minor-mode-setter)
))
More information about the Mew-int
mailing list