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

Tobias C. Rittweiler tcr at freebits.de
Wed Apr 11 10:41:10 UTC 2007


Fixed a bug in fuzzy completion that doesn't show up when used with
Slime, but may show up when the API is used directly. Added a thorough
explanation of fuzzy completion, and implemented proper behaviour when
Esc-Esc-Esc is used.



2007-04-11  Tobias C. Rittweiler <INSERT-MY-ADDRESS>

	* swank.lisp (fuzzy-find-matching-packages): Fix a small typo that
	prevented interpreting NIL as the argument TIME-LIMIT-IN-MEC to
	mean an infinite time limit. This bug propagated up to explicit
	calls to FUZZY-COMPLETIONS, like 
	   (swank:fuzzy-completions "mvb" "COMMON-LISP") => (NIL, T)

	(format-fuzzy-completions): Renamed to FORMAT-FUZZY-COMPLETION-SET
	
	(format-fuzzy-completion-set): Accomodated to recent changes of
	the return value of FUZZY-COMPLETIONS; changed the docstring to
	make it explicit that this function is supposed to take the return
	value of FUZZY-COMPLETION-SET.

	* slime.el (slime-compilation-finished): Don't use
	MULTIPLE-VALUE-BIND for list destructuring, only because multiple
	values happen to be implemented via lists in elisp!
	(slime-fuzzy-completions-mode): Added an detailed explanation to
	the docstring of how Fuzzy Completion works and how it'ss supposed
	to be worked with.
	(slime-fuzzy-explanation): Shortened to reference to
	SLIME-FUZZY-COMPLETIONS-MODE for help on fuzzy completion.
	(slime-fuzzy-choices-buffer): Set BUFFER-QUIT-FUNCTION to
	SLIME-FUZZY-ABORT to make it correctly exit fuzzy completion when
	pressing `Esc Esc Esc' (`M-Esc Esc').


-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-fuzzy-compl-final.diff
Type: text/x-diff
Size: 5009 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20070411/62a4d2c4/attachment.diff>


More information about the slime-devel mailing list