[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] undefine-key fails
From: |
Shawn Betts |
Subject: |
Re: [STUMP] undefine-key fails |
Date: |
Tue, 4 May 2010 10:50:25 -0700 |
2010/5/4 Zrajm C Akfohg <address@hidden>:
> I want to do undefine-key on most of the default keybindings, so that
> I can set up my own without totally cluttering the help keybindings
> shown with <prefix> ?. However this doesn't work.
>
> I note that I have "i" bound to the default "info", so i try to run
> (undefine-key *root-map* (kbd "i")) at the "Eval:" prompt, but
> subsequent <prefix> ? shows that the key has not been unbound.
The problem is the C-t i binding isn't in *root-map*, it's in
*group-root-map*. This has caused ongoing confusion for people but I'm
not exactly sure how to improve things or make them easier to use.
Have a look at bindings.lisp to see how things work. There are a
number of top level keymaps that get dynamically combined when a key
is pressed depending on the current group. This makes it rather tricky
to figure out where a binding is coming from.
-Shawn