Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Running Allegro Common Lisp From Emacs 1 Getting Started
 

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 on­line 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
single keystroke.
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/dot­emacs­acl.
After modifying your .emacs file, you can start up Emacs and then type ESC­x 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:
(sqrt 12321)
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 Emacs­Lisp Interface
To get you started with the Emacs­Lisp interface, the following tutorial should be helpful. While you will be defining

  

Source: Anderson, Charles W. - Department of Computer Science, Colorado State University

 

Collections: Computer Technologies and Information Sciences