[slime-devel] Re: patch: make slime-echo-arglist show initargs/initforms for make-instance

Matthias Koeppe mkoeppe+slime at mail.math.uni-magdeburg.de
Mon Feb 6 19:09:21 UTC 2006


Luís Oliveira <luismbo at gmail.com> writes:

> Matthias Koeppe <mkoeppe+slime at mail.math.uni-magdeburg.de> writes:
>> The implementation of C-c C-s (slime-complete-form) already contains a
>> more general version of this.  It handles MAKE-INSTANCE and DEFMETHOD.
>> I am looking into making use of this code to handle the echo area
>> arglist display as well.
>
> Btw, maybe it would be a good idea not to show
>
> "(make-instance 'foo &key (foo bar) baz)"
>
> But show
>
> "(make-instance class &rest initargs)
> Initargs: (foo bar) baz"
>
> Or something like this. Any suggestions?

Hm, not sure.  I have turned on font locking of the echo area arglist,
so the keywords should be visible enough.  Or are you concerned with
the fact that we are mixing formal and actual arguments?  I don't
think it creates confusion.

Also, as I promised, I have now implemented the improved echo are
arglist display of DEFMETHOD.

Matthias
-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe



More information about the slime-devel mailing list