home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / emacs / 2970 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.1 KB  |  46 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!udel!gvls1!gvls2!garyp
  3. From: garyp@gvls2.gvl.unisys.com (Gary Palangian)
  4. Subject: Key binding Meta-X
  5. Message-ID: <1992Aug27.201523.5984@gvl.unisys.com>
  6. Sender: news@gvl.unisys.com (IEE news user)
  7. Nntp-Posting-Host: gvls2
  8. Organization: Unisys Defense Systems, Great Valley Labs, Paoli, Pa
  9. Distribution: comp.emacs
  10. Date: Thu, 27 Aug 1992 20:15:23 GMT
  11. Lines: 33
  12.  
  13. Hey Now,
  14.  
  15.  
  16.     I am binding keys to emacs on Sun Sparcstations
  17. running OpenWindows.
  18. I am using xterms to run emacs because I can't
  19. figure out how to get the key codes from ShellTool.
  20.  
  21. Anyway, I would like to be able to press a
  22. single key and do a Meta-X.  I want to
  23. press the Keypad Enter key and have it do
  24. the same thing as ESC-x.  I have the
  25. following line of code in my .emacs file:
  26.  
  27. (define-key esc-map "OM" *)
  28.  
  29. where * indicates that I have no idea what
  30. to put here.
  31.  
  32. Can someone help?  I don't want to have to
  33. press two keys to get my command line prompt.
  34.  
  35.  
  36. Thanks in advance.
  37.  
  38. Gary P.
  39. garyp@rmtc.unisys.com
  40.  
  41. P.S. Earlier router problems have been fixed.
  42. Should be able to get through with e-mail.
  43.  
  44.  
  45.  
  46.