all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: "Emacs Help [help-gnu-emacs]" <help-gnu-emacs@gnu.org>
Subject: Re: Open Firefox from Emacs on MacOSX
Date: Wed, 16 May 2007 00:42:07 +0200	[thread overview]
Message-ID: <DBD4FFF1-8854-47CF-B542-2D019D4E9255@Web.DE> (raw)
In-Reply-To: <slrnf4k8fe.vuc.joostkremers@j.kremers4.news.arnhem.chello.nl>


Am 15.05.2007 um 23:11 schrieb Joost Kremers:

> Stefan Nobis wrote:
>> This doesn't work. I read that Firefox on Windows doesn't support the
>> -remote option and it seems, this is the case on MacOSX, too. Is this
>> assumption right and has anyone an idea how to workaround this
>> inconvenience?
>
> not a solution, but perhaps a hint that may help in finding one: on my
> linux box, firefox (version 2.0.0.2) doesn't require the -remote  
> option
> anymore. i can type 'firefox <some_url>' in a terminal window, and the
> running instance of firefox will open <some_url> in a new tab. i'd  
> find it
> weird if that didn't work on OS X.
>

The trick on Mac OS X seems to be to use the *real* files inside the  
application bundle.

When Firefox is /Applications/Firefox.app in the HFS+ file system,  
then it has s Bourne shell script that accepts arguments like in:

	/Applications/Firefox.app/Contents/MacOS/firefox http://some.where


Usually one would try

	open -a /Applications/Firefox.app [-remote] http://some.where

but this seems to fail because Apple's Launch Services take  
particularly the URL very serious and pass it to the *default*  
application for this kind of object, maybe Safari, or whatever has  
been set as default browser for the object type "URL."

--
Mit friedvollen Grüßen

   Pete

"Eternity is a terrible thought. I mean, where's it going to end?"
                                             - Tom Stoppard

  reply	other threads:[~2007-05-15 22:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 19:28 Open Firefox from Emacs on MacOSX Stefan Nobis
2007-05-15 21:11 ` Joost Kremers
2007-05-15 22:42   ` Peter Dyballa [this message]
2007-05-15 21:17 ` Harald Hanche-Olsen
2007-05-15 22:39   ` Nikolaj Schumacher
     [not found]   ` <mailman.719.1179269285.32220.help-gnu-emacs@gnu.org>
2007-05-15 23:23     ` Harald Hanche-Olsen
2007-05-16 11:50   ` Stefan Nobis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DBD4FFF1-8854-47CF-B542-2D019D4E9255@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.