|
From: | Lars Hansen |
Subject: | Re: keyboard-translate-table |
Date: | Mon, 28 Feb 2005 22:29:41 +0100 |
User-agent: | Debian Thunderbird 1.0 (X11/20050116) |
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 in Thread] | Current Thread | [Next in Thread] |