Can open two Aquamacs at the same time?

Discussion of programming Lisps using Emacs, including SLIME and other tools
Post Reply
Maxxum
Posts: 6
Joined: Wed Jul 01, 2009 8:28 pm

Can open two Aquamacs at the same time?

Post by Maxxum » Thu Oct 15, 2009 3:11 pm

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.

gugamilare
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil
Contact:

Re: Can open two Aquamacs at the same time?

Post by gugamilare » Thu Oct 15, 2009 6:14 pm

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 .

findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: Can open two Aquamacs at the same time?

Post by findinglisp » Fri Oct 16, 2009 8:52 am

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.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Can open two Aquamacs at the same time?

Post by nuntius » Mon Oct 19, 2009 8:14 am

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.

tayssir
Posts: 35
Joined: Tue Jul 15, 2008 2:33 pm

Re: Can open two Aquamacs at the same time?

Post by tayssir » Wed Oct 21, 2009 11:56 am

Dunno for Aquamacs, but for normal Emacs, I have a shell script which executes:

Code: Select all

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

Post Reply