[slime-devel] Re: [Patch] Improvements for arglist and slime-complete-form

Matthias Koeppe mkoeppe+slime at mail.math.uni-magdeburg.de
Sun Mar 6 21:52:52 UTC 2005


Edi Weitz <edi at agharta.de> writes:

> On Sun, 06 Mar 2005 21:28:37 +0100, Matthias Koeppe <mkoeppe+slime at mail.math.uni-magdeburg.de> wrote:
>
>> I type an operator that has a complicated arglist.
>> Slime-complete-form fills in a template for the arglist.
>
> How is that different from slime-insert-arglist?

It's different for functions with optional and keyword arguments, and
when some arguments have already been typed in.  Examples:

	  (subseq "abc" <C-c C-s>
	    --inserts--> start [end])
	  (find 17 <C-c C-s>
	    --inserts--> sequence :from-end from-end :test test
	                 :test-not test-not :start start :end end :key key)
	  (find 17 '(17 18 19) :test #'= <C-c C-s>
	    --inserts--> :from-end from-end :start start :end end :key key)
	  (defclass foo () ((bar :initarg :bar)))
	  (defmethod initialize-instance :after ((object foo) &key blub))
	  (make-instance 'foo <C-c C-s>
	    --inserts--> :bar bar :blub blub initargs...)
	
Cheers,
-- 
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe



More information about the slime-devel mailing list