Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Hadron Quark <hadronquark@gmail.com>
Subject: Re: HTML rendering in gnus
Date: Sun, 23 Jul 2006 17:47:55 +0200	[thread overview]
Message-ID: <874px8b9w4.fsf@mail.com> (raw)
In-Reply-To: <lnejwcmil3.fsf@mfk.mw.tu-dresden.de>

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	other threads:[~2006-07-23 15:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-23 13:48 Hadron Quark
2006-07-23 14:05 ` Hadron Quark
2006-07-23 14:21   ` Hadron Quark
2006-07-23 14:57     ` Holger Sparr
2006-07-23 15:15       ` Hadron Quark
2006-07-23 15:44         ` Holger Sparr
2006-07-23 15:47           ` Hadron Quark [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-29  8:35 html " Jay Bromley
     [not found] ` <v9zn11rnd1.fsf@marauder.physik.uni-ulm.de>
2004-11-29 19:41   ` Jay Bromley

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=874px8b9w4.fsf@mail.com \
    --to=hadronquark@gmail.com \
    /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).