From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7721 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.gnus.user Subject: Re: HTML rendering in gnus Date: Sun, 23 Jul 2006 17:47:55 +0200 Message-ID: <874px8b9w4.fsf@mail.com> References: <87hd18ctz6.fsf@mail.com> <87psfwju1a.fsf@mail.com> <87irlojta3.fsf@mail.com> <87odvgqrmx.fsf@mail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153672862 16702 80.91.229.2 (23 Jul 2006 16:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2006 16:41:02 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jul 23 18:41:01 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G4h0g-0006y5-0k for gegu-info-gnus-english@m.gmane.org; Sun, 23 Jul 2006 18:40:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4h0f-000419-Ib for gegu-info-gnus-english@m.gmane.org; Sun, 23 Jul 2006 12:40:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 63 Original-X-Trace: individual.net 0IavTkKTMIjIKoMdvqqfIwX0/LuZXaKXiUCRIBEpeV0Q7iUY07 X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:sPlnqxVm9hTjFZR1T5c++2Azpww= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77907 Original-To: info-gnus-english@gnu.org 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:7721 Archived-At: Holger Sparr writes: > On Sun, 23 Jul 2006, Hadron Quark wrote: > >> Holger Sparr writes: >> >>> On Sun, 23 Jul 2006, Hadron Quark wrote: >>> >>>> Hadron Quark writes: >>>> >>> >>> [...] >>> >>>>> >>>>> Its ok, I did this in .gnus.el and it seems to work fine >>>>> >>>>> (define-key gnus-article-mode-map (kbd "") >>>>> 'w3m-view-url-with-external-browser) >>>>> >>>>> Any comments on whether this is better achived appreciated. >>>>> >>>> >>>> Ok, this works - but what w3m function to open this link in the emacs >>>> buffer? Cant seem to get any of the mentioned ones to >>>> work. Interestingly the link isnt shown in the w3m buffer as underlined >>>> : but w3m-view-url-with-external-browser does indeed "pick up" the html >>>> link and opens it successfully in another browser. What do I need for >>>> w3m to do this in the article buffer? >>>> >>> >>> Simply w3m. >> >> That opens the welcome to w3m info page. Im sorry, but I'm confused >> now. I guess its following w3m-home-page and not the underlying link. >> > > > When using w3m you need put this in .gnus.el (what I assumed, you did): > > (setq mm-text-html-renderer 'w3m) > > Then in a text/html-part a simple RET (bound to 'w3m-safe-view-this-url) > would do. > > In a text/plain-part M-x w3m RET would check the string under point as a > possible url to visit. > > > At least this is the way it works here. > Thanks for your help : it works here (slowly) now too. I had this in my .gnus.el: (require 'w3m-load) (setq mm-text-html-renderer 'w3m) ;;(setq mm-inline-text-html-with-w3m-keymap nil) with the last line not commented out : no idea why it was there - probably just copied the lines from someone else ages ago. Thanks again.