Mac – How to get a “modern” emacs that runs in a terminal on os x lion

emacssshterminal

I just installed Prompt on my iPad so I could possiby do some real work on my iMac via ssh. so far Mutt and Vim and emacs seemto work responsively enough for me. I've made a few tries at emacs before, but am essentially relearning it.

Of course the emacs that comes with Lion is 22.1.1. I installed the current emacs cocoa on my iMac, but it doesn't run in a terminal.

Is there a terminal version of 24 precompiled for OS X? Or is compiling it straightforward? So far I've had no need for Macports or Homebrew, and would prefer not to use them.

Best Answer

As far as I know, every emacs under the sun can run in a terminal:

/Applications/Emacs.app/Contents/MacOS/Emacs -nw

Change the path, of course, if your emacs resides elsewhere. If this is too long to type, even with tab completion, you can create a symlink to the Emacs executable, or make an alias for your shell.

Look to http://emacsformacosx.com/ for a precompiled modern Emacs for OS X.