[slime-devel] slime-fuzzy-complete-symbol

Levente Mészáros levente.meszaros at gmail.com
Mon May 8 13:43:50 UTC 2006


Hi,

I'm wondering how others use slime-fuzzy-complete-symbol? Do you use
it at all? Do you use it with the default user interface or do you
have customized it?

I think it's great but the user interface could be tuned a little bit.
(at least to my taste)

Here is my idea (which I might eventually implement):
 - in the source window use <TAB> key to show the fuzzy completion list
 - simultanously in the match window display the possible matches and
highlight the first one as being the current fuzzy completion
 - do not change anything in the source window and let the focus stay
there (this is different from the one currently implemented)
 - use the subsequent <TAB> keypresses to iterate through the possible
matches and use S-<TAB> to go backwards. one can always switch to the
completion list window and navigate back and forth with the usual
keystrokes if one wants to
 - otherwise the focus stays in the source window and no changes there
 - if you hit any key that clearly stops editing the current symbol in
the source window, then the incomplete symbol will be replaced by the
current fuzzy match and the key will be evaluated afterwards (implicit
completion). such keys are space, enter, (), arrow keys leaving the
symbol, etc... of course, hide completion window
 - if you did not find a match or there are too many matches, you can
continue editing by navigating back, deleting back, etc.
 - the completion window remains there and continuously updates making
the first match as the current completion, so that you can hit space,
enter, () to commit

to type in slot-value-using-class one would type:

( svuc TAB SPACE object SPACE slot )

levy
--
There's no perfectoin



More information about the slime-devel mailing list