From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/11730 Path: news.gmane.org!not-for-mail From: Torben Knudsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Best way to see html stuff Date: Wed, 17 Dec 2008 12:40:06 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <87y6yfhvxl.fsf@es.aau.dk> References: <87prjteuye.fsf@es.aau.dk> <87fxkov8rl.fsf@es.aau.dk> <87d4frfecl.fsf@es.aau.dk> <87vdtjdtvq.fsf@es.aau.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1229514099 21763 80.91.229.12 (17 Dec 2008 11:41:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 11:41:39 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Dec 17 12:42:44 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCunW-0002AM-AG for gegu-info-gnus-english@m.gmane.org; Wed, 17 Dec 2008 12:42:38 +0100 Original-Received: from localhost ([127.0.0.1]:33124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCumK-0006KI-9U for gegu-info-gnus-english@m.gmane.org; Wed, 17 Dec 2008 06:41:24 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:1kgjsgF9Td3sK8Z19kDZ+3VxswU= Original-Lines: 50 Original-NNTP-Posting-Host: 192.38.50.63 Original-X-Trace: news.sunsite.dk DXC=cmb>34V1id41@QH[VaTAe9YSB=nbEKnk; V`^KZl[Dm9<_Eg>6@:Aac2RTAMJJo]CS0[QGS1`Xj[m9 Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.gnus:81988 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:11730 Archived-At: Tassilo Horn writes: > Torben Knudsen 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