[slime-devel] Re: [Patch] Implementation of a macroexpansion stack.

Matthias Koeppe mkoeppe+slime at mail.math.uni-magdeburg.de
Sat May 13 15:52:07 UTC 2006


Marco Baringer <mb at bese.it> writes:

> "Tobias C. Rittweiler" <tcr at freebits.de> writes:
>
>>> 2006-05-13  Matthias Koeppe  <mkoeppe at mail.math.uni-magdeburg.de>
>>>
>>> 	* slime.el (slime-eval-macroexpand): Make the macro expansion
>>> 	buffer read/write, so that it is possible to `undo' in-place
>>> 	macroexpansions. 
>>
>> Is it possible to shadow `undo' buffer-locally?
>
> not per buffer, but slime's macroexpansion buffers have their own
> keywap anyway. having an undo which works on read-only buffers is
> pretty simple [...]

I agree that's a better solution.  Could you put it in CVS, Marco?  
I think you can use (let ((buffer-read-only nil)) (undo arg)), BTW.

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



More information about the slime-devel mailing list