[Top][All Lists]

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

Re: How does command remapping actually work?

From: Marcin Borkowski
Subject: Re: How does command remapping actually work?
Date: Fri, 30 Jul 2021 18:17:49 +0200
User-agent: mu4e 1.1.0; emacs 28.0.50

On 2021-07-29, at 08:24, Eli Zaretskii <> wrote:

>> From: Marcin Borkowski <>
>> Date: Thu, 29 Jul 2021 07:12:50 +0200
>> I experimented a bit with command remapping, and it's great - but how
>> does it actually work?  I mean, apparently it doesn't change the keymap,
>> and it's not stored in its symbol plist, so where is the remapping info
>> actually stored?  IOW, what is changed when I evaluate things like
>> (define-key my-mode-map [remap kill-line] 'my-kill-line)
> The 'remap' pseudo-key works via special handling in the low-level
> keymap code, see the source of where-is-internal in keymap.c (search
> for "Qremap").


Marcin Borkowski

reply via email to

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