From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: strange W3 behavior Date: Mon, 07 Feb 2005 17:37:57 -0700 Message-ID: <36qfv7F55p7f7U1@individual.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107823782 10356 80.91.229.2 (8 Feb 2005 00:49:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2005 00:49:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 08 01:49:42 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyJQi-00057Z-0o for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Feb 2005 01:40:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyJev-0001Ro-W1 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Feb 2005 19:55:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: individual.net 1Wv0tzNJ4MtnGqWobeaWvQIlxLltct/Q6vLuJfi3t9ETe0vDE= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:128430 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23950 Joe Bush wrote: > Try adding the following to your .emacs file: > > (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))))) AKA: (defadvice w3-fetch (around gnus-article-mode activate) "In Gnus Article mode, call `browse-url' instead." (if (eq major-mode 'gnus-article-mode) (browse-url (ad-get-arg 0)) ; URL ad-do-it)) -- Kevin Rodgers