Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* To open links with w3m
@ 2006-04-21  6:35 harry meyers
  2006-04-21 13:59 ` harry meyers
  2006-04-22  0:37 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: harry meyers @ 2006-04-21  6:35 UTC (permalink / raw)


Hi,

I just can't manage it to open links within gnus with w3m and not w3.
I tried it like that

(if window-system
    (setq browse-url-browser-function
          ;;'browse-url-kde)
          'w3m-browse-url)
    (setq browse-url-browser-function
          ;;'browse-url-lynx-emacs))
          'w3m-browse-url))

like that in .gnus (what should be the appropriate way)

(setq browse-url-browser-function 'browse-url-w3m)
(setq gnus-button-url 'gnus-w3m-open-url)

with a dirty trick

(setq browse-url-browser-function 'browse-url-netscape)
(setq browse-url-netscape-program "/usr/bin/w3m")

nothing worked. Links in mails are opened with w3m, but not links
leading to articles from the summary buffer of mailing lists, nrss
feeds etc. For some time I 'solved' this problem by simply uninstalling
w3. But when I changed to start gnus with starttls it stopped loading
with the following error code:

url-insert-file-contents symbol's function void

A reinstall of w3 helped. With the side-affect that it bravely opens
the links, apparently unstoppable.

Regards
harry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: To open links with w3m
  2006-04-21  6:35 To open links with w3m harry meyers
@ 2006-04-21 13:59 ` harry meyers
  2006-04-22  0:37 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: harry meyers @ 2006-04-21 13:59 UTC (permalink / raw)



harry meyers schrieb:

> ...nothing worked. Links in mails are opened with w3m, but not links
> leading to articles from the summary buffer of mailing lists, nrss
> feeds etc.

What I did not fully recognize is, that all links with complete web
address are properly opened with w3m.
But when I click on a web link (i.e. *link*, not the URL, for example
in a nnrss buffer) that strange w3 is deployed


> Regards
> harry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: To open links with w3m
  2006-04-21  6:35 To open links with w3m harry meyers
  2006-04-21 13:59 ` harry meyers
@ 2006-04-22  0:37 ` Lars Magne Ingebrigtsen
  2006-04-22  5:56   ` harry meyers
  1 sibling, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-22  0:37 UTC (permalink / raw)


"harry meyers" <late@literaturlatenight.de> writes:

> I just can't manage it to open links within gnus with w3m and not w3.
> I tried it like that
>
> (if window-system
>     (setq browse-url-browser-function
>           ;;'browse-url-kde)
>           'w3m-browse-url)

This should be the only thing that's required, I think.  Unless you
have a hook function somewhere that uses w3 for rendering the HTML.

Try

(setq mm-text-html-renderer 'w3m)

and see whether that helps.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: To open links with w3m
  2006-04-22  0:37 ` Lars Magne Ingebrigtsen
@ 2006-04-22  5:56   ` harry meyers
  0 siblings, 0 replies; 4+ messages in thread
From: harry meyers @ 2006-04-22  5:56 UTC (permalink / raw)



Lars Magne Ingebrigtsen schrieb:


> Try
>
> (setq mm-text-html-renderer 'w3m)
>
> and see whether that helps.

Yes, thanks a lot, that works. Can you hear my sigh of relief? Gnus is
such a great piece of work. And so is Xemacs and w3m. I don't know how
w3 fits there in.

harry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-22  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-21  6:35 To open links with w3m harry meyers
2006-04-21 13:59 ` harry meyers
2006-04-22  0:37 ` Lars Magne Ingebrigtsen
2006-04-22  5:56   ` harry meyers

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).