[mew-int 3178] Re: Suggested method for reading HTML in Emacs?
Harald Hanche-Olsen
hanche at example.com
Thu Nov 28 23:05:38 JST 2013
[Christophe TROESTLER <Christophe.Troestler at example.com> (2013-04-19 06:46:32 UTC)]
> 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 […]
An alternative approach should be possible with recent emacsen:
Decode the html with libxml-parse-html-region (which is a C builtin,
available since 24.2 provided libxml2 is found at configure time),
then display the result using shr-insert-document in an empty buffer.
I have verified that these functions produce an acceptable result in
many cases. However, I don't understand mew internals well enough to
implement it. I think a solution that does not rely on external
libraries is desirable. Does anybody feel like trying their hand at
writing the necessary code?
– Harald
More information about the Mew-int
mailing list