On Thu, Oct 15, 2009 at 2:53 PM, Sebastian Tennant sebyte@smolny.plus.com wrote:
Quoth "Tobias C. Rittweiler" tcr@freebits.de:
Is there a way to force C-x C-e (slime-eval-last-expression) to evaluate things inside a certain package when there is no (in-package ...) form in the current buffer?
If there's no buffer package, it uses *PACKAGE* which should be the same as the package at your slime-repl.
Hmm... well that's not the behaviour I'm experiencing.
--- Buffer *slime-repl opencml* --- Clozure Common Lisp Port: 50248 Pid: 790 ; SLIME 2007-08-16 CL-USER> (make-package "MY") #<Package "MY"> CL-USER> (in-package :my) #<Package "MY"> MY>
--- Buffer *slime-scratch* --- *package* #<Package "COMMON-LISP-USER">
;;; switch to repl, define new package and enter it (in the repl) *package* #<Package "COMMON-LISP-USER">
Am I losing my marbles?
You are right. I was annoyed by this before, but didn't pay attention. Should be fixed in CVS.