[Top][All Lists]

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

precedence of keymaps

From: Andreas Politz
Subject: precedence of keymaps
Date: Tue, 21 Oct 2008 18:32:48 +0200
User-agent: Mozilla-Thunderbird (X11/20080724)


some time ago I wrote a little global minor mode,
which defines a couple of keys for resizing, moving windows etc.
The idea is, that every key which is not bound in this mode
is bound to "exit-mode, restuff event".

The problem is that some modes shadow my modes map. Scanning
through the manual it seems that the precedence of keymaps
is determined by some mode list. My intuition tells me
that the last activated mode should always take precedence.

Do I have to always reorder said mode list or is there a better
way to ensure that some keymap is always on top, when it is
activated ?


reply via email to

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