[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macro arglists
- To: info-mcl
- Subject: macro arglists
- From: spector@mimsy.umd.edu (Lee Spector)
- Date: 4 Aug 91 20:00:02 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Posted: Sun Aug 4 15:00:02 1991
- Reply-to: spector@mimsy.umd.edu (Lee Spector)
Arglists for my user-defined macros show as gensyms in the Fred mini-buffer,
and I'd really like to see the names that I gave the args. My macros are
all defined with *Save-Local-Symbols* and *Fasl-Save-Local-Symbols* set to
t. Page 33 of the manual says "The ed-arglist function works for built-in
functions and macros and for most functions and macros defined with
*Save-Local-Symbols* and *Fasl-Save-Local-Symbols* set to t."
I'm not sure what "most" means there, but I don't think it works
for any of my user-defined macros.
Example:
? (defmacro lovely-args (elroy judy)
`(list ',elroy ',judy))
LOVELY-ARGS
? (lovely-args really beautiful)
(REALLY BEAUTIFUL)
It works properly, etc., but control-x-a after lovely-args (or a space with
*arglist-on-space*=t) gives "G1664 G1665" in the mini-buffer. In addition,
the documentation window says that my macros are FUNCTIONs, rather than
macros, and shows no arguments. The inspector knows it's a macro, but
it shows the arglist as (#:G1664 #:G1665).
Any info would be appreciated!
My system: MCL 2.0b1p3 in a 5Meg partition on a Mac IIcx with a total
of 8Meg running system 6.07 with lots of inits.
Thanks! -Lee (spector@cs.umd.edu)