Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!spice.cs.cmu.edu!bader From: bader@spice.cs.cmu.edu (Miles Bader) Newsgroups: comp.emacs Subject: Re: Hard-coded uses of key bindings Message-ID: <1099@spice.cs.cmu.edu> Date: Fri, 5-Dec-86 18:46:41 EST Article-I.D.: spice.1099 Posted: Fri Dec 5 18:46:41 1986 Date-Received: Fri, 5-Dec-86 22:48:26 EST References: <960.rbbb.titan@Rice> Organization: Carnegie-Mellon University, CS/RI Lines: 9 Hemlock, the emacs-type editor in spice lisp has a really wonderful idea-- logical keys. That way, the programs which use command-keys can specify :abort-command (not the actual name) instead of '^G' or :search-forward-command instead of '^S'. By simply changing the mapping for one of the logical keys, you can change *every* occurance of recursive-edit from ^R to something else. It seems like it would be simply enough to have variables containing the characters for such things and use them instead of constants, but some consistency would obviously have to be maintained, and it would mean changing a lot of existing code ...