[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weired side-effect of using the remap feature in keymaps
From: |
Chong Yidong |
Subject: |
Re: Weired side-effect of using the remap feature in keymaps |
Date: |
Sun, 01 Apr 2007 18:08:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> Stefan Monnier <address@hidden> writes:
>
>>> The trouble is that when where_is_internal checks whether the command
>>> you entered is remapped, it does so using Fcommand_remapping, which
>>> looks at all currently-active keymaps. The alternative is to scan
>>> through the provided keymaps manually.
>>
>>> The following patch should DTRT.
>>
>> I think a much better patch would be to extend command-remapping so it takes
>> an additional argument `keymaps'. I.e. the new code you suggest should be
>> kept within command-remapping rather than in where-is-internal.
>
> I agree.
>
> This failure to work properly with where-is-internal is an oversight on my
> part
> when I designed the command remapping feature.
OK, I implemented that (I've updated the docs too).