GNU bug report logs - #4393
23.1; doc string of accessible-keymaps

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 10 Sep 2009 23:40:16 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 4393 <at> debbugs.gnu.org, <bug-gnu-emacs <at> gnu.org>
Subject: bug#4393: 23.1; doc string of accessible-keymaps
Date: Thu, 10 Sep 2009 22:06:24 -0400
> (accessible-keymaps (current-global-map))
[...]
> Search for [f2] in the result sexp. You'll find this:
> ([f2] . t). That's one of the entries in the alist returned by
> `accessible-keymaps'.
> There are two other entries with cdr = t: ([24 11] . t) and
> ([24 54] . t). All the other entries have a keymap as cdr.
 
It turns out that these are prefixes bound to autoloaded keymaps that
haven't yet been loaded (and they also happen to be the same keymap).
`accessible-keymaps' does not autoload keymaps.  I guess it should
return ([f2] . 2C-command) and  ([24 54] . 2C-command).


        Stefan



This bug report was last modified 15 years and 315 days ago.

Previous Next


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