From: Teemu Likonen <tlikonen@iki.fi>
To: Noah Lavine <noah549@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Key Mapping Proposal
Date: Sat, 16 Jan 2010 10:25:23 +0200 [thread overview]
Message-ID: <876372ihho.fsf@mithlond.arda> (raw)
In-Reply-To: <16d22e431001151603i5d2fab77u4f3054bb7e708323@mail.gmail.com> (Noah Lavine's message of "Fri, 15 Jan 2010 19:03:03 -0500")
On 2010-01-15 19:03 (-0500), Noah Lavine wrote:
> I'd like to suggest a change to the way modes bind keys, to make it
> easier for users to customize keys.
> My suggestion is this: have one location which stores the user's
> keybinding for the "forward" key, whatever "forward" means for a
> particular mode. Any given mode would then use this to bind their
> particular "forward" function to whatever key the user wanted. Do the
> same for other keys with conventional meaning, and then modify the
> major modes to use these in their keybindings.
I don't know how difficult and how much work this would be but as a user
I would like such feature very much. I faced a related problem with my
ergo-movement-mode [1] which, for example, uses
i
M- j k l
keys for basic cursor movements. The mode actually doesn't bind them
directly but relatively. That is, M-l is bound to
(lambda () (interactive)
(call-interactively
(key-binding "\C-f")))
so it executes whatever command is bound to C-f. This works in all major
modes automatically but the problem is that I can't rebind C-f to
anything. The default Emacs global keybindings are not practically
customizable.
---------------
1. http://www.emacswiki.org/emacs/ErgoMovementMode
next prev parent reply other threads:[~2010-01-16 8:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-16 0:03 Key Mapping Proposal Noah Lavine
2010-01-16 7:57 ` Fabian Ezequiel Gallina
2010-01-16 8:17 ` Stephen J. Turnbull
2010-01-16 18:41 ` Noah Lavine
2010-01-17 5:49 ` Stephen J. Turnbull
2010-01-16 8:25 ` Teemu Likonen [this message]
2010-01-16 14:22 ` Eric M. Ludlam
2010-01-16 19:28 ` Stefan Monnier
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=876372ihho.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--cc=emacs-devel@gnu.org \
--cc=noah549@gmail.com \
/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.