Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!motcid!wallach From: wallach@motcid.UUCP (Cliff H. Wallach) Newsgroups: comp.emacs Subject: Help with redefining function key Message-ID: <4196@avocado5.UUCP> Date: 18 Jul 90 18:24:35 GMT Organization: Motorola Inc. - Cellular Infrastructure Div., Arlington Heights, IL 60004 Lines: 18 I am using GNU Emacs 18.55 on a Sun-3/80, SunOS 4.0.3. When I put the following lines in my .emacs file, I get an error message. setting debug-on-error doesn't help. ;; define the INS key to toggle insert/overwrite mode ;; where esc [ 2 4 7 z is generated by the INS key (global-set-key "\C-[[247z" 'overwrite-mode) This works when typed into the *scratch* buffer. It also works when I put this into a seperate file, and manually type "M-X load-file fkeys.elc". Cliff Wallach ...uunet!motcid!wallach