[Top][All Lists]

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

Re: Emacs completion matches selection UI

From: Josh
Subject: Re: Emacs completion matches selection UI
Date: Tue, 7 Jan 2014 19:54:50 -0800

On Tue, Jan 7, 2014 at 11:42 AM, David Kastrup <address@hidden> wrote:
> Josh <address@hidden> writes:
>> On Tue, Jan 7, 2014 at 9:18 AM, João Távora <address@hidden> wrote:
>>> Are any functions available that return the keymap lookup sequence used
>>> normally ? I wish there was something like this, but it seems hidden
>>> behind functions like `key-binding'.
>> Related: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13948
> current-active-maps is a built-in function in `C source code'.
> (current-active-maps &optional OLP POSITION)
> Return a list of the currently active keymaps.
> OLP if non-nil indicates that we should obey `overriding-local-map' and
> `overriding-terminal-local-map'.  POSITION can specify a click position
> like in the respective argument of `key-binding'.

I can easily imagine current-active-maps playing a role in the
implementation of a solution to the bug I linked, but I hope we agree
that it is not a solution in itself.  From what I've seen, the confusion
and frustration of less experienced Emacsers in this area is most often
related to key binding precedence/shadowing, and this motivated my
suggested change to `describe-key' output[0].

[0] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13948#8

reply via email to

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