From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: function-key-map
Date: Thu, 11 Oct 2007 01:19:54 -0400 [thread overview]
Message-ID: <E1IfqSg-0004xj-Hc@fencepost.gnu.org> (raw)
In-Reply-To: <jwvlkabxd4i.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 10 Oct 2007 10:31:30 -0400)
Yes, it's still very useful. See for example how term/xterm.el uses both.
Or term/x-win.el. I.e. it's useful to give optional remapping corresponding
to alternative key-names.
Can you put something in the Lisp manual explaining when it is right
to use `function-key-map'? Perhaps cite and explain this example.
I think it'd even be worthwhile to extend the functionality of
function-key-map in the following ways:
- make it possible to specify a "set of keys" to remap via e.g. a predicate.
- apply function-key-map repeatedly (i.e. apply it to its output).
The second one would be natural (though it might break something), but
I think there is no natural way to do the former. Maybe we should
move read-key-sequence into Lisp, but I don't want to try to program
it thru a keymap.
prev parent reply other threads:[~2007-10-11 5:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 13:00 function-key-map Richard Stallman
2007-10-10 14:31 ` function-key-map Stefan Monnier
2007-10-11 4:23 ` function-key-map T. V. Raman
2007-10-11 13:55 ` function-key-map Stefan Monnier
2007-10-12 1:17 ` function-key-map T. V. Raman
2007-10-12 2:46 ` function-key-map Richard Stallman
2007-10-12 15:19 ` function-key-map Stefan Monnier
2007-10-13 0:18 ` function-key-map Richard Stallman
2007-10-13 3:46 ` function-key-map Stefan Monnier
2007-10-13 14:14 ` function-key-map Richard Stallman
2007-10-14 18:58 ` function-key-map Stefan Monnier
2007-10-15 16:03 ` function-key-map Richard Stallman
2007-10-16 20:31 ` function-key-map Stefan Monnier
2007-10-11 5:19 ` Richard Stallman [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=E1IfqSg-0004xj-Hc@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.