Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!asgard!dogmelb!david From: david@dogmelb.dog.oz.au (David Le Blanc) Newsgroups: comp.emacs Subject: Why doesn't define-key work? Keywords: define-key, vip mode Message-ID: <158@dogmelb.dog.oz.au> Date: 5 Feb 91 04:56:08 GMT Organization: CSIRO Division of Geomechanics Australia Lines: 22 I have just started using emacs, and wish to 'ease' the conversion by using the vi commands I know!. However, vip has a few major differences, and I have been trying to use the 'define-key' sequences given in the info. Such as '(define-key vip-major-mode-map " " 'vip-forward-char)' However, they all fall over and die, giving a 'Error in Init file' message when emacs starts up. (the define-.. commands are in the ~/.vip file) Note that I cannot use 'define-key' from 'M-x'. It says [No Match]!! Is it a command that is no longer available? or one only config files may use? An equivalent 'local-set-key SPC 'vip-forward-char' entered interactively works fine... If anyone has a solution, could you please help! Cheers. David. -- Email: david@dogmelb.dog@munnari.oz | Division of Geomechanics, TEL. (03) 881 1355 | CSIRO, P.O. Box 54 FAX (03) 881 2052 | Mt Waverley 3149, | AUSTRALIA.