Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!RELAY.CDNNET.CA!kenw%noah.arc.cdn From: kenw%noah.arc.cdn@RELAY.CDNNET.CA (Ken Wallewein) Newsgroups: gnu.emacs.vms Subject: Can't use (enable-arrow-keys) in .emacs Message-ID: <5960*kenw@noah.arc.cdn> Date: 18 Jan 90 15:18:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 Whenever I try to use (enable-arrow-keys) in my .emacs file, I get error message "Error in init file" when emacs starts up. I've tried all sorts of different things, but no help. The only thing that works is to execute the command interactively. I notice that the code for that fuction incluced a line saying (interactive). Does that mean it is blocked from use in a .emacs file? This whole area is not exactly well documented, especially for relatively novice emacs user like myself. I also tried (edt-emulation-on); it seems to work, but doesn't exit properly. Emacs locks up, but entering a ^G straightens thing out and then everything works fine. To me, this is guru-level stuff. I'd sure appreciate some help. On the positive, I've been hacking KEPTEDITOR.COM. I've figured out how to keep it from doing a double-spawn when invoked as a sub-process of another program (like NEWS OR MAIL). Unfortunately, the method tends to leave orphan subprocesses lying around. I tried STOPing those, but strange things happen to keyboard handling, much like doing a SPAWN/NOWAIT with no arguments; you get two (or more) progesses alternately handling the same channel. Ah, challenges :-). I don't recall seeing this kind of thing discussed here before; if this is the wrong forum, no flames please. /kenw Ken Wallewein A L B E R T A kenw@noah.arc.cdn R E S E A R C H (403)297-2660 C O U N C I L