Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: browse-url vs. w3
Date: Mon, 31 Dec 2001 03:55:51 +0100	[thread overview]
Message-ID: <m3adw085e0.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <ur90p6e1j.fsf@cursive.net>

Joe Hildebrand <joe@cursive.net> writes:

> When w3 renders an article, (either because someone sent HTML, or
> because the group is an HTML thing like nnslashdot) URL links get
> followed by w3 when clicked on.
>
> Anyone know of a way to get browse-url to handle those widgets
> instead?

The following code from Bill works for me:

(eval-after-load "w3"
  '(progn
    (fset 'w3-fetch-orig (symbol-function 'w3-fetch))
    (defun w3-fetch (&optional url target)
      (interactive (list (w3-read-url-with-default)))
      (if (eq major-mode 'gnus-article-mode)
	  (browse-url-netscape url t)
	(w3-fetch-orig url target)))))

It seems to be a FAQ, so perhaps I should put this in the manual?  
        
-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



      parent reply	other threads:[~2001-12-31  2:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-23  7:42 Joe Hildebrand
2001-02-23 10:52 ` Kai Großjohann
2001-02-23 13:10   ` Per Abrahamsen
2001-02-23 18:21     ` Kai Großjohann
2001-02-23 17:20 ` William M. Perry
2001-12-31  2:55 ` Lars Magne Ingebrigtsen [this message]

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=m3adw085e0.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /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).