[slime-devel] Re: Canonical package nicknames patch

Luke Gorrie luke at bluetail.com
Fri Jul 9 16:30:16 UTC 2004


Peter Seibel <peter at javamonkey.com> writes:

> So it mildly annoys me that SLIME does this:
>
>   CL-USER> (in-package :foo)
>   #<The FOO package>
>   FOO> (in-package :cl-user)
>   #<The COMMON-LISP-USER package>
>   USER> 
>
> Note the final prompt.

IMO the real problem is that the initial REPL package name is
hard-coded to "CL-USER" by way of (slime-lisp-package), instead of
starting by looking up the shortest nickname. This could be fixed in
slime-init-output-buffer, perhaps with an RPC to `set-package'.

That would fix the inconsistency.





More information about the slime-devel mailing list