From: Torben Knudsen <tk@es.aau.dk>
To: info-gnus-english@gnu.org
Subject: Re: Best way to see html stuff
Date: Wed, 17 Dec 2008 12:40:06 +0100 [thread overview]
Message-ID: <87y6yfhvxl.fsf@es.aau.dk> (raw)
In-Reply-To: <mailman.2934.1229509215.26697.info-gnus-english@gnu.org>
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
next prev parent reply other threads:[~2008-12-17 11:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-15 7:52 Torben Knudsen
2008-12-15 10:47 ` Tassilo Horn
[not found] ` <mailman.2783.1229338035.26697.info-gnus-english@gnu.org>
2008-12-16 8:12 ` Torben Knudsen
2008-12-16 8:38 ` Quotation style (was: Best way to see html stuff) Teemu Likonen
2008-12-16 14:19 ` Torben Knudsen
2008-12-16 19:26 ` Best way to see html stuff Tassilo Horn
[not found] ` <mailman.2886.1229455591.26697.info-gnus-english@gnu.org>
2008-12-17 7:30 ` Torben Knudsen
2008-12-17 8:06 ` Tassilo Horn
[not found] ` <mailman.2932.1229501180.26697.info-gnus-english@gnu.org>
2008-12-17 9:38 ` Torben Knudsen
2008-12-17 10:19 ` Tassilo Horn
[not found] ` <mailman.2934.1229509215.26697.info-gnus-english@gnu.org>
2008-12-17 11:15 ` Torben Knudsen
2008-12-17 11:40 ` Torben Knudsen [this message]
2008-12-17 8:00 ` Torben Knudsen
2008-12-17 10:28 ` Tassilo Horn
[not found] ` <mailman.2936.1229509724.26697.info-gnus-english@gnu.org>
2008-12-17 16:57 ` Richard Riley
2008-12-17 18:09 ` Charles philip Chan
[not found] ` <mailman.2966.1229537488.26697.info-gnus-english@gnu.org>
2008-12-19 7:26 ` Torben Knudsen
2008-12-19 8:32 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6yfhvxl.fsf@es.aau.dk \
--to=tk@es.aau.dk \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).