It is possible to open the Emacs.app (and emacsclient) from terminal. What I have done in the past is to put:
alias e='open -a Emacs' alias ec='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c -n' in my `.profile`. I also typically create an Emacs-daemon so that Emacs will fire up on system start, which means I can just use the `ec` or `emacsclient` to open files/buffers. Pretty sure I followed something like these instructions (to create the Applescript application): https://gist.github.com/redinger/1394910/c0dc6877c158a13760212dbe10b4abb32ae3c4f8 Hope that helps! Clark On Sat, Mar 15, 2025 at 12:04 PM Sparapani, Rodney via ESS-help < ess-help@r-project.org> wrote: > Hi Steve: > > Not really an ESS question, but I will bite… > > In this case (as in many others), macOS is not comparable > to Linux or Windows. The Emacs.app runs in the Quartz > environment. Nevertheless, what you are trying to do with > the terminal is endorsed and supported. See the file… > /Applications/Emacs.app/Contents/MacOS/emacs-nw > And the advice within that file… > “Use this file as a symlink target to easily create a terminal-only emacs” > ln -s /Applications/Emacs.app/Contents/MacOS/emacs-nw /usr/local/bin/emacs > > But, having said that, I think you will get more mileage > and enjoyment out of Emacs.app. I rarely use the > terminal app unless I am logging into my machine > remotely. > -- > Rodney Sparapani, Associate Professor of Biostatistics > President, Wisconsin Chapter of the American Statistical Association > Division of Biostatistics, Data Science Institute > Medical College of Wisconsin, Milwaukee Campus > > > [[alternative HTML version deleted]] > > ______________________________________________ > ESS-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/ess-help > [[alternative HTML version deleted]] ______________________________________________ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help