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: Stefan Monnier
Subject: Re: Weired side-effect of using the remap feature in keymaps
Date: Sun, 01 Apr 2007 14:57:11 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

> 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.


        Stefan




reply via email to

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