Frank some.frank@gmail.com writes:
Hi there,
I'm not sure but this looks like a bug to me.
I have those lines in a file lets say "scratch.lisp"
;;; start scratch.lisp (defpackage :foo) (in-package :foo) (defmacro bar (bazzz)) (defun bar2 (bazzz2)) ;;; end scratch.lisp
I start emacs and then slime. On the fresh REPL I type:
; SLIME 2010-12-02 CL-USER> (load "scratch.lisp") ;Compiler warnings for "/Dokumente und Einstellungen/fau/Desktop/scratch.lisp" : ; In BAR: Unused lexical variable BAZZZ ;Compiler warnings for "/Dokumente und Einstellungen/fau/Desktop/scratch.lisp" : ; In BAR2: Unused lexical variable BAZZZ2 #P"c:/Dokumente und Einstellungen/abc/Desktop/scratch.lisp"
CL-USER> (find-symbol "BAZZZ") BAZZZ :INTERNAL
It's a bug in CCL, I filled a ticket, http://trac.clozure.com/ccl/ticket/787