bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8350: 24.0.50; wrong bindings for remapped keys


From: Drew Adams
Subject: bug#8350: 24.0.50; wrong bindings for remapped keys
Date: Sat, 26 Mar 2011 13:00:58 -0700

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]