Antsan
7/17/2015 3:26:00 PM
Am Freitag, 17. Juli 2015 11:04:05 UTC+2 schrieb Jim Newton:
> Can someone tell me the best way in slime to look at the source of a function with the macros expanded in place? For example, the following function uses let* and do-sites. I believe let* is a macro, and I know that do-sites is a macro which my program defined.
>
> I want to look at the function definition with those macros expanded in place. Is it possible?
>
> (defun gtk-box-call-update-preview (gc box results)
> (when box
> (let* ((dbox (make-site-set-box (make-point 1 1)
> (make-point 50 50)))
> (resized (make-image-morpher-resize results dbox)))
> (let ((surface (slot-value box 'surface)))
> (do-sites (site resized)
> (surface-update gc (iref resized site) site surface))))))
I'm not entirely sure I actually got what you want, but I think you might be
asking about M-x slime-macroexpand-1-inplace