5 Apr 2007 14:37
RFC for completion behaviour
Tobias C. Rittweiler <tcr <at> freebits.de>
2007-04-05 12:37:22 GMT
2007-04-05 12:37:22 GMT
Hi Slime-hackers,
Two issues related to how completion should behave:
a) As of now, completing on "asdf::" or "asdf::foo" means that it's
tried to find any (or the respective) symbols within
#<PACKAGE "ASDF"> that is _accessible_.
However, this includes all those symbols that are inherited from
other packages, including :CL, as most packages include it.
If you're looking for a symbol that you know is _internal_ to some
package, you're forced to search through (possibly) quite a mess.
So what do you think, to change the completion code to only try to
match against symbols _internal_ to #<PACKAGE "ASDF"> in the above
case?
The downside is that if you've got a package :A that uses some
internal packages :B and :C for internal code structure purpose,
you won't be able to find the symbols in these internal packages.
So if people want the new bevahiour, I'd implement it in a way that
is has to be explicitely enabled by setting some global value.
What's your opinion on this?
b) Slime's standard completion function `SLIME-COMPLETE-SYMBOL*'
(i.e. the one that is used at the REPL, for instance) completes
(Continue reading)
> The problem is that this doesn't restore the previous window layout
> (just as `Esc Esc Esc' wouldn't.)
C-c left == winner-undo would, but that also leaves arrow keys out
in the cold...
>> Finally, we don't seem to have a way to select a completion and
>> insert just the completion anymore.
>
> Just press TAB.
RSS Feed