From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 788@emacsbugs.donarmstrong.com
Subject: bug#788: menu indications of key bindings for remapped commands
Date: Sun, 15 Mar 2009 21:34:20 -0400 [thread overview]
Message-ID: <87skle6yjn.fsf@cyd.mit.edu> (raw)
In-Reply-To: <jwvfxhecmgi.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Sun, 15 Mar 2009 20:59:39 -0400")
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.
next prev parent reply other threads:[~2009-03-16 1:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-15 18:00 bug#788: menu indications of key bindings for remapped commands Chong Yidong
2009-03-15 19:33 ` Drew Adams
2009-03-16 1:16 ` Chong Yidong
2009-03-16 1:51 ` Drew Adams
2009-03-16 2:11 ` Chong Yidong
2009-03-16 3:20 ` Drew Adams
2009-03-16 0:59 ` Stefan Monnier
2009-03-16 1:34 ` Chong Yidong [this message]
2009-03-16 3:01 ` Stefan Monnier
2009-03-16 15:30 ` Chong Yidong
2009-03-16 19:27 ` Stefan Monnier
2010-01-22 18:17 ` Drew Adams
2010-01-25 2:53 ` Stefan Monnier
2010-01-25 5:05 ` Drew Adams
2010-01-25 5:22 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87skle6yjn.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=788@emacsbugs.donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).