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

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

bug#8351: 24.0.50; wrong bindings for remappings in C-h for prefix keys


From: Drew Adams
Subject: bug#8351: 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'
 






reply via email to

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