bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#788: menu indications of key bindings for remapped commands


From: Chong Yidong
Subject: bug#788: menu indications of key bindings for remapped commands
Date: Sun, 15 Mar 2009 21:34:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Ideally, we would follow the remappings, but I think this could mess up
>> the menu cache (e.g., if the remapped-to command is rebound).
>
> What menu cache?  AFAIK the keybindings shown in menus are not cached
> any more.

I meant the where_is_cache, which currently stores such keybindings as
[remap foo].  In parse_menu_item, we call Fwhere_is_internal, which
consults the cache and gets this result.  The cache is consulted because
the `firstonly' argument for this call is `t', which causes
Fwhere_is_internal to consult the cache; if it's nil, Fwhere_is_internal
does not use the cache.






reply via email to

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