[slime-devel] 2007-08-23 change to arglist display code: interns symbols as you type

Matthias Koeppe mkoeppe+slime at mail.math.uni-magdeburg.de
Thu Aug 23 17:21:07 UTC 2007


Tobias,

thank you for your work on arglist display.

However, the change below causes a lot of unwanted symbols to be
interned when the arglist-lookup code runs at every keypress.

CL-USER> (defmethod abcde () nil)
STYLE-WARNING: implicitly creating new generic function ABCDE
#<STANDARD-METHOD ABCDE () {B6990E1}>
CL-USER> (find-symbol "A")
A
:INTERNAL
CL-USER> (find-symbol "AB")
AB
:INTERNAL
CL-USER> (find-symbol "ABC")
ABC
:INTERNAL
CL-USER> (find-symbol "ABCD")
ABCD
:INTERNAL


2007-08-23  Tobias C. Rittweiler <tcr at freebits.de>

	Added arglist display for declaration specifiers and type
	specifiers. [...]

	* swank.lisp (arglist-for-echo-area): Adapted to take ``raw form
	specs'' from Slime.
	(parse-form-spec): New. Takes a ``raw form spec'' and returns a
	``form spec'' for further processing in Swank. Docstring documents
	these two terms.
	(split-form-spec): New. Return relevant information from a form	spec.
	(parse-first-valid-form-spec): Replaces `find-valid-operator-name'.
	(find-valid-operator-name): Removed.
	(operator-designator-to-form): Removed. Obsoleted by `parse-form-spec'.

Please, I explained to you before in private mail why we need to be
careful not to use READ to get the forms to the CL side.

Can you please fix that?

Matthias
-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe
(currently @math.ucdavis.edu)




More information about the slime-devel mailing list