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.


_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to