Hi,<br><br>It looks like in slime-buffer-package is not being set after
connection and (swank:create-repl nil) is called / returned. This
causes things that call (slime-current-package), like slime-c-p-c, to be
a little sad when the REPL's default package isn't "COMMON-LISP-USER".<br>
<br>From what I can tell, a good place to apply it is at the end of the slime-repl-connected-hook-function:<br><br>diff a/contrib/slime-repl.el b/contrib/slime-repl.el<br>--- a/contrib/slime-repl.el<br>+++ b/contrib/slime-repl.el<br>
@@ -1519,9 +1519,11 @@ expansion will be added to the REPL's history.)"<br> (let ((slime-current-thread t))<br> (slime-eval '(swank:create-repl nil)))<br> (setf (slime-lisp-package) package)<br>
- (setf (slime-lisp-package-prompt-string) prompt))<br>- (slime-hide-inferior-lisp-buffer)<br>- (slime-init-output-buffer (slime-connection)))<br>+ (setf (slime-lisp-package-prompt-string) prompt)<br>+ (slime-hide-inferior-lisp-buffer)<br>
+ (slime-init-output-buffer (slime-connection))<br>+ (with-current-buffer (slime-output-buffer)<br>+ (setf slime-buffer-package package))))<br><br><br>Please let me know if you need any additional information,<br>
<br>- Jeff<br>