From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: [SOLUTION] Open Hypspec with w3m Date: Fri, 28 Jan 2011 21:36:24 -0500 Organization: A noiseless patient Spider Message-ID: References: <87bp30bzdg.fsf@notengoamigos.org> <87d3ng1vmc.fsf@puma.rapttech.com.au> <87wrloa9j8.fsf@notengoamigos.org> <87r5bwfumu.fsf_-_@notengoamigos.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296268847 28334 80.91.229.12 (29 Jan 2011 02:40:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Jan 2011 02:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 29 03:40:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pj0jy-0002Qu-QA for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jan 2011 03:40:42 +0100 Original-Received: from localhost ([127.0.0.1]:59795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pj0jy-0005ic-42 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jan 2011 21:40:42 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Injection-Info: mx03.eternal-september.org; posting-host="eMDpGrxquomWlKb79/Ex8A"; logging-data="23705"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1944YdKDYhGO1FYzq4vaEMx" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:GTVVPwhwZBfpYA5u4ioubZtL+us= sha1:nL5RQbRgZ6YQ+WJSOfJIdVRD1W4= Original-Xref: usenet.stanford.edu gnu.emacs.help:184667 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 Xref: news.gmane.org gmane.emacs.help:78822 Archived-At: > --8<---------------cut here---------------start------------->8--- > (defadvice hyperspec-lookup (around hyperspec-lookup-around) > "I always want `hyperspec-lookup' to use 'w3m-browse-url." > (let ((browse-url-browser-function 'w3m-browse-url)) > ad-do-it)) > (ad-activate 'hyperspec-lookup) > --8<---------------cut here---------------end--------------->8--- IIRC you can replace the call to ad-activate with an `activate' argument after `hyperspec-lookup-around'. Stefan