Article View: gnu.emacs.vm.bug
Article #957Re: using lynx rather than w3 to display text/html internally
From: jeff sondeen
Date: Wed, 05 Jun 2002 22:19
Date: Wed, 05 Jun 2002 22:19
41 lines
2432 bytes
2432 bytes
Pete Forman <pete.forman@westerngeco.com> wrote in message news:<lma9lf60.fsf@westerngeco.com>...
> sondeen@isi.edu (jeff sondeen) writes:
>
> > can someone give me the incantations to let 'vm' (version 7.05
> > in emacs 20.7.1) display text/html inside the INBOX Presentation
> > window by using the output of 'lynx -force_html -dump %f' rather
> > than using vm's built-in internal verbatum text.
>
> The last time I used lynx it did not support -stdin. Here's what I
> used:
>
> (setq vm-mime-type-converter-alist '(("text/html" "text/plain"
> "lynx -force_html -dump /dev/stdin")))
>
> The name of the device will depend on the OS you are using.
>
> Under W2k I found it necessary to switch to W3M which supports stdin
> properly. Tables are handled better too :-)
>
> (setq vm-mime-type-converter-alist '(("text/html" "text/plain"
> "d:/cygwin/usr/local/bin/w3m -dump -T text/html")))
thanks for your reply, the above works for me,
but it turns out what i really wanted was to set:
(setq vm-auto-displayed-mime-content-type-exceptions '("text/html"))
so that i'd get a menu for how to display the link, and in that menu:
["Display as Text using Default Face"
["Display using External Viewer"
replace the 'display as text' action to run the convert-to-text option
(for some reason the 'display as text' is hardwired to displaying
text verbatim). this would allow me to alternatively display the link with
the external viewer (netscape)
thanks anyway,
/jeff
Technical Details
Message-ID:
<13dd4f03.0206051419.648ece6f@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<13dd4f03.0205211715.419cc21c@posting.google.com> <lma9lf60.fsf@westerngeco.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,8469f1ca3495ca18 X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 2002-06-05 15:19:30 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: sondeen@isi.edu (jeff sondeen) Newsgroups: gnu.emacs.vm.bug Subject: Re: using lynx rather than w3 to display text/html internally Date: 5 Jun 2002 15:19:30 -0700 Organization: http://groups.google.com/ Lines: 41 Message-ID: <13dd4f03.0206051419.648ece6f@posting.google.com> References: <13dd4f03.0205211715.419cc21c@posting.google.com> <lma9lf60.fsf@westerngeco.com> NNTP-Posting-Host: 128.9.64.118 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023315570 32302 127.0.0.1 (5 Jun 2002 22:19:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Jun 2002 22:19:30 GMT