GNU bug report logs - #8350
24.0.50; wrong bindings for remapped keys

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 26 Mar 2011 20:04:01 UTC

Severity: normal

Merged with 6882, 8351

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 8350 <at> debbugs.gnu.org
Subject: bug#8350: 24.0.50; wrong bindings for remapped keys
Date: Sun, 27 Mar 2011 17:19:22 -0400
> (define-key ctl-x-map [remap forward-char] 'backward-char)
[...] 
> (command-remapping 'forward-char nil (list ctl-x-map))
>   => backward-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.


        Stefan




This bug report was last modified 13 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.