Let’s say that you are an OS X user, but your version of the OS (10.6 Snow Leopard, perhaps) has an out-dated version of Emacs installed. You would like to have Emacs 23.4, but you’d also like to continue to invoke The Editor from the command line, without having to open up a silly GUI. Here’s what you do:
- Download and install GNU Emacs for Mac OS X
- Add the following line to your ~/.bash_profile in OS X:
alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs -nw'
This will allow you to open the new version the next time you type “emacs” at the command prompt. Happy hacking.