From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: keyboard-translate-table Date: Mon, 28 Feb 2005 22:29:41 +0100 Message-ID: <42238D45.6010508@math.ku.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109626582 30085 80.91.229.2 (28 Feb 2005 21:36:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 21:36:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 22:36:22 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5sYK-00061m-Pc for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 22:35:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5sql-0003ij-ET for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 16:54:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5snk-0002oN-4D for emacs-devel@gnu.org; Mon, 28 Feb 2005 16:51:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5snf-0002mX-PL for emacs-devel@gnu.org; Mon, 28 Feb 2005 16:51:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5snf-0002ex-Ah for emacs-devel@gnu.org; Mon, 28 Feb 2005 16:51:35 -0500 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D5sSW-0004Ww-4C; Mon, 28 Feb 2005 16:29:44 -0500 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.73]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1D5tKy-000OS1-F7; Mon, 28 Feb 2005 22:26:00 +0000 User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33947 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33947 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.