[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happened to the key-menu patch?

From: Stefan Monnier
Subject: Re: What happened to the key-menu patch?
Date: Sat, 13 Jul 2002 13:37:34 -0400

>     > That's correct.  I believe that read-key-sequence using this map
>     > won't see them either.
>     Nope.  When looking up C-x, fix_submap_inheritance will end up doing
>     the equivalent of (set-keymap-parent .. (lookup-key "\C-x" global-map))
>     to the subkeymap built by the second `make-sparse-keymap).
> You are right--the bindings in the second submap will be seen, but
> they will be seen because they are included thus in the first submap.
> When the scan actually reaches the second submap, it should ignore that.

But fix_submap_inheritance might not have been run yet, so map_keymap
should run it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]