I noticed that the different eval-xxx commands when executed in a Lisp-mode buffer have different behavior wrt. the treatment of *PACKAGE*. In particular: SLIME-PPRINT-EVAL-LAST-EXPRESSION and SLIME-EVAL-REGION bind *PACKAGE* to SWANK:*BUFFER-PACKAGE*. The other eval-xxx commands do not bind *PACKAGE* and you (apparently) get the value of *PACKAGE* that is bound in slime-repl.
It is not clear to me that this difference in behavior is desirable.
Lynn Quam quam@ai.sri.com writes:
I noticed that the different eval-xxx commands when executed in a Lisp-mode buffer have different behavior wrt. the treatment of *PACKAGE*. In particular: SLIME-PPRINT-EVAL-LAST-EXPRESSION and SLIME-EVAL-REGION bind *PACKAGE* to SWANK:*BUFFER-PACKAGE*. The other eval-xxx commands do not bind *PACKAGE* and you (apparently) get the value of *PACKAGE* that is bound in slime-repl.
Fixed now.
Pardon the wait -- I thought it was really tricky, but actually I was just looking in the elisp code when I should have been looking in the CL :-)
-Luke