home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / lucidem / help / 152 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.4 KB

  1. Xref: sparky alt.lucid-emacs.help:152 alt.lucid-emacs.bug:62
  2. Newsgroups: alt.lucid-emacs.help,alt.lucid-emacs.bug
  3. Path: sparky!uunet!stanford.edu!EE.Stanford.EDU!sierra!mcgrant
  4. From: mcgrant@isl.stanford.edu (Michael C. Grant)
  5. Subject: Re: Change in point movement behavior
  6. In-Reply-To: mcgrant@isl.stanford.edu's message of 27 Jul 92 15:34:40
  7. Message-ID: <MCGRANT.92Jul27162250@isl.stanford.edu>
  8. Sender: usenet@EE.Stanford.EDU (Usenet)
  9. Organization: Information Systems Laboratory, Stanford University
  10. References: <MCGRANT.92Jul27153440@isl.stanford.edu>
  11. Date: 27 Jul 92 16:22:50
  12. Lines: 24
  13.  
  14.  
  15. OK, I received the following solution from a kind ( and speedy ) soul:
  16.  
  17. (global-set-key   'up        'previous-line)
  18. (global-set-key   'down      'next-line)
  19. (global-set-key   'left      'backward-char)
  20. (global-set-key   'right     'forward-char)
  21.  
  22. This works! BUT it raises a concern: without these definitions, the default
  23. x-win.el define-keys are
  24.  
  25. (define-key global-map 'left            "\C-b")
  26. (define-key global-map 'up              "\C-p")
  27. (define-key global-map 'right           "\C-f")
  28. (define-key global-map 'down            "\C-n")
  29.  
  30. which, in turn, should translate to backward-char, forward-char,
  31. previous-line, and next-line, should the not? After all, that is
  32. what I get if I do a describe-key help on C-b, C-p, etc.
  33.  
  34. So, I'm not sure why I have to do this, but as long as it works (and
  35. it does) it's OK for me!
  36.  
  37. Mike
  38.