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#8350: 24.0.50; wrong bindings for remapped keys Date: Mon, 28 Mar 2011 10:22:28 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301323085 21195 80.91.229.12 (28 Mar 2011 14:38:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2011 14:38:05 +0000 (UTC) Cc: 8350@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 16:37:59 2011 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.69) (envelope-from ) id 1Q4DZo-0006be-N4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2011 16:37:53 +0200 Original-Received: from localhost ([127.0.0.1]:35235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4DZn-0001Rb-J9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2011 10:37:51 -0400 Original-Received: from [140.186.70.92] (port=52006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4DZD-000154-Db for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2011 10:37:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4DZB-0006mQ-8p for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2011 10:37:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4DZB-0006mM-6B for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2011 10:37:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4DLR-0005vz-RI; Mon, 28 Mar 2011 10:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2011 14:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8350-submit@debbugs.gnu.org id=B8350.130132216822784 (code B ref 8350); Mon, 28 Mar 2011 14:23:01 +0000 Original-Received: (at 8350) by debbugs.gnu.org; 28 Mar 2011 14:22:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4DLB-0005vQ-7c for submit@debbugs.gnu.org; Mon, 28 Mar 2011 10:22:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4DL8-0005v6-TR; Mon, 28 Mar 2011 10:22:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACSZkE1MCqRC/2dsb2JhbAClPniIa7lqhWkElgU X-IronPort-AV: E=Sophos;i="4.63,255,1299474000"; d="scan'208";a="98349394" Original-Received: from 76-10-164-66.dsl.teksavvy.com (HELO ceviche.home) ([76.10.164.66]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 28 Mar 2011 10:22:29 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A639C660F8; Mon, 28 Mar 2011 10:22:28 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun, 27 Mar 2011 14:51:52 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Mar 2011 10:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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:45423 Archived-At: forcemerge 6882 8350 thanks >> > (define-key ctl-x-map [remap forward-char] 'backward-char) >> > C-x C-h (says C-x f is bound to `forward-char') >> But ctl-x-map is never used as one of the active maps, it's always >> limited to being a prefix map bound to C-x, so the define-key >> above will have pretty much no effect. > It was a simplified example. And whether `ctl-x-map' is used as an > active map is irrelevant, Well, since the `remap' is in ctl-x-map it is of crucial importance. > I think, to the bugged behavior wrt `PREFIX-KEY C-h' described here. That problem is in bug#6881 and bug#8351 so I don't think it needs a third bug report. Stefan