From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: url links to open from emacs Date: Fri, 25 Aug 2006 15:41:16 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <873bbl9xtv.fsf@tiger.rapttech.com.au> References: <87irkhpxwq.fsf@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156488039 17792 80.91.229.2 (25 Aug 2006 06:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 06:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 08:40:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGVMe-0004lS-Az for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 08:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGVMd-00049f-Qx for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 02:40:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!138.199.65.86.MISMATCH!sn-xt-ams-06!sn-xt-ams-08!sn-post-ams-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:0V0Sody3lH4U5ljpb2wq30Dza6g= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 35 Original-Xref: shelby.stanford.edu gnu.emacs.help:141304 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 Xref: news.gmane.org gmane.emacs.help:36926 Archived-At: Gary Wessle writes: > hi > > while I am in guns/emacs, I move the point to the url and opens > it in a browser. but it does not work under emacs,only when I am in > guns. > > how can I get it to work under emacs. > I use the browse-url package. Here is my config (global-set-key "\C-c\C-z." 'browse-url-at-point) (global-set-key "\C-c\C-zb" 'browse-url-of-buffer) (global-set-key "\C-c\C-zr" 'browse-url-of-region) (global-set-key "\C-c\C-zu" 'browse-url) (global-set-key "\C-c\C-zv" 'browse-url-of-file) (add-hook 'dired-mode-hook (lambda () (local-set-key "\C-c\C-zf" 'browse-url-of-dired-file))) (provide 'tc-browse-url) I also customize the default browser settings so that it uses my preferred browser. Use M-x customize-group browse-url HTH Tim -- tcross (at) rapttech dot com dot au