Emacs for Macsby dave on 2007-05-07
About 4 years ago at Gustavus I watched one of my professors in the only computer science class I took there completely rearange and edit a large text file in a matter of seconds using only the keyboard. I was amazed and realized I was still in the dark ages of both programing and especially text editing skills. I decided that I would have to learn whatever editor he was using. The editor of course was Emacs. As I'd recently posted, I'd lost my favorite version of it for Macs but I have now found it again. I like it because its just a simple version of emacs with the GUI ported to a mac. The publisher also shares two scripts that allow you to use apple-style shortcuts which I enjoy better for cutting and pasting. Its just called "Emacs for OS X" by Ovidiu Predescu. You can download the app and scripts here. Here's a typical screen shot.
Alternatives I found were Aquamacs and this version who's binary didn't work on my G4 and didn't come with the ./compile script it said it did, and ofcourse the default terminal version. Aquamacs seems to be the choice for everyone, its alteast the most supported. It advertises that it expands the usability of Emacs with a new Aqua interface. When I tried it first two years ago I didn't like it at all. My two largest problems were one, a personal distaste for the new icon (dumb I know) and the really annoying default setting of showing each buffer in a new window! I think last time when installing I was trying out 3 different versions and just left this one behind after not finding the option to change that within the first 2 minutes. This time before blogging about it and probably getting some people angry I thought I'd look again. It turns out to be a really simple setting to change: Options > Display Buffers in Seperate Frames. Then it turns out to be a pretty sweet version. Its easier to configure and even looks a little prettier than the other.
An additional tip, to make it run from your terminal add an alias to your ~/.profile file. For the first version use
and for Aquamacs use
alias emacs="/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs"
and finally to reload your .profile without logging out use
$ source ~/.profile
in your terminal. Now I've got my emacs and my computer feels like home again.