Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!mind!mab From: mab@mind.UUCP (Marie Bienkowski) Newsgroups: comp.emacs Subject: Rebinding escape key in gnu Message-ID: <413@mind.UUCP> Date: Mon, 8-Dec-86 21:55:04 EST Article-I.D.: mind.413 Posted: Mon Dec 8 21:55:04 1986 Date-Received: Tue, 9-Dec-86 00:02:41 EST Organization: Cognitive Science, Princeton University Lines: 11 Keywords: gnuemacs vi-emulation Greetings. I am trying to write an emulator for vi in gnu-emacs (don't even ask!) At any rate, I've got everything I need *except* the functionality of the escape key. For some reason, I can't figure out how to rebind esc. I've tried the following: define-key in the command mode keymap, global-set-key, global-unset-key followed by global-set, and changing the function definition of "ESC-prefix" (I think that was all, who can remember?) None of these worked. (Oh yes, I also tried variously using "\e" vs. the 'real' escape char.) Suggestions would be appreciated. princeton!mind!mab (Marie Bienkowski)