[slime-devel] cleanups related to setting up keymaps

Attila Lendvai attila.lendvai at gmail.com
Mon Nov 9 10:03:17 UTC 2009


dear list,

after the new xref patches, i had a clash with my copy-sexp key
bindings (M-C-, and friends on a kinesis keyboard). the resolution was
to set the binding in several slime keymaps.

but somehow my bindings got clobbered always here and there, so i
ended up cleaning up the code around how slime sets up its keymaps. or
rather, it's more like finishing a previously started cleanup as i see
it from the code.

the result is attached in separate patches and is also available at:
http://dwim.hu/darcsweb/darcsweb.cgi?r=HEAD%20hu.dwim.slime;a=summary.

main features are:
 - it's introducing an extra slime-editing-map keymap, and uses
set-keymap-parent to chain the bindings as needed.

 - uses [remap function-name] as key binding to mimic bindings even if
they are rebound (and drops the old mimic-key-bindings from fuzzy.el)

the patch description from our repo is available at the beginning of
each .diff file.

-- 
 attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-keymap-cleanup.contribs.diff
Type: text/x-patch
Size: 3466 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20091109/a23ff8d2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-keymap-cleanup.diff
Type: text/x-patch
Size: 6230 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20091109/a23ff8d2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-keymap-cleanup.fuzzy.diff
Type: text/x-patch
Size: 6147 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20091109/a23ff8d2/attachment-0002.bin>


More information about the slime-devel mailing list