GNU bug report logs - #8351
24.0.50; wrong bindings for remappings in C-h for prefix keys

Previous Next

Package: emacs;

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

Date: Sat, 26 Mar 2011 21:07:02 UTC

Severity: normal

Merged with 6882, 8350

Found in version 24.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8351 in the body.
You can then email your comments to 8351 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8351; Package emacs. (Sat, 26 Mar 2011 21:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Mar 2011 21:07:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50; wrong bindings for remappings in C-h for prefix keys
Date: Sat, 26 Mar 2011 14:05:50 -0700
I have this in some of my code:
 
(defvar bmkp-jump-map nil "...")
(define-prefix-command 'bmkp-jump-map)
(define-key ctl-x-map   "j" bmkp-jump-map)
(define-key bmkp-jump-map  "tf%*" 'bmkp-file-all-tags-regexp-jump)
 
(define-key icicle-mode-map
            [remap bmkp-file-all-tags-regexp-jump]
            'icicle-bookmark-file-all-tags-regexp)
 
Then, in Icicle (minor) mode, `C-x j t f % *' invokes
`icicle-bookmark-file-all-tags-regexp', as intended.  And `C-h k' shows
the correct doc, citing `icicle-bookmark-file-all-tags-regexp'.
Similarly, `C-h w icicle-bookmark-file-all-tags-regexp' gives the right
output.  In all respects, the help commands work as expected.
 
However, still in Icicle mode, `C-x j C-h' shows the remapped command
instead of the remap target command:
 
 C-x j t f % *   bmkp-file-all-tags-regexp-jump
 
Likewise, for `C-x j t C-h', `C-x j t f C-h' etc., as well as for just
`C-x C-h'.  They all show the wrong thing.
 
Seems that using `C-h' does not work properly at all wrt remapped
commands.
 
 
 
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'
 





Forcibly Merged 6882 8351. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> debbugs.gnu.org. (Mon, 28 Mar 2011 14:15:02 GMT) Full text and rfc822 format available.

Forcibly Merged 6882 8350 8351. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> debbugs.gnu.org. (Mon, 28 Mar 2011 14:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 8350 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sun, 29 May 2011 19:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 27 Jun 2011 11:24:04 GMT) Full text and rfc822 format available.

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.