Hi,
I am not an expert of Ilisp nor Slime, but isn't it possible to make a completion command like "m<tab>" which works like the completion in the mini-buffer of Emacs.
It seems a very good idea to complete filenames, though difficult to port.
Isn't it possible to complete symbols against the result of an apropos funcall ? It would make the completion feature very useful and could be enhanced to automatically insert not unused packages like this:
For example, if I want to write start-server which is in package ASERVE-EXAMPLE (which must be loaded) but my file doesn't use package ASERVE-EXAMPLE for some reasons. If I would write :
- "s<tab>" then a specific Emacs buffer would appear with the list of all symbols beginning by "s" in any packages. For instance we should have something like :
SYMBOL-VALUE ASERVE-EXAMPLE:START-SERVER
- then if I would type "y<tab" the symbol would complete to "SYMBOL-VALUE". - then if I would type "t<tab" the symbol would complete to "ASERVE-EXAMPLE:START-SERVER".
If find very annoying a Lisp environnement than can't complete symbol that the lisp knows. As I am not very good at lisp (still beginner !) I don't know if this is easy of difficult to write, but I suppose a quick-and-dirty hack would be easy by parsing the apropos funcall ...
Cheers, Camille
On Nov 26, 2003, at 5:52 PM, Luke Gorrie wrote:
"Sean O'Rourke" sorourke@cs.ucsd.edu writes:
I switched to Slime for awhile, but switched back to Ilisp for the moment for two reasons:
- stability. This is probably a red herring, since you can evidently just leave a Lisp up and running and reconnect after a crash; it's also transient, since Slime is improving by leaps and bounds (infinitely faster than Ilisp, one might say;).
I hadn't realised we had stability-as-in-crash problems. We'll fix them.
- Usability details. The big one here is completion -- Ilisp has a couple of completion features that Slime lacks: filename completion in strings, and multiword expansion (e.g. "m-w-e<tab>" -> "multi-word-expansion"). Is there any reason not to pillage Ilisp for these nice touches?
Pillaging ideas, definitely. Pillaging code hasn't been a big success so far. In the cases I've tried, the ILISP code was really showing its age (way) too much.
Today might be an exception. I spent quite some time implementing a "m-w-e<tab>" feature, but the algorithm I cooked up turned out to completely suck, and it isn't useful. Bugger. :-)
Cheers, Luke
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel