Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!zip!spencer From: spencer@eecs.umich.edu (Spencer W. Thomas) Newsgroups: gnu.emacs Subject: Re: Anything You Can Do, I Can Do "Meta" Message-ID: Date: 13 Apr 89 16:15:54 GMT References: <49058@aero.ARPA> Sender: news@zippy.eecs.umich.edu Distribution: usa Organization: University of Michigan EECS Dept Lines: 18 In-reply-to: srt@aero.ARPA's message of 11 Apr 89 18:17:47 GMT In article <49058@aero.ARPA> srt@aero.ARPA (Scott "CBS" Turner) writes: > Is there any way in Gnu Emacs to switch the bindings of these two keys > so that hitting the single quote key becomes *exactly the same* as > hitting the (normal) ESC key and the ESC key becomes the single quote > key? Yes, see the documentation for the variable keyboard-translate-table: keyboard-translate-table's value is nil Documentation: String used as translate table for keyboard input, or nil. Each character is looked up in this string and the contents used instead. If string is of length N, character codes N and up are untranslated. -- =Spencer (spencer@eecs.umich.edu)