[slime-devel] Re: slime-macroexpand-in-place

Marco Baringer mb at bese.it
Sun Feb 26 14:05:35 UTC 2006


Helmut Eller <heller at common-lisp.net> writes:

> * Marco Baringer [2006-02-25 14:04+0100] writes:
>
>> hi,
>>
>>   the attached patch provides a function, slmie-macroexpand-in-place,
>
> I think you forgot the attachment :-)

oops.

>> which does exactly what slmie-macroexpand-1 does but replaces the text
>> of the form with its expansion. i've found this very usefull in a *SLME
>> Macroexpansion* buffer and i plan on commiting it. however i don't know
>> what keys to bind it to.
>>
>> is there a way to create a minor-mode such that the
>> slime-macroexpand-1-in-place and slime-macroexpand-all-in-place are
>> bound to the same keys as what the user has bound slime-macroexpand-1
>> and slmie-macroexpand-all to?
>
> Not that I know of.   But `where-is' or `where-is-internal' may be
> good enough to do it yourself.

the attached patch attempts to do this, tell me what you think.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: macroexpand-inplace.diff
Type: text/x-patch
Size: 8143 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20060226/5b2b3ae4/attachment.bin>
-------------- next part --------------

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen


More information about the slime-devel mailing list