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

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

Re: Weired side-effect of using the remap feature in keymaps


From: Kim F. Storm
Subject: Re: Weired side-effect of using the remap feature in keymaps
Date: Sun, 01 Apr 2007 22:29:18 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

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.

Please fix it.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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