Summary: Running Allegro Common Lisp From Emacs
1 Getting Started
A powerful alternative to running ACL from the unix command line is to run Allegro Common Lisp (ACL) within one
window of an Emacs \Lambda screen. If you are not familiar with Emacs and want to learn how to use it, run the online tutorial
by following the instructions you see when you run Emacs without any arguments.
The advantages of running ACL from within Emacs are many. While the interface between ACL and Emacs is quite
sophisticated and complicated, most of the complexity is hidden and the sophistication will help you with many com
mon operations. For instance, you can type Lisp expressions into an editor buffer using the full power of the editor to
modify and change them, and with a single keystroke have Emacs evaluate these expressions. In addition, documen
tation on functions, arguments to functions, and source files containing function definitions can all be called up with a
Running ACL from within Emacs requires that you tell Emacs how to connect to ACL. This means you will need to add
some lines to your .emacs file for initializing Emacs. They can be found in the file ”cs680/Handouts/dotemacsacl.
After modifying your .emacs file, you can start up Emacs and then type ESCx acl which will open a window and
start up ACL in that window.
In case you cannot think of something to say, take lisp for a spin by typing the following:
Lisp will come back telling you that the square root of 12; 321 is 111. The tutorial below has more things to try.
2 Quick Tour of the EmacsLisp Interface
To get you started with the EmacsLisp interface, the following tutorial should be helpful. While you will be defining