Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!bbn!gateway!BBN.COM!jr From: jr@BBN.COM (John Robinson) Newsgroups: comp.emacs Subject: Re: Mapping ctl-x-map Message-ID: <18468.624227424@bbn.com> Date: 12 Oct 89 20:30:24 GMT References: <7632@bunny.GTE.COM> Sender: news@bbn.COM Reply-To: UNIX-EMACS@VM.TCS.Tulane.EDU Organization: BBN Systems and Technologies Corporation, Cambridge MA Lines: 19 Xav Gittler wrote: > Is there a way to make a different key work as a C-X? A terminal > emulation package I'm using seems to lose C-X. The following two lines will bind C-^ so that it behaves like C-X. The first is probably unnecessary, unless you used this by-default unused control-key for something. (global-unset-key "\C-^") (global-set-key "\C-^" ctl-x-map) Although global-set-key doesn't appear to allow keymaps as arguments, in fact it does as it simply calls (define-key) using global-map and its arguments, so the documentation of (define-key) tells the real story. /jr, nee John Robinson Life did not take over the globe by combat, jr@bbn.com or bbn!jr but by networking -- Lynn Margulis