home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / emacs / help / 5061 next >
Encoding:
Text File  |  1992-12-11  |  1.5 KB  |  37 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!decwrl!deccrl!news.crl.dec.com!pa.dec.com!ricks.enet.dec.com!d_ellis
  3. From: d_ellis@ricks.enet.dec.com (David Ellis  11-Dec-1992 1652)
  4. Message-ID: <9212112152.AA26409@enet-gw.pa.dec.com>
  5. Subject: Re: Binding functions on a PC
  6. Date: Fri, 11 Dec 92 13:52:15 PST
  7. X-Received: by usenet.pa.dec.com; id AA02260; Fri, 11 Dec 92 13:52:16 -0800
  8. X-Received: by enet-gw.pa.dec.com; id AA26409; Fri, 11 Dec 92 13:52:15 -0800
  9. X-Received: from ricks.enet; by decwrl.enet; Fri, 11 Dec 92 13:52:15 PST
  10. X-To: gnu.emacs.help.usenet
  11. X-Apparently-To: gnu.emacs.help.usenet
  12. Lines: 23
  13.  
  14. khamsi@ll.mit.edu (Sarir Khamsi) remarks that the F1 key on his terminal
  15. issues the character sequence "^[[11~",
  16.  
  17. > which emacs does not like to see in a "global-set-key" command.
  18.  
  19. The problem is that the character sequence "^[[" (ESC-[) is by default
  20. bound in GNU Emacs to a function (I think it's backward-paragraph).
  21.  
  22. In order to get GNU Emacs to recognize character sequences beginning with 
  23. ESC-[, you must unbind that function, e.g. by
  24.  
  25. (global-unset-key "\e[")
  26.  
  27. preferably early in your .emacs file.
  28.  
  29. This situation has been raised often enough that it should go into the
  30. GNU Emacs FAQ list.  I don't think it's there now.
  31.  
  32. ----
  33. David  J  Ellis
  34. Digital Equipment Corporation,          Semiconductor Engineering Group
  35. 77 Reed Road, Hudson MA 01749           Mailstop HLO2-3/D11         
  36. Internet: d_ellis@ricks.enet.dec.com    Phone: (508) 568-4393 
  37.