From: bkhl@elektrubadur.se (Björn Lindström)
Subject: Re: w3 trouble
Date: Tue, 28 Oct 2003 02:03:32 +0100 [thread overview]
Message-ID: <87smlew4uz.fsf@lucien.dreaming> (raw)
In-Reply-To: 3F9561C1.90908@yahoo.com
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 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))
I gave up on getting w3 to work, and installed emacs-w3m instead. Now I
would like to know how to translate any of the snippets above for use
with emacs-w3m instead of w3.
--
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/
next prev parent reply other threads:[~2003-10-28 1:03 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
2003-10-21 18:24 ` Björn Lindström
2003-10-28 1:03 ` Björn Lindström [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87smlew4uz.fsf@lucien.dreaming \
--to=bkhl@elektrubadur.se \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).