From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#788: menu indications of key bindings for remapped commands Date: Sun, 15 Mar 2009 23:01:32 -0400 Message-ID: References: <871vsy8y4m.fsf@cyd.mit.edu> <87skle6yjn.fsf@cyd.mit.edu> Reply-To: Stefan Monnier , 788@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237173842 28736 80.91.229.12 (16 Mar 2009 03:24:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 03:24:02 +0000 (UTC) Cc: 788@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 04:25:18 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lj3S0-0002zz-Vv for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2009 04:25:17 +0100 Original-Received: from localhost ([127.0.0.1]:40083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj3Qf-0004ER-4Q for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 23:23:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lj3Qb-0004EM-Nh for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 23:23:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lj3QX-0004E6-CA for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 23:23:49 -0400 Original-Received: from [199.232.76.173] (port=41291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj3QX-0004E3-5d for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 23:23:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48429) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lj3QW-0001eR-Eu for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 23:23:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2G3Ngd0031183; Sun, 15 Mar 2009 20:23:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2G3A59W027749; Sun, 15 Mar 2009 20:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 16 Mar 2009 03:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 788 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 788-submit@emacsbugs.donarmstrong.com id=B788.123717250125383 (code B ref 788); Mon, 16 Mar 2009 03:10:05 +0000 Original-Received: (at 788) by emacsbugs.donarmstrong.com; 16 Mar 2009 03:01:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2G31cg9025377 for <788@emacsbugs.donarmstrong.com>; Sun, 15 Mar 2009 20:01:39 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8FAAdevUlFxIZP/2dsb2JhbACBTs5hg38GhEk X-IronPort-AV: E=Sophos;i="4.38,370,1233550800"; d="scan'208";a="35240057" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO ceviche.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 15 Mar 2009 23:01:32 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 86DE6B4BAD; Sun, 15 Mar 2009 23:01:32 -0400 (EDT) In-Reply-To: <87skle6yjn.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 15 Mar 2009 21:34:20 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 15 Mar 2009 23:23:49 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26383 Archived-At: >>> 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]. I see, yes, this cache. But then I don't see what problem you're thining of. BTW, shouldn't this remap-handling be done in Fwhere_is_internal rather than in parse_menu_item? Stefan