[slime-devel] Re: Questions about latest slime (where did feature X go?)
Tobias C. Rittweiler
tcr at freebits.de
Thu Sep 6 23:12:50 UTC 2007
Jonathon McKitrick <jcm at sdf.lonestar.org> writes:
> : Jonathon McKitrick <jcm at sdf.lonestar.org> writes:
>
> : > Perhaps this is of help? Maybe not...
> : >
> : > ;; Connection to Emacs lost. [
> : > ;; condition: READER-ERROR at 40 (line 1, column 40) on #<SB-IMPL::STRING-INPUT-STREAM {1174B751}>:
> : > Symbol "ARGLIST-FOR-ECHO-AREA" not found in the SWANK package.
> : > ;; type: SB-KERNEL:READER-PACKAGE-ERROR
> : > ;; encoding: NIL style: :SPAWN dedicated: NIL]
Way to reproduce this:
Start Emacs just with `(require 'slime)' in your .emacs, but _no_
`(require 'slime-fancy)' (or slime-autodoc for that matter.)
M-x slime, then manually require slime-fancy:
M-: (require 'slime-fancy)
The next time slime tries to do autodoc, the above error should occur.
The reason is that `slime-autodoc-init' only runs SWANK-REQUIRE in
`slime-connected-hook' -- yet in the above scenario, Slime is already
connected, so the arglist stuff is never loaded into the Swank side..
resulting in the above error.
(This is similiarly valid for other contribs.)
A possible fix would be to insert something like
(when (slime-connected-p)
(slime-eval-async '(swank:swank-require :swank-arglists)))
in `slime-autodoc-init' (and all other relevant contribs.)
This analysis is mostly due to Matt Pillsbury.
-T.
More information about the slime-devel
mailing list