[slime-devel] Re: [PATCH] Re: RFC for completion behaviour
Tobias C. Rittweiler
tcr at freebits.de
Sat Apr 28 14:03:18 UTC 2007
"Tobias C. Rittweiler" <tcr at freebits.de> writes:
I've been bitten by a bug in the older SBCL version I use that prevented
me from seeing what a shenanigan I had straying in my code; here's a
2007-04-28 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.:
asdf:*com TAB => asdf:*compile-file--behaviour*
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 2007-04-06, or alternatively:
* swank.lisp (make-compound-prefix-matcher): New function.
Abstracted from COMPOUND-PREFIX-MATCH.
(compound-prefix-match): Use MAKE-COMPOUND-PREFIX-MATCHER.
(completions): Slight docstring modification, also added an
examplary use case; use LONGEST-COMMON-PREFIX instead of
(completions-for-character): Use LONGEST-COMMON-PREFIX, and
(longest-completion): Removed. Not needed anymore.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8522 bytes
Desc: not available
More information about the slime-devel