[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3 trouble
From: |
Björn Lindström |
Subject: |
Re: w3 trouble |
Date: |
Tue, 28 Oct 2003 02:03:32 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
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/
- w3 trouble, Björn Lindström, 2003/10/10
- Re: w3 trouble, Björn Lindström, 2003/10/17
- Re: w3 trouble, Marc Girod, 2003/10/17
- Re: w3 trouble, Marc Girod, 2003/10/17
- Re: w3 trouble, Björn Lindström, 2003/10/20
- Re: w3 trouble, Kevin Rodgers, 2003/10/21
- Re: w3 trouble, Björn Lindström, 2003/10/21
- Re: w3 trouble,
Björn Lindström <=
- Re: w3 trouble, Kevin Rodgers, 2003/10/28
- Re: w3 trouble, Björn Lindström, 2003/10/28
- Re: w3 trouble, Kevin Rodgers, 2003/10/28
- Re: w3 trouble, Björn Lindström, 2003/10/29
- Re: w3 trouble, Kevin Rodgers, 2003/10/29