From: Drew Adams <drew.adams@oracle.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: RE: (define-key MAP [remap COMMAND] PREFIX-KEY-MAP)
Date: Fri, 27 Sep 2019 20:59:40 -0700 (PDT) [thread overview]
Message-ID: <17d91c42-b1b6-40b0-b9dc-2971dded4ef2@default> (raw)
In-Reply-To: <deecaf3e-b135-471b-b27f-d288ceed40e7@default>
Forgot to also add that `substitute-key-definition` doesn't have this problem/limitation.
(substitute-key-definition 'next-line 'my-map global-map)
If for some reason the behavior for remapping is unavoidable or is deemed TRT, the please at least fix the doc of `define-key', which suggests (says) that it should work also for remapping.
prev parent reply other threads:[~2019-09-28 3:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 21:20 (define-key MAP [remap COMMAND] PREFIX-KEY-MAP) Drew Adams
2019-09-27 21:25 ` Drew Adams
2019-09-28 3:59 ` Drew Adams [this message]
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=17d91c42-b1b6-40b0-b9dc-2971dded4ef2@default \
--to=drew.adams@oracle.com \
--cc=emacs-devel@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.