Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!gateway!CLARKU.BITNET!DHASKIN From: DHASKIN@CLARKU.BITNET Newsgroups: comp.emacs Subject: How to define VT2xx or VT3xx function keys in .emacs file? Message-ID: <36761@bbn.COM> Date: 3 Mar 89 21:07:00 GMT Sender: news@bbn.COM Organization: BBN news/mail gateway Lines: 19 Okay, I *know* this can be done, and I'm apparently missing something obvious. I would like Emacs to start up with the Do key define as M-x and Insert Here defined as yank. I have no problem doing it once I'm *in* Emacs, with either global-set-key or: (define-key esc-map "[26~" 'execute-extended-command) but when I put the above line in my .emacs file, I get an "Error in Init File" or some such thing when Emacs starts up. (BTW, I know that [26~ may not be *quite* the sequence, but y'know what I mean). Is this the right direction? Or does it involve the CSI-map? I feel sort of foolish, it should be easy. But then again, I do recall a discussion a few months ago about what one could and couldn't do in a .emacs file. Much thanks in advance - Denis (dhaskin@clarku.bitnet or denis@bambam.wellesley.edu)