From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5813 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: Using a script to diplay web links Date: Mon, 03 Oct 2005 23:20:14 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671468 28939 80.91.229.2 (31 Jan 2006 01:37:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:37:48 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:52 2006 Original-Newsgroups: gnu.emacs.gnus X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+> (define-key w3m-minor-mode-map (kbd "") 'rs-w3m-view-this-url) > > Thanks - seems to work like a dream! On a second thought, the following seems to be more simple and cleaner (you need to remove the previous code): --8<---------------cut here---------------start------------->8--- (setq browse-url-generic-program "xsel.sh" ;; replace with your script browse-url-browser-function 'browse-url-generic) (add-hook 'gnus-article-mode-hook (lambda () (set (make-local-variable 'w3m-goto-article-function) 'browse-url))) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/