info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to see html stuff


From: Torben Knudsen
Subject: Re: Best way to see html stuff
Date: Wed, 17 Dec 2008 12:40:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Tassilo Horn <tassilo@member.fsf.org> writes:

> Torben Knudsen <tk@es.aau.dk> writes:
>
> Hi Torben,
>
>>> Hm, mm-text-html-renderer was changed in emacs 23 (the version I
>>> use).  What do the docs say in your emacs version (`C-h v
>>> mm-text-html-renderer').
>>>
>> I get the below which to me seems to comply with what you suggested.
>>
>> [...]
>> nil    : use external viewer.
>> [...]
>
> I tried setting mm-text-html-renderer to nil and with that HTML mails
> are displayed in a external terminal with lynx, although I've set
> browse-url-browser-function to browse-url-generic and
> browse-url-generic-program to "midori".
>
> So I guess the "default browser / external viewer" the docs are talking
> about is not the one you've set with browse-url-browser-function, but
> the browser that's inside the users ~/.mailcap or /etc/mailcap.
>

I now have a .mailcap as below which makes the text/html show up in
firefox.  So you succeded in getting it working for me.

#% Time-stamp: <2008-12-17 12:23:34 tk>
#
#  MIME types and programs that process those types
#
#  Using template from /etc/mailcap
#  

# application/pdf; evince '%s'; test=test -n "$DISPLAY" ; nametemplate=%s.pdf
application/pdf; acroread '%s'; test=test -n "$DISPLAY" ; nametemplate=%s.pdf
#application/pdf; /usr/bin/gv '%s'; test=test -n "$DISPLAY"
#text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
text/html; firefox '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html

-- 
Associate Prof. Ph.D Torben Knudsen     Mobile  : (+45) 2787 9826
Section of Automation and Control,      Direct  : 6 8694
Department of Electronic Systems,       Email   : tk@es.aau.dk   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]