Looking at the code in swank.lisp, I suspect a *PACKAGE* bug in the following:
(defslimefun oneway-eval-string (string buffer-package) "Evaluate STRING in BUFFER-PACKAGE, without sending a reply. The debugger hook is inhibited during the evaluation." (let ((*buffer-package* (guess-package-from-string buffer-package)) (*package* *buffer-package*) (*debugger-hook* nil)) (eval (read-form string))))
My guess is that (let* ...) was intended so that *PACKAGE* is bound to the new value of *BUFFER-PACKAGE*.
Lynn Quam quam@ai.sri.com writes:
Looking at the code in swank.lisp, I suspect a *PACKAGE* bug in the following:
(defslimefun oneway-eval-string (string buffer-package)
[...]
My guess is that (let* ...) was intended so that *PACKAGE* is bound to the new value of *BUFFER-PACKAGE*.
Agreed.
Currently this function doesn't seem to be used, which reminds me that I haven't fixed the global debugger hook function that I promised Thomas Burdick the other week -- coming next.
-Luke