Hi -- I cannot seem to call COMPILE on the name of a macro that was defined at the top level, in CMU Common Lisp 18e. A transcript is below. Although I realize that there may be limited value to such calls, I had thought they were legal, and CLtL2's documentation seems to confirm this:
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node224.html Any thoughts? For now I can just comment out my top-level calls of COMPILE on macro names for CMU CL (the problem does not appear to exist for Allegro CL, GCL, Lispworks, MCL, OpenMCL, or SBCL). Thanks, and here is the transcript. The OS is Debian Gnu Linux ("uname -a" gives "2.4.26 #2 SMP Wed Apr 14 18:24:48 CDT 2004 i686 unknown"). Loaded subsystems: Python 1.1, target Intel x86 CLOS 18e (based on PCL September 16 92 PCL (f)) * (defmacro bar (x) x) BAR * (compile 'bar) Error in function C::GET-LAMBDA-TO-COMPILE: #<Closure Over Function "DEFUN (SETF MACRO-FUNCTION)" {48028629}> was defined in a non-null environment. Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (C::GET-LAMBDA-TO-COMPILE #<Closure Over Function "DEFUN (SETF MACRO-FUNCTION)" {48028629}>) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:compiler/main.lisp. 0] Thanks -- Matt Kaufmann
