Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!princeton!phoenix!sksircar From: sksircar@phoenix.Princeton.EDU (Subrata Kumar Sircar) Newsgroups: comp.emacs Subject: .emacs files... Message-ID: <11095@phoenix.Princeton.EDU> Date: 26 Oct 89 16:20:54 GMT References: <1989Oct25.162536.4854@cec1.wustl.edu> Reply-To: sksircar@phoenix.Princeton.EDU (Subrata Kumar Sircar) Organization: Princeton University, NJ Lines: 22 I am using GNU Emacs 18.50.2 on berkely-unix (Ultrix) and want to bind the function keys to new arguments. I came up with the following code, bound it into my .emacs file, and ran it... and nothing happened. (This is why I thought my .emacs file wasn't being read - thanks to all of you who replied to the previous posting.) Anyway, here is the code. I would appreciate it if someone could mail to me either the mistake I'm making, or some code that would do the right thing. Thank you. If anyone else wants to know, I'll summarize to the net. (put 'eval-expression 'disabled nil) (defvar fnkey-map (make-sparse-keymap) "Keymap for function keys") (define-key esc-map "[" fnkey-map) (define-key fnkey-map "11~" 'goto-line) ; F1 (define-key fnkey-map "12~" 'compile) ; F2 (define-key fnkey-map "13~" 'next-error); F3 Subrata K. Sircar, Prophet | Disclaimer: My Opinions, Of course, Charter Member of SPAMIT(tm) | reflect the will of this entire multiverse. sksircar@phoenix.princeton.edu| "Boy, your adolence and childhood expenses SKSIRCAR@PUCC.BITNET | are on the house!" "Imagine my relief."