home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / lucidem / help / 698 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  43 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 17 Nov 1992 18:24:24 EST
  2. Date: Tue, 17 Nov 1992 15:23:07 PST
  3. Message-ID: <9211172323.AA01717@thalidomide.lucid>
  4. X-Windows: Let it get in YOUR way.
  5. From: jwz@lucid.com (Jamie Zawinski)
  6. Sender: jwz%thalidomide@lucid.com
  7. Subject: Re: scrollbars, delete, backspace
  8. References: <1992Nov17.222650.22439@ntmtv>
  9. Newsgroups: alt.lucid-emacs.help
  10. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  11. Lines: 30
  12.  
  13. In message <1992Nov17.222650.22439@ntmtv> Chuck Irvine wrote:
  14. >
  15. > 1) Simple question - is it possible to install mouseable scrollbars?
  16.  
  17. No.  See the NEWS file.
  18.  
  19. > 2) Being a creature of habit, I cannot keep myself from hitting the 
  20. >    backspace key when I want a backspace. I've tried inserting
  21. >    "(global-set-key 'BS 'delete-backward-char)" in my .emacs file but it
  22. >    doesn't seem to have any effect. 
  23.  
  24. That's because `BS' is not the name of a keysym.  The way to do what you're
  25. trying to do is 
  26.  
  27.     (global-set-key 'backspace 'delete-backward-char)
  28. or
  29.     (global-set-key "\b" 'delete-backward-char)
  30.  
  31. but then you'd also have to do 
  32.  
  33.     (define-key isearch-mode-map "\b" 'isearch-delete-char)
  34.  
  35. and possibly similar things in other maps.  So what you should really do
  36. is 
  37.     xmodmap -e 'keysym Backspace = Delete'
  38.  
  39. These sorts of global changes are easier to make at the X level than at
  40. the emacs level.
  41.  
  42.   -- Jamie
  43.