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 br
Christian Lynbech <[EMAIL PROTECTED]> writes:
> > "Joe" == Joe Corneli <[EMAIL PROTECTED]> writes:
>
> Joe> Well, I don't know what's different out our environments, but for me,
> Joe> evaluating
>
> Joe> (progn (call-process "firefox" nil 0 nil "http://www.gnu.org";)
> Joe>(call-pro
> "Joe" == Joe Corneli <[EMAIL PROTECTED]> writes:
Joe> Well, I don't know what's different out our environments, but for me,
Joe> evaluating
Joe> (progn (call-process "firefox" nil 0 nil "http://www.gnu.org";)
Joe>(call-process "firefox" nil 0 nil "http://www.google.com";))
Joe> giv
Well here's a version that works for me & that will either open a
new firefox or use an existing one. I think I'll send a bug
report about the issue I was seeing doing this the "simple way".
(defun browse-url-firefox (url &optional new-window)
(when (eq (shell-
Hugh Lawson <[EMAIL PROTECTED]> writes:
> Joe Corneli <[EMAIL PROTECTED]> writes:
>
>
> >
> > Well, I don't know what's different out our environments, but for me,
> > evaluating
> >
> > (progn (call-process "firefox" nil 0 nil "http://www.gnu.org";)
> >(call-process "firefox" nil 0 ni
Joe Corneli <[EMAIL PROTECTED]> writes:
>
> Well, I don't know what's different out our environments, but for me,
> evaluating
>
> (progn (call-process "firefox" nil 0 nil "http://www.gnu.org";)
>(call-process "firefox" nil 0 nil "http://www.google.com";))
>
> gives me one firefox wind
* Joe Corneli <[EMAIL PROTECTED]> 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 &option
Joe Corneli <[EMAIL PROTECTED]> writes:
> Both of these functions appear to require starting a new firefox. (??)
>
#1
> (defun browse-url-firefox (url &optional new-window )
> ;;new-window ignored
> "Ask the firefox browser to load UR
Joe Corneli <[EMAIL PROTECTED]> writes:
> Both of these functions appear to require starting a new firefox. (??)
>
#1
> (defun browse-url-firefox (url &optional new-window )
> ;;new-window ignored
> "Ask the firefox browser to load URL."
> (apply
Both of these functions appear to require starting a new firefox. (??)
(defun browse-url-firefox (url &optional new-window )
;;new-window ignored
"Ask the firefox browser to load URL."
(apply 'call-process "firefox" nil
0 nil (list url)))
;;;
(
David Kastrup <[EMAIL PROTECTED]> writes:
> However, this should be quite equivalent to what you wrote, so if you
> are experiencing problems, you'll need to describe them in more detail
> to make it possible to guess what might be amiss. At least in my
> opinion, what you wrote looks like it sho
Thanks for the explanation, David. I had trouble making it work, so
>as a trial, I added the following two functions to my ~/.emacs file.
>
> Please critique. I did this purely empirically, with no real
> understanding.
>
>
>
> (defun browse-url-firefox (url &optional new
David Kastrup <[EMAIL PROTECTED]> writes:
> Hugh Lawson <[EMAIL PROTECTED]> writes:
>
> > David Kastrup <[EMAIL PROTECTED]> writes:
> >
> >> Hugh Lawson <[EMAIL PROTECTED]> writes:
> >>
> >> > Debian sarge
> >>
Hugh Lawson <[EMAIL PROTECTED]> writes:
> David Kastrup <[EMAIL PROTECTED]> writes:
>
>> Hugh Lawson <[EMAIL PROTECTED]> writes:
>>
>> > Debian sarge
>> > Emacs 21.4.1
>> >
>> > browse-url works fine if firefox is already
David Kastrup <[EMAIL PROTECTED]> writes:
> Hugh Lawson <[EMAIL PROTECTED]> writes:
>
> > Debian sarge
> > Emacs 21.4.1
> >
> > browse-url works fine if firefox is already running.
> >
> > But suppose firefox isn't running.
> >
&g
nfreimann <[EMAIL PROTECTED]> writes:
> David Kastrup wrote:
>
>>The definition of browse-url-generic in browse-url.el needs to get
>>replaced with:
>>
>>
>>
>
> In browse-url-generic:
> .emacs:78:14:Warning: reference to free variable `browse-
David Kastrup wrote:
The definition of browse-url-generic in browse-url.el needs to get
replaced with:
In browse-url-generic:
.emacs:78:14:Warning: reference to free variable `browse-url-generic-args'
In end of data:
.emacs:86:1:Warning: the function `browse-url-interactive-arg' is
Hugh Lawson <[EMAIL PROTECTED]> writes:
> Debian sarge
> Emacs 21.4.1
>
> browse-url works fine if firefox is already running.
>
> But suppose firefox isn't running.
>
> If I do 'M-x browse-url' and fill in the url, then firefox pops up for
> a sec
Debian sarge
Emacs 21.4.1
browse-url works fine if firefox is already running.
But suppose firefox isn't running.
If I do 'M-x browse-url' and fill in the url, then firefox pops up for
a second and then disappears. The same thing happens with links I
click on in Emacs.
I thin
19 matches
Mail list logo