unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8350: 24.0.50; wrong bindings for remapped keys
@ 2011-03-26 20:00 Drew Adams
  2011-03-27 21:19 ` Stefan Monnier
  2011-05-29 19:00 ` Chong Yidong
  0 siblings, 2 replies; 10+ messages in thread
From: Drew Adams @ 2011-03-26 20:00 UTC (permalink / raw)
  To: 8350

(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'
 






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-05-29 19:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 20:00 bug#8350: 24.0.50; wrong bindings for remapped keys Drew Adams
2011-03-27 21:19 ` 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

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).