Path: utzoo!mnetor!uunet!husc6!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uiucdcsb!liberte From: liberte@uiucdcsb.cs.uiuc.edu Newsgroups: comp.emacs Subject: Re: fixing a file Message-ID: <165400029@uiucdcsb> Date: 14 Jan 88 02:34:00 GMT References: <890@uop.edu> Lines: 14 Nf-ID: #R:uop.edu:890:uiucdcsb:165400029:000:537 Nf-From: uiucdcsb.cs.uiuc.edu!liberte Jan 13 20:34:00 1988 The trouble with replacing the self-insert-command is that it is a primitive function. As such, the new substitute function will be called by lisp functions, but the old primitive function will still be called by primitives since the address to the primitive itself is used, not the symbolic name. There are uses of the self_insert_command primitive in keyboard.c, but I think only to check whether the command being executed is self_insert_command. So we luck out in this case. Dan LaLiberte liberte@a.cs.uiuc.edu uiucdcs!liberte