home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / emacs / 3527 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallagh
  2. From: kgallagh@digi.lonestar.org (Kevin Gallagher)
  3. Newsgroups: comp.emacs
  4. Subject: Re: demacs: ESC-Del binding?
  5. Message-ID: <1992Nov12.061207.7412@digi.lonestar.org>
  6. Date: 12 Nov 92 06:12:07 GMT
  7. References: <RFINCH.92Oct31154530@venice.water.ca.gov>
  8. Organization: DSC Communications Corp, Plano, TX
  9. Lines: 24
  10.  
  11. In article <RFINCH.92Oct31154530@venice.water.ca.gov> rfinch@water.ca.gov (Ralph Finch) writes:
  12. >Has anybody bound the keys ESC-Delete?  I'd like to bind it
  13. >to backward-kill-word, same as Unix.
  14.  
  15. It works straight out of the box, same as Unix.  I suspect your confusion
  16. arises from two PC keys: Del, on the keypad and Delete, amoung the extended
  17. keys.  Neither of these keys generates a DEL character.  So they are the wrong
  18. keys to press to invoke backward-kill-word.
  19.  
  20. Many people don't realize this, but the PC keyboard bios will generate a DEL
  21. character if you press the CTRL-BACKSPACE key combination.
  22.  
  23. In Demacs, it would be nicer if the BACKSPACE key generated a DEL character
  24. instead of C-h, since the DEL character is bound to delete-backward-char or
  25. some similar function in each major mode.  The bobcat.el file supplied with
  26. Demacs tells emacs to swap the characters generated by the two keys:
  27. BACKSPACE and CTRL-BACKSPACE.  If are using it, like most people, then you
  28. will find that ESC-BACKSPACE generates the ESC-DEL character sequence, thereby
  29. invoking backward-kill-word.
  30. -- 
  31. ----------------------------------------------------------------------------
  32. Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
  33. DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
  34. ----------------------------------------------------------------------------
  35.