From: "David Vanderschel" <DJV4@Austin.RR.com>
Subject: Re: Changing key bindings of printable chars
Date: Thu, 24 Jun 2004 23:46:16 GMT [thread overview]
Message-ID: <cJJCc.10363$w3.9070@fe2.texas.rr.com> (raw)
In-Reply-To: 2k0tudF160v27U1@uni-berlin.de
"Paul Batt" <paul@pbatt.ch> wrote in message
news:2k0tudF160v27U1@uni-berlin.de...
> How can I change the key binding of a single printable character key to
> another? I need to have "z" and "Z" print "y" and "Y" and vice versa
Check out keyboard-translate-table in the "Translating
Input" info node for elisp. The keyboard-translate
function is probably what you need. (I just made an
interesting mistake testing it: I did
(keyboard-translate ?z ?y) first, and I could not
easilz ( :) ) do (keyboard-translate ?y ?z) because I
could no longer enter a z! I solved the problem by
copying one from the buffer. Word to the wise:
Compose both functions calls before executing either.)
>and I need to have RET do a double-return e.g. two
>line feeds instead of only one. ...
I am not sure, but I think this probably requires use
of the function-key-map (same info node). You may be
confusing ^M and ^J.
Regards,
David V.
prev parent reply other threads:[~2004-06-24 23:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-24 21:04 Changing key bindings of printable chars Paul Batt
2004-06-24 23:34 ` Michael Slass
2004-06-25 0:55 ` John Paul Wallington
2004-06-25 18:22 ` Kevin Rodgers
2004-06-26 0:30 ` John Paul Wallington
2004-06-26 1:26 ` Pascal Bourguignon
2004-06-25 20:31 ` Paul Batt
2004-06-25 22:56 ` Michael Slass
2004-06-26 0:05 ` Paul Batt
2004-06-30 15:34 ` Kai Grossjohann
2004-06-24 23:46 ` David Vanderschel [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cJJCc.10363$w3.9070@fe2.texas.rr.com' \
--to=djv4@austin.rr.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).