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

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!fidji!news
  3. From: ruprecht@informatik.uni-freiburg.de (Nick Ruprecht)
  4. Subject: Re: Sun arrow keys with meta and control?
  5. Message-ID: <ruprecht.714899945@fidji>
  6. Sender: news@fidji.informatik.uni-freiburg.de
  7. Organization: Institut fuer Informatik der Universitaet Freiburg, Deutschland
  8. References: <GRIFFITH.92Aug25201534@harris.earley.sns.neuphilologie.uni-tuebingen> <1992Aug26.082622.6223@glas.rtsg.mot.com>
  9. Distribution: comp
  10. Date: Thu, 27 Aug 92 07:56:31 GMT
  11. Lines: 67
  12.  
  13. stephen@glas.rtsg.mot.com (Stephen Shortland) writes:
  14.  
  15. >In article <GRIFFITH.92Aug25201534@harris.earley.sns.neuphilologie.uni-tuebingen> griffith@harris.earley.sns.neuphilologie.uni-tuebingen (John Griffith) writes:
  16. [...]
  17. >>        What I would like to do but have been unable to figure out is
  18. >> how to bind meta-up-arrow to something different than plain up-arrow.
  19.  
  20. >However shift arrow produces a different set of key sequences -
  21.  
  22. Out-of-the-box emacs' X key handling is rather less than sophisticated.
  23. It hard-wires the KeySyms sent by the server to characters and escape
  24. sequences. You can control the KeySyms sent with the program "xmodmap".
  25. You can specify several KeySyms for each key, but, unfortunately, only
  26. the first and second entry is used (for non-shifted and shifted states).
  27. So, the shift key can cause a difference, but the other modifier keys
  28. cannot.
  29.  
  30. There are several patches around that provide better keybinding
  31. facilities for emacs. Unfortunately, they all have to patch C code, so
  32. you have to be able to recompile emacs. Never able to resist pushing my
  33. own patch, here is a list of archive sites that carry it:
  34.  
  35. ----- archie -s x-rebind-keysym -----
  36.  
  37. Host archive.cis.ohio-state.edu
  38.  
  39.     Location: /n/archive/0/extra-ftp/gnu/emacs/elisp-archive/patches
  40.            FILE -rw-rw-r--      14612  Jun 21 1991  x-rebind-keysym.patch.Z
  41.  
  42. Host freja.diku.dk
  43.  
  44.     Location: /elisp-archive/incoming
  45.            FILE -rw-r--r--      14757  Jun 28 1991  x-rebind-keysym.Z
  46.     Location: /elisp-archive/patches
  47.            FILE -rw-r--r--      14612  Jun 29 1991  x-rebind-keysym.patch.Z
  48.  
  49. Host gatekeeper.dec.com
  50.  
  51.     Location: /.1/GNU/elisp-archive/patches
  52.            FILE -r--r--r--      14612  Jan 12 18:57  x-rebind-keysym.patch.Z
  53.  
  54. Host puffin.doc.ic.ac.uk
  55.  
  56.     Location: /gnu/EmacsBits/elisp-archive/patches
  57.            FILE -r--r--r--      14612  Jun 21 1991  x-rebind-keysym.patch.Z
  58.  
  59. Host src.doc.ic.ac.uk
  60.  
  61.     Location: /gnu/EmacsBits/elisp-archive/patches
  62.            FILE -r--r--r--      14612  Jun 21 1991  x-rebind-keysym.patch.Z
  63.  
  64. Host unix.hensa.ac.uk
  65.  
  66.     Location: /pub/uunet/languages/elisp/patches
  67.            FILE -rw-r--r--      14612  Jun 21 1991  x-rebind-keysym.patch.Z
  68.  
  69. -----
  70.  
  71. The GNU Emacs FAQ, topic #130 gives more information on emacs key
  72. handling and key rebinding as well as another patch.
  73.  
  74. Hope this helps. Best regards -
  75.  
  76. --
  77.  
  78. Nick Ruprecht
  79. Institut fuer Informatik der Universitaet Freiburg
  80.