How can I run Mac OSX graphical Emacs in daemon mode?
--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game Looping
--
Chapters
00:00 Question
02:01 Accepted answer (Score 15)
02:57 Answer 2 (Score 2)
03:20 Answer 3 (Score 1)
03:44 Thank you
--
Full question
https://superuser.com/questions/50095/ho...
Question links:
http://emacsformacosx.com/
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #emacs
#avk47
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game Looping
--
Chapters
00:00 Question
02:01 Accepted answer (Score 15)
02:57 Answer 2 (Score 2)
03:20 Answer 3 (Score 1)
03:44 Thank you
--
Full question
https://superuser.com/questions/50095/ho...
Question links:
http://emacsformacosx.com/
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #emacs
#avk47
ACCEPTED ANSWER
Score 15
- You've got this handled
Yes, you'll want to use emacsclient. To get a new frame, add the -c option. I have an alias to make it quicker and to tell emacsclient not to wait for emacs server to return:
alias em='emacsclient -n'
emacsclient -nw
- I'm not sure about this. I start Emacs once and always load new files either within emacs or using my
em
alias.
Update:
Check out this tip documenting how to use Platypus to create an app wrapper around emacsclient. You could then use "Open With..." to launch using your new app wrapper.
ANSWER 2
Score 2
Yes, here is an pretty comprehensive explain about how to do this nicely. I tried several methods to get it working nicely, but no better than what they described here.
https://gist.github.com/304964
Cheers!
ANSWER 3
Score 1
For 4. put this in your .emacs:
(setq ns-pop-up-frames nil)
The solution of creating a Mac .app (with Platypus) does not work because Mac won't open the same application twice.