all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: How does command remapping actually work?
Date: Thu, 29 Jul 2021 07:12:50 +0200	[thread overview]
Message-ID: <877dh9em99.fsf@mbork.pl> (raw)

Hi all,

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)

?

TIA,

--
Marcin Borkowski
http://mbork.pl



             reply	other threads:[~2021-07-29  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  5:12 Marcin Borkowski [this message]
2021-07-29  6:24 ` How does command remapping actually work? Eli Zaretskii
2021-07-30 16:17   ` Marcin Borkowski
2021-07-29 22:34 ` Michael Heerdegen
2021-07-30 16:17   ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dh9em99.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.