From: "Drew Adams" <drew.adams@oracle.com>
To: 8350@debbugs.gnu.org
Subject: bug#8350: 24.0.50; wrong bindings for remapped keys
Date: Sat, 26 Mar 2011 13:00:58 -0700 [thread overview]
Message-ID: <A7924176F2834A45BFB258E379B4192C@us.oracle.com> (raw)
(define-key ctl-x-map "f" 'forward-char)
C-h w forward-char (says that it is bound to C-x f)
(define-key ctl-x-map [remap forward-char] 'backward-char)
C-h w forward-char (says that it is still bound to C-x f)
C-h w backward-char (says that it is bound to C-x <remap>
<forward-char>)
(command-remapping 'forward-char nil (list ctl-x-map))
=> backward-char
C-x f (moves forward, not backward a character;
`backward-char' is not invoked)
C-x C-h (says C-x f is bound to `forward-char')
Looking at (elisp) Remapping Commands I do not see how/why this should
be. Seems like this should just work (as the doc indicates).
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-03-21 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/imagesupport/include'
next reply other threads:[~2011-03-26 20:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 20:00 Drew Adams [this message]
2011-03-27 21:19 ` bug#8350: 24.0.50; wrong bindings for remapped keys Stefan Monnier
2011-03-27 21:51 ` Drew Adams
2011-03-28 14:22 ` Stefan Monnier
2011-03-28 15:04 ` Drew Adams
2011-03-28 17:43 ` Stefan Monnier
2011-03-29 4:16 ` Drew Adams
2011-03-29 13:58 ` Stefan Monnier
2011-03-29 14:18 ` Drew Adams
2011-05-29 19:00 ` Chong Yidong
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=A7924176F2834A45BFB258E379B4192C@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=8350@debbugs.gnu.org \
/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).