Page 1 of 1

Can open two Aquamacs at the same time?

Posted: Thu Oct 15, 2009 3:11 pm
by Maxxum
I can open as many as Emacs I want on Fedora, but OS X apparently only allows one Aquamacs application to be opened at a time..... :(

Is there any way to work it around?

Thanks.

Re: Can open two Aquamacs at the same time?

Posted: Thu Oct 15, 2009 6:14 pm
by gugamilare
Opening just a new frame isn't enough for you? I don't know about Aquamacs, but in Emacs It is in the file menu or you can use the command Ctrl-X 5 2 .

Re: Can open two Aquamacs at the same time?

Posted: Fri Oct 16, 2009 8:52 am
by findinglisp
Yea, but why wouldn't it let you run two instances? I'm not an Apple user, so I can't give any advice, but it strikes me as an odd limitation for a text editor.

Re: Can open two Aquamacs at the same time?

Posted: Mon Oct 19, 2009 8:14 am
by nuntius
That's a generic OS X (mis?)feature. The OS tries to detect when an app is already open, and forward you to the existing instance rather than starting a new one. You can see this behavior spreading into other apps like firefox which try to prevent multiple instances even on other platforms.

Anyway, try "open -n /Applications/Aquamacs\ Emacs.app" on the command line (e.g. in Terminal.app). I'm not sure whether a gui equivalent exists.

Re: Can open two Aquamacs at the same time?

Posted: Wed Oct 21, 2009 11:56 am
by tayssir
Dunno for Aquamacs, but for normal Emacs, I have a shell script which executes:

Code: Select all

/path/to/Emacs.app/Contents/MacOS/Emacs &