[Top][All Lists]

[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 <address@hidden> writes:

> * Joe Corneli <address@hidden> 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

        Put point on url, and do 'M-x browse-url'

        This puts in minibuffer: "URL:";

        <enter> makes the url open in a new tab in firefox

        But if I just type in the minibuffer "", it
        doesn't work. I have to type in the full

Thanks for all the help everybody.

Hugh Lawson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]