Emacs on OS X Pro Tip

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:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>