[Openmcl-devel] IDE laundry list

Ron Garret ron at awun.net
Mon May 18 01:12:11 UTC 2009


On May 17, 2009, at 5:34 PM, Glen Foy wrote:

>
> On May 17, 2009, at 2:40 PM, Ron Garret wrote:
>
>> 2.  In my old MCL environment I had a function key bound to a  
>> function
>> that pretty-printed the macroexpansion of the current sexpr.  I used
>> that almost as much as meta-point, maybe more, and I really miss it.
>> I get the feeling that if I dug deeply enough I could figure out how
>> to add this myself, but I would really like to see it be a standard
>> part of CCL.
>
> Do you just need function key bindings for the existing Hemlock
> commands?
>
> (hi::bind-key "Editor Macroexpand-1 Expression" #k"F1")
> (hi::bind-key "Editor Macroexpand Expression" #k"F2")

That's a good start.  It's not quite what I want: it seems to require  
an active selection -- just having the cursor on a close paren doesn't  
work.  But I can't imagine that will be too hard to fix.

>
> If you need to hack that code in some way, it's in listener.lisp.

Will try that.  Thanks!

rg




More information about the Openmcl-devel mailing list