[slime-devel] Re: Questions about latest slime (where did feature X go?)
Helmut Eller
heller at common-lisp.net
Wed Sep 5 12:34:17 UTC 2007
* Jonathon McKitrick [2007-09-05 13:59+0200] writes:
> I have this in my Preferences.el I'm running Aquamacs:
>
> (slime-setup :autodoc t)
> (setq slime-use-autodoc-mode)
>
> But M-x slime-autodoc-mode says 'No match'
> Do I need a (require 'slime-autodoc) somewhere?
Yes, but slime-fancy does that already.
Hmm... I guess, you have (require 'slime) somewhere, before you do
(add-hook 'slime-load-hook ...). I.e. the load hook is already
executed before the customizations are added.
Can you delete (require 'slime) and try something like this instead:
(require 'slime-autoloads)
(slime-setup :autodoc t)
(defun my-slime-load-hook ()
(require 'slime-fancy)
(require 'slime-asdf))
(add-hook 'slime-load-hook 'my-slime-load-hook)
> : Can you load it manually with M-x load-library slime-asdf ?
>
> When I do that, it accepts the command. Then when I type ,load it says
> 'connection broken by peer.' Then I re-start sbcl, then re-type
> ,load and after it finds the system name and hit return, it loads.
OK, that's expected. The swank part isn't loaded properly at this
point.
Helmut.
More information about the slime-devel
mailing list