[slime-devel] Re: Questions about latest slime (where did feature X go?)
Jonathon McKitrick
jcm at sdf.lonestar.org
Fri Sep 7 01:37:59 UTC 2007
On Fri, Sep 07, 2007 at 01:12:50AM +0200, Tobias C. Rittweiler wrote:
: 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.
Ah, thanks for tracking it down and/or following up.
Until a correct patch is applied, is there something I can do in my
.emacs or even manually as a workaround?
Jonathon McKitrick
--
My other computer is your Windows box.
More information about the slime-devel
mailing list