Hi,
I hacked up something similar to ILISP's C-z P (SET-PACKAGE-LISP). I am not at all sure whether this is the right way to do it, but it seems to work. It evolved by trial and error, though.
C-c M-p would be a key binding candidate, I guess. And it probably should go into the menu as well.
As an aside: it would be extremely helpful if SLIME and SWANK functions would be properly documented.
Cheers, Michael
* Michael Weber michaelw+slime@foldr.org [2004-01-22T01:28+0100]:
As an aside: it would be extremely helpful if SLIME and SWANK functions would be properly documented.
Whoops, now why did I sent the wrong patch (without docs)... :/
Same patch this time with docs strings attached.
Cheers, Michael
Michael Weber michaelw+slime@foldr.org writes:
- Michael Weber michaelw+slime@foldr.org [2004-01-22T01:28+0100]:
As an aside: it would be extremely helpful if SLIME and SWANK functions would be properly documented.
What are the most important undocumented functions for you?
I added some documentation for the REPL code, which is probably the ugliest part.
Same patch this time with docs strings attached.
Thanks for the patch.
Helmut.
* Helmut Eller e9626484@stud3.tuwien.ac.at [2004-01-23T01:29+0100]:
Thanks for the patch.
Welcome :)
I believe the SWANK part (SET-REPL-PACKAGE) was accidently left out?
Also, could you perhaps add an entry to the menu and a keyboard shortcut?
I have:
[ "Set Package in REPL" slime-repl-set-package ,C]
and ("\M-p" slime-repl-set-package :prefixed t :inferior t)
Cheers, Michael
Michael Weber michaelw+slime@foldr.org writes:
I believe the SWANK part (SET-REPL-PACKAGE) was accidently left out?
There was already a set-package function. I generalized it a bit to make it usable for the new command.
Also, could you perhaps add an entry to the menu and a keyboard shortcut?
Done.
Helmut.