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

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

Re: HTML rendering in gnus


From: Hadron Quark
Subject: Re: HTML rendering in gnus
Date: Sun, 23 Jul 2006 17:47:55 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Holger Sparr <sparr+usenet@mfk.mw.tu-dresden.de> writes:

> On Sun, 23 Jul 2006, Hadron Quark wrote:
>
>> Holger Sparr <sparr+usenet@mfk.mw.tu-dresden.de> writes:
>> 
>>> On Sun, 23 Jul 2006, Hadron Quark wrote:
>>>
>>>> Hadron Quark <hadronquark@gmail.com> writes:
>>>> 
>>>
>>> [...]
>>>
>>>>>
>>>>> Its ok, I did this in .gnus.el and it seems to work fine
>>>>>
>>>>> (define-key gnus-article-mode-map (kbd "<f1>")
>>>>>   '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.



reply via email to

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