[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: browse-url
From: |
Hugh Lawson |
Subject: |
Re: browse-url |
Date: |
Thu, 07 Apr 2005 18:12:48 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Greg Novak <novak@ucolick.org> writes:
> * Joe Corneli <jcorneli@math.utexas.edu> wrote:
> > Both of these functions appear to require starting a new firefox. (??)
>
> By a cosmic coincidence I just put the following in my .emacs file,
> which opens a page in a new tab using an existing Firefox.
>
> (defun browse-url-firefox (url &optional new-window)
> (shell-command (concat "/usr/local/firefox/mozilla-xremote-client
> \"openurl("
> url
> ",new-tab)\"")))
>
> (setq browse-url-browser-function 'browse-url-firefox)
This works for me too, just as Greg says, after customizing for my
paths. It works like this.
here's an url www.linux.org
Put point on url, and do 'M-x browse-url'
This puts in minibuffer: "URL: http://www.linux.org"
<enter> makes the url open in a new tab in firefox
But if I just type in the minibuffer "www.linux.org", it
doesn't work. I have to type in the full
'"http://www.linux.org".
Thanks for all the help everybody.
--
Hugh Lawson
hlawson@triad.rr.com
- Re: browse-url, nfreimann, 2005/04/01
- Re: browse-url, Hugh Lawson, 2005/04/04
- Re: browse-url, David Kastrup, 2005/04/04
- Re: browse-url, Hugh Lawson, 2005/04/04
- Re: browse-url, David Kastrup, 2005/04/04
- Re: browse-url, Hugh Lawson, 2005/04/04
- Re: browse-url, Joe Corneli, 2005/04/05
- Re: browse-url, Greg Novak, 2005/04/05
- Re: browse-url, Joe Corneli, 2005/04/05
- Message not available
- Re: browse-url,
Hugh Lawson <=
- Message not available
- Re: browse-url, Hugh Lawson, 2005/04/05
- Re: browse-url, Joe Corneli, 2005/04/05
- Message not available
- Re: browse-url, Hugh Lawson, 2005/04/05
- Re: browse-url, Hugh Lawson, 2005/04/05
- Message not available
- Re: browse-url, Christian Lynbech, 2005/04/07
- Re: browse-url, Hugh Lawson, 2005/04/07