Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!rex!georgiou From: georgiou@rex.cs.tulane.edu (George Georgiou) Newsgroups: gnu.emacs Subject: (Re)defining numeric keypad keys Message-ID: <1755@rex.cs.tulane.edu> Date: 4 Jan 90 09:39:52 GMT Reply-To: georgiou@rex.cs.tulane.edu (George Georgiou) Distribution: na Organization: Computer Science Dept., Tulane Univ., New Orleans, LA Lines: 29 (GNU Emacs 18.55.3, berkeley-unix) I am trying to redefine some numeric keypad keys on a vt100 compatible terminal, but run into the following problem: The following line in .emacs doesn't seem change anything in any mode, that is to redefine the key "7" (on the numeric keypad) to run the function save-buffer. (OK, this is just an example to illustrate the point). (global-set-key "\M-Ow" 'save-buffer) When I run the command using M-x global-set-key, it works fine. But the following line in .emacs (define-key text-mode-map "\M-Ow" 'save-buffer) does the job for text-mode. Any suggestions ? Thanks, -- George Georgiou Computer Science Department Tulane University New Orleans, LA 70118 georgiou@rex.cs.tulane.edu