From: Lars Hansen <larsh@math.ku.dk>
Cc: emacs-devel@gnu.org
Subject: Re: keyboard-translate-table
Date: Mon, 28 Feb 2005 22:29:41 +0100 [thread overview]
Message-ID: <42238D45.6010508@math.ku.dk> (raw)
In-Reply-To: <E1D5CNC-0002Ea-PH@fencepost.gnu.org>
Richard Stallman wrote:
> Can anyone think of a non-obsolete use for keyboard-translate-table,
> to put in the example?
If you want C-x, C-c and C-v do cut, copy and paste without the IMHO
confusing overloading done by CUA-mode, you can simply do
(keyboard-translate ?\C-x 'control-x)
(keyboard-translate ?\C-c 'control-c)
(global-set-key [(control-x)] 'kill-region)
(global-set-key [(control-c)] 'kill-ring-save)
(global-set-key [(control v)] 'yank)
The standard Emacs C-x and C-c commands are still available, you just
have to type S-C-x and S-C-c.
prev parent reply other threads:[~2005-02-28 21:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-27 0:33 keyboard-translate-table Richard Stallman
2005-02-27 2:08 ` keyboard-translate-table Stefan Monnier
2005-02-27 20:41 ` keyboard-translate-table Richard Stallman
2005-03-01 14:31 ` keyboard-translate-table Evil Boris
2005-03-03 2:27 ` keyboard-translate-table Richard Stallman
2005-03-03 3:42 ` keyboard-translate-table Evil Boris
2005-02-28 21:29 ` Lars Hansen [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=42238D45.6010508@math.ku.dk \
--to=larsh@math.ku.dk \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).