From: John Paul Wallington <jpw@gnu.org>
Subject: Re: Changing key bindings of printable chars
Date: Fri, 25 Jun 2004 01:55:47 +0100 [thread overview]
Message-ID: <87llicjw18.fsf@indigo.shootybangbang.com> (raw)
In-Reply-To: m3zn6s1qev.fsf@eric.rossnet.com
Michael Slass <miknrene@drizzle.com> writes:
> "Paul Batt" <paul@pbatt.ch> writes:
>
>>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 and I
[...]
> for Y,y,Z, and z ...
> (local-set-key "Y" (lambda () (interactive) (insert "Z")))
Commands needn't be functions -- they could be simple keyboard macros,
eg: (global-set-key "Y" "Z")
next prev parent reply other threads:[~2004-06-25 0:55 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 [this message]
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
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=87llicjw18.fsf@indigo.shootybangbang.com \
--to=jpw@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.
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).