home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lucidem / help / 946 < prev    next >
Encoding:
Text File  |  1993-01-25  |  922 b   |  25 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Mon, 25 Jan 1993 19:40:28 EST
  2. From: piggy%hilbert.maths.utas.edu.au@lucid.com (La Monte Yarroll)
  3. Message-ID: <9301260039.AA00256@hilbert.maths.utas.edu.au>
  4. Subject: Rebinding X KeySyms?
  5. Date: Tue, 26 Jan 1993 11:39:02 EST
  6. X-Mailer: ELM [version 2.2 PL11]
  7. Newsgroups: alt.lucid-emacs.help
  8. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  9. Sender: help-lucid-emacs-request@lucid.com
  10. Lines: 13
  11.  
  12. I'd like to rebind the X KeySym KP_Enter to generate a newline instead
  13. of a carriage return.  What I want to do is:
  14.  
  15. (x-rebind-key "KP_Enter" "\n")
  16.  
  17. but in xfns.c x-rebind-key is #if'd out with this comment:
  18.  
  19. /* #### This stuff is obsolete; with the new event model,
  20.     regular keyboard macros work just as well as this.
  21.     */
  22.  
  23. However, I've been unable to figure out HOW to do this with "regular
  24. keyboard macros".  Is the above comment true?  Is this a bug?
  25.