home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lucidem / help / 935 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!nigel.msen.com!ilium!rphroy!kocrsv01!c23mts
  2. From: c23mts@kocrsv01.delcoelect.com (Mike Scheidler)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: Way to bind C-RET?
  5. Message-ID: <1993Jan22.182213.2934@kocrsv01.delcoelect.com>
  6. Date: 22 Jan 93 18:22:13 GMT
  7. Sender: news@kocrsv01.delcoelect.com (Usenet News Account)
  8. Reply-To: c23mts@kocrsv01.delcoelect.com
  9. Organization: Delco Electronics Corp.
  10. Lines: 26
  11. Originator: c23mts@kocrsw12
  12.  
  13.  
  14. I'm having trouble binding a function to the C-RET (control return) key.
  15. I've tried several methods, such as
  16.  
  17.         (define-key global-map '(control RET) 'my-function)
  18.  
  19. and
  20.  
  21.         (global-set-key '(control RET) 'my-function)
  22.  
  23. and variations of these using \C-m in place of RET, but nothing works.
  24.  
  25. If I list the key bindings, it shows that C-RET is bound to my-function,
  26. just as I specified (several times, in fact!), but I get the message
  27.  
  28.         C-RET not defined.
  29.  
  30. whenever I attempt to use it.
  31.  
  32. Has anyone been able to do this?
  33.  
  34. -- 
  35. Mike Scheidler                    INTERNET:  c23mts@kocrsv01.delcoelect.com
  36. Software Technology               UUCP:      deaes!c23mts
  37. Delco Electronics Corporation     PHONE:     (317) 451-0642
  38. Kokomo, IN 46904                  GMNET:     8-322-0642
  39.