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


Message #14 received at 8350 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 8350 <at> debbugs.gnu.org
Subject: Re: bug#8350: 24.0.50; wrong bindings for remapped keys
Date: Mon, 28 Mar 2011 10:22:28 -0400
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




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.