[slime-devel] Re: [PATCH] Fuzzy Completion cleanup

Ralf Mattes rm at mh-freiburg.de
Tue Feb 27 16:08:39 UTC 2007


On Mon, 26 Feb 2007 21:13:24 +0100, Tobias C. Rittweiler wrote:

> 
> Hi,
> 
> the attached patch cleans up parts of the relevant code for fuzzy
> completion in swank.lisp. 
> 
> There are two user visible changes:
> 
>   i) The flags in the *Fuzzy Completions* buffer (indicating if the
>      respective symbol is boundp, fboundp, represeting a class, macro
>      &c) are now extended by the "p" flag indicating the there exists a
>      package accessible via that symbol.
> 
>  ii) the symbols in the *Fuzzy Completions* are now sorted
>      alphabetically before sorted by their score. From my ChangeLog
>      entry:
> 

This sounds wrong for the 'normal' case: isn't the whole point of
'fuzzyness' lost. When, actually, would two symbols be sorted equal
alphabetically so that scoring would kick in?

>         Affects especially the list of all possible completions when the
> 	user hits fuzzy-completion on an empty string within Emacs; 

Sounds like you optimize for the mindless user ...

>     also makes
> 	the potential limitness of the listed completions clearer to the end
> 	user of SLIME.


I thought our 'end users' would be slightly smarter than the average ;-)

 Cheers, Ralf Mattes







More information about the slime-devel mailing list