[plt-scheme] Overriding insert-lambda-template keybinding?
On Feb 18, 2008 3:10 PM, Robby Findler <robby at cs.uchicago.edu> wrote:
> > In the keybindings display window the custom mapping shows up as
> > "ESC;c:l (C:\drscheme\mykeys.ss:10.2:1). What do those numbers mean?
> > Is there any way to make this more meaningful?
>
> Those numbers are teh source location of the "lambda" expression
> above. If you give that function a name, the name will appear there
> instead.
I see. I tried specifying the function name and got the same result.
Looking at keybinding.ss in collects/framework/private, it looks like
mappings are added in two steps:
1. (send kmap add-function name func)
2. (send kmap map-function key func)
Does this make any difference?
How does one get a reference to that kmap object?