Aquamacs (Pete's notes)

Running from the command line

First, start Aquamacs. Then do Tools->Install Command Line Tool. This will install a Perl script named /usr/bin/aquamacs. Then use "aquamacs" to start it. That's too long, so insert this in your .bashrc:

alias aq='aquamacs'

Initialization

I want to use AquaMacs under Mac OS X and XEmacs under Linux. So I want to use the same Emacs initialization file, and use conditionals in the file to handle any problems. So I put my init file in ~/.xemacs/init.el, as it is under Linux. Then I put a load command where Aquamacs will find it - in the ~/Library/Preferences/Aquamacs Emacs/Preferences.el file.

Getting rid of the toolbar

Click on the little oval at the upper-right part of the window. This makes the toolbar disappear, which is great, it'll be back the next time you start AquaMacs. I don't know how to make the choice stick. Using Options->Save Options doesn't work. Sigh.

Color highlighting

Aquamacs has per-mode syntax highlighting, so you can set it up so that when you edit a shell script, you get different colors than when you edit a Perl program. To establish a color theme for a mode, open a file to start the mode, then do

This saves stuff in ~/Library/Preferences/Aquamacs Emacs

ispell

On the Mac, I installed ispell with
fink install ispell
...which installed /sw/bin/ispell. This was sufficient to allow Aquamacs to handle "M-x ispell".

Meta key

The Mac's "option" key is Aquamacs "Meta".

IOS config mode

I downloaded Naufal Ibrahim's Emacs mode for Cisco IOS files. See http://nibrahim.net.in.
Pete Siemsen
Last modified: Thu Feb 23 09:52:19 MST 2006