From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: w3 trouble
Date: Tue, 21 Oct 2003 10:41:37 -0600 [thread overview]
Message-ID: <3F9561C1.90908@yahoo.com> (raw)
In-Reply-To: 87r817a7mq.fsf@lucien.dreaming
Björn Lindström wrote:
> ; Open links in Gnus articles with browse-url.
> (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 url)
> (w3-fetch-orig url target)))))
You might like advice.el:
(defadvice w3-fetch (around gnus-browse-url activate)
"Open links in Gnus with `browse-url' instead."
(if (eq major-mode 'gnus-article-mode)
(browse-url (ad-get-arg 0)) ; URL
ad-do-it))
--
Kevin Rodgers
next prev parent reply other threads:[~2003-10-21 16:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-10 20:50 w3 trouble Björn Lindström
2003-10-17 10:42 ` Björn Lindström
2003-10-17 11:38 ` Marc Girod
2003-10-17 13:19 ` Marc Girod
2003-10-20 22:04 ` Björn Lindström
2003-10-21 16:41 ` Kevin Rodgers [this message]
2003-10-21 18:24 ` Björn Lindström
2003-10-28 1:03 ` Björn Lindström
2003-10-28 16:57 ` Kevin Rodgers
2003-10-28 23:25 ` Björn Lindström
2003-10-29 0:32 ` Kevin Rodgers
2003-10-29 5:48 ` Björn Lindström
2003-10-29 17:10 ` Kevin Rodgers
2003-12-01 21:27 ` Kai Grossjohann
2003-12-01 21:50 ` Björn Lindström
2003-12-02 13:06 ` Kai Grossjohann
2003-12-02 13:14 ` Björn Lindström
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=3F9561C1.90908@yahoo.com \
--to=ihs_4664@yahoo.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.