Why is slime's “package” different from the inferior lisp?
Why is slime's “package” different from the inferior lisp? I think I don't have a clear understanding of how slime is running lisp within Emacs. Say I have a file with the following entries :- (defpackage "TEST" (:use "COMMON-LISP")) (in-package "TEST") *package* Now I compile/run these three with either of say C-c C-c C-x C-e and I get the output :- #<PACKAGE "TEST"> However, if I now switch buffers to the inferior lisp buffer and type *package* it gives me the output as #<PACKAGE "COMMON-LISP-USER"> What gives? Using the slime commands above clearly does something but it doesn't seem to be affecting the main REPL loop for the inferior-lisp. 2 Answers 2 Global special variables Since global variables are using dynamic binding, one can rebind them: CL-USER> *package* #<The COMMON-LISP-USER package, 117/256 internal, 0/...