[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancements to "minor-mode-map-alist" functionality.
From: |
Stefan Monnier |
Subject: |
Re: Enhancements to "minor-mode-map-alist" functionality. |
Date: |
Fri, 12 Apr 2002 14:46:34 -0400 |
> 2) A keymap may be nested with
>
> (keymap ... (keymap ...) ... (keymap ...) ...)
>
> The idea is that when we scan through a keymap (searching for a binding),
> if we encounter a nested keymap, we will [recursively] scan that
> keymap before continuing through the original keymap.
I like this idea so much that I have implemented it already, but
for the purpose of multiple inheritance and to get rid of the infamous
fix_submap_inheritance ugliness. It requires several non-trivial
changes, tho. And I haven't finished taking care of all the "problems"
it introduces (not all of them need to be addressed right away: for
example, it doesn't work for menus yet).
> So doing this would remove the need for the emulation-mode-map-alists
> (which you dislike :-) as well
>
> I can easily ensure that cua-mode-map stays at the beginning of
> minor-mode-map-alist [will be simple in a post-command hook, or maybe
> by adding it to minor-mode-overriding-map-alist :-) ]
I don't understand. In what way is it easier ?
It still seems like you need some kind of post-command-hook thingy.
Stefan
- Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/11
- Re: Enhancements to "minor-mode-map-alist" functionality., Stefan Monnier, 2002/04/11
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/12
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/12
- Re: Enhancements to "minor-mode-map-alist" functionality.,
Stefan Monnier <=
- Message not available
- Message not available
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/14
- Re: Enhancements to "minor-mode-map-alist" functionality., Richard Stallman, 2002/04/16
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/16
- Re: Enhancements to "minor-mode-map-alist" functionality., Richard Stallman, 2002/04/18
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/18
- Re: Enhancements to "minor-mode-map-alist" functionality., Stefan Monnier, 2002/04/19
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/19
- Re: Enhancements to "minor-mode-map-alist" functionality., Stefan Monnier, 2002/04/19
- Re: Enhancements to "minor-mode-map-alist" functionality., Kim F. Storm, 2002/04/21
- Re: Enhancements to "minor-mode-map-alist" functionality., Stefan Monnier, 2002/04/22