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: Re: how to change C-x prefix to C-k in a clean way? Date: Sat, 7 Mar 2009 15:19:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <2ee748a7-49a3-4495-bc2d-2e663f8bcbbf@v15g2000yqn.googlegroups.com> References: <9f26e1db-d03a-47f8-a0ad-66d42d504df1@33g2000yqm.googlegroups.com> <87mybxnc0w.fsf@iki.fi> 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 1236502423 32072 80.91.229.12 (8 Mar 2009 08:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2009 08:53:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 08 09:54:59 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 1LgEmg-0004gY-PC for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Mar 2009 09:54:58 +0100 Original-Received: from localhost ([127.0.0.1]:52693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgElL-0003Rf-Ai for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Mar 2009 04:53:35 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!v15g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 21 Original-NNTP-Posting-Host: 24.6.175.142 Original-X-Trace: posting.google.com 1236467956 29685 127.0.0.1 (7 Mar 2009 23:19:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 7 Mar 2009 23:19:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v15g2000yqn.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:167450 comp.emacs:97944 X-Mailman-Approved-At: Sun, 08 Mar 2009 04:52:36 -0400 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:62752 Archived-At: On Mar 6, 9:21=C2=A0pm, Teemu Likonen wrote: > On 2009-03-06 19:27 (-0800), Xah Lee wrote: > > > is there a way to remap all the C-x key to another, say C-k? > > I think it's simply > > =C2=A0 =C2=A0 (global-set-key (kbd "C-k") ctl-x-map) > > See (info "(elisp) Prefix Keys") that doesn't seems to work though. I was excited for a moment, then it turns out not working. When you do C-h v, it still consider C-x a prefix even if you set it to nil... Xah =E2=88=91 http://xahlee.org/ =E2=98=84