GNU bug report logs -
#8351
24.0.50; wrong bindings for remappings in C-h for prefix keys
Previous Next
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.
Full log
Message #7 received at control <at> debbugs.gnu.org (full text, mbox):
forcemerge 6882 8351
thanks
>>>>> "Drew" == Drew Adams <drew.adams <at> oracle.com> writes:
> 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'
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.