[slime-devel] [PATCH] Re: RFC for completion behaviour

Tobias C. Rittweiler tcr at freebits.de
Thu Apr 26 20:43:54 UTC 2007


2007-04-26  Tobias C. Rittweiler <INSERT-EMAIL-HERE>

	Removed support for completing to the longest compound pre- and
	suffix with the default completion method (C-c TAB, or just TAB on
	the REPL), because it has been causing trouble all the time, but
	didn't offer any real advantage besides niftiness. E.g.:

	    previous behaviour: 

	      asdf:*com TAB => asdf:*compile-file--behaviour*

	    now simply:

	      asdf:*com TAB => asdf:*compile-file-

	For discussing on this subject, please see the mail with
	message-id <87y7l53lch.fsf at freebits.de> that was posted to
	slime-devel on 2007-04-06, or alternatively visit:

	http://common-lisp.net/pipermail/slime-devel/2007-April/006087.html

	* swank.lisp (make-compond-prefix-matcher): New function.
	(compound-prefix-match): Removed. Superseded by
	MAKE-COMPOUND-PREFIX-MATCHER.
	(compound-prefix-match/ci/underscores): Likewise.

	(completions): Slight docstring modification, also added an
	examplary use case; use LONGEST-COMMON-PREFIX instead of
	LONGEST-COMPLETION; use MAKE-COMPOUND-PREFIX-MATCHER.
	(completions-for-character): Likewise.
	
	(longest-completion): Removed. Not needed anymore.
	(tokenize-completion): Likewise.
	(untokenize-completion): Likewise.
	(transpose-lists): Likewise.
	(longest-completion/underscores): Likewise.
	(tokenize-completion/underscores): Likewise.
	(untokenize-completion/underscores): Likewise.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-longest-completion-fix.diff
Type: text/x-diff
Size: 8023 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20070426/598f7a01/attachment.diff>


More information about the slime-devel mailing list