[Ma-linux] [Dclug] Strange Emacs Lisp behavior
alan at patriot.net
Sun Dec 5 18:17:54 EST 2010
On Sun, Dec 05, 2010 at 04:55:32PM -0500, John Anderson wrote:
> On Dec 5, 2010, at 4:48 PM, Alan McConnell wrote:
> > In the course of my LISP-learning, I found that on my system -- Debian
> > etch, GNU Emacs 21.4.1 -- Emacs LISP doesn't recognize the DO
> > macro!
. . . .
> "C-h f do" gives me:
Do you do this within Emacs? I tried this here(I'm using
emacs -nw as my mutt editor) and "C-h" is the same as <---,
i.e. delete the previous character.
> > (require 'cl)
This however -- suggested also by Aaron Ucko -- works great.
Up to a point. It runs my simple-test just fine, but I have
more complicated code, using COMPLEX and REALPART, and elisp
even CL-ized, doesn't like them.
I have five LISP systems on my Debian etch: clisp, ecl, sbcl,
elisp(don't forget to use C-j!) and rep, the Harper LISP
implementation used in the sawfish window manager. The
first three are pretty faithful CL implementations; elisp
and rep are quirky, IMHO. So far, I'm finding my explorations
into LISP culture fascinating, although my promised new hair
hasn't started to grow back, nor is my trill any faster.<G>
Thanks to all!
Alan McConnell : http://patriot.net/users/alan
Music is still the most important aspect
of good living. (Al Abrams)
More information about the Ma-linux