emacs-devel
[Top][All Lists]
Advanced

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

Re: mykie.el


From: Nicolas Richard
Subject: Re: mykie.el
Date: Mon, 06 Jan 2014 17:09:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> IIUC the need for "context dependent bindings" becomes more interesting
> when you want the different cases to be specified independently.

One could check the predicate while looking up the key sequence in
active keymaps. AIUI, currently, keymaps are checked and if the sequence
is bound to a command it is used, otherwise lookup continues. My
suggestion is to change the condition "is bound" to "is bound *and* some
predicate is non nil". [I must say that since this likely requires
changes to C code, I don't have even the beginning of a patch.]

-- 
Nico.




reply via email to

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