From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: how to change C-x prefix to C-k in a clean way? Date: Fri, 6 Mar 2009 19:27:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <9f26e1db-d03a-47f8-a0ad-66d42d504df1@33g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236405934 6315 80.91.229.12 (7 Mar 2009 06:05:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 06:05:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 07:06:48 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LfpgO-0000zs-Do for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 07:06:48 +0100 Original-Received: from localhost ([127.0.0.1]:55367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfpf3-0006y8-3s for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 01:05:25 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!33g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 20 Original-NNTP-Posting-Host: 24.6.175.142 Original-X-Trace: posting.google.com 1236396475 18422 127.0.0.1 (7 Mar 2009 03:27:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 7 Mar 2009 03:27:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 33g2000yqm.googlegroups.com; posting-host=24.6.175.142; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167420 comp.emacs:97940 X-Mailman-Approved-At: Sat, 07 Mar 2009 00:54:55 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62722 Archived-At: is there a way to remap all the C-x key to another, say C-k? I've been using this (keyboard-translate ?\C-t ?\C-x) for over 2 years (on dvorak. Dvorak t is qwerty k.) However, that does not stop C-x from working, and any keypress of C-k, regardless if it is the start of combination, will be remapped to C-x. What i really want is to remap C-x prefix to C-k, as if they are defined that way. (so that i can map Cut (kill-region) to C-x and not have to load the complex cua-mode) besides modifying every elisp file, is it possible to do this as a wrapper? Perhaps by modifying the global-map entry of C-x? Xah =E2=88=91 http://xahlee.org/ =E2=98=84