Can open two Aquamacs at the same time?

Discussion of programming Lisps using Emacs, including SLIME and other tools

Can open two Aquamacs at the same time?

Postby 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.
Maxxum
 
Posts: 6
Joined: Wed Jul 01, 2009 8:28 pm

Re: Can open two Aquamacs at the same time?

Postby 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 .
gugamilare
 
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Re: Can open two Aquamacs at the same time?

Postby 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/
findinglisp
 
Posts: 440
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX

Re: Can open two Aquamacs at the same time?

Postby 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.
User avatar
nuntius
 
Posts: 500
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA

Re: Can open two Aquamacs at the same time?

Postby 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 &
tayssir
 
Posts: 35
Joined: Tue Jul 15, 2008 2:33 pm


Return to Emacs

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron