GNU bug report logs - #30660
mention describe-bindings on (info "(emacs) Keymaps")

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 28 Feb 2018 22:45:05 UTC

Severity: wishlist

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #116 received at 30660 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: larsi <at> gnus.org, 30660 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#30660: mention describe-bindings on (info "(emacs) Keymaps")
Date: Sat, 18 Jan 2020 11:41:41 +0200
> From: Stefan Kangas <stefan <at> marxist.se>
> Cc: larsi <at> gnus.org,  30660 <at> debbugs.gnu.org,  jidanni <at> jidanni.org
> Date: Sat, 18 Jan 2020 10:12:08 +0100
> 
> >> I'm not sure, what would be a reasonable default?  The keymap of the
> >> current major mode?
> >
> > I thought about the description in "Active Keymaps".
> 
> Do you mean to use the first active keymap?
> 
> I can see how that make sense, and would probably be intuitive when
> trying to figure out what keymap is active in different parts of a
> buffer (for example over a button).
> 
> If that's what you're thinking of, I wonder if there's any way to get
> the name of the highest precedent keymap among the active keymaps?
> 
> This was the first thing I tried, but it didn't work:
> 
>    (car (current-active-maps t (point)))

Does the pseudo-code at the beginning of "Searching Keymaps" give any
ideas?




This bug report was last modified 5 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.