How can I get emacs 23 working nicely in multi-tty mode on OS X?
I've added (server-start)
to my .emacs, and have discovered that running /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n ~/myfile.txt
will open it in my emacs.app, but it doesn't bring emacs to the front.
So, how can I get emacs.app to come to the front when I run emacsclient? (I've considered writing a function that puts the current frame to the front every time a file is opened, or maybe writing an Applescript to do a similar job that could be called at the same time as emacsclient)
Is the emacsclient within emacs.app the best one to use? I assume I'll write an alias to it if so, but it seems weird to be using that rather than something in /usr/local/bin
Has anyone got any other tips or examples of getting this working?