I’ve made some improvements to the Chicken Scheme SWANK server I posted previously. Thank you to all the people who emailed me about it! I’ve fixed several minor bugs and implemented some new features:
The SLIME autodoc minor mode now works giving more detailed parameter hints. For example:
Autodoc is not enabled by default so you’ll need to add
(slime-setup '(slime-autodoc))
to your .emacs
. It’s not perfect as it gets confused by symbols exported from Chicken modules (e.g. it does not work when the function has a module#
prefix). Any suggestions on how to work around this would be appreciated :).
Several more SLIME commands are now implemented – e.g. C-x C-e and C-x C-r work as expected. Let me know if there’s a command you frequently use that doesn’t work. I’d love to have M-. supported but I can’t see a way to extract the required location information from Chicken.
Simple tab-completion of symbols now works too:
The problems with interrupts from Emacs I mentioned last time have now been fixed and you can easily break out of infinite loops using C-c C-c like this:
Follow the instructions in the last post to get started. If you’ve tried it already a git pull
should be all you need. Note that the dependencies have changed slightly:
$ chicken-install fmt apropos symbol-utils
will install the required libraries.
Let me know if you have any questions or comments!
Thanks for your excellent work! Are you aware of the chicken-doc extension that does the documentation bit? Maybe this can be integrated into your slime patch too? That would really be helpful!
See http://wiki.call-cc.org/eggref/4/chicken-doc#emacs for a short description on how to invoke it within emacs.
January 1, 2011 @ 8:38 pm
> Are you aware of the chicken-doc extension that does the documentation bit?
Thanks, looks like this is a really good fit for SLIME’s describe, apropos, etc. I’ll have a go at implementing that next.
January 2, 2011 @ 12:09 pm
Yeah, and you should really post about this to chicken-users! I’m sure someone might have some ideas about how to support M-. too which would be very useful. :)
January 1, 2011 @ 9:11 pm
> Yeah, and you should really post about this to chicken-users!
OK, will do :)
January 2, 2011 @ 12:09 pm