home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / alt / lucidem / help / 436 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.5 KB  |  43 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 15 Sep 1992 14:15:47 EDT
  2. Date: Tue, 15 Sep 1992 11:11:37 PDT
  3. Message-ID: <9209151811.AA18718@thalidomide.lucid>
  4. X-Windows: It could happen to you.
  5. From: jwz@lucid.com (Jamie Zawinski)
  6. Sender: jwz%thalidomide@lucid.com
  7. Subject: Re: minor 19.3 problems
  8. References: <9209151748.AA23796@sunpix.East.Sun.COM>
  9. Newsgroups: alt.lucid-emacs.help
  10. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  11. Lines: 30
  12.  
  13. In message <9209151748.AA23796@sunpix.East.Sun.COM> Tony E. Bennett wrote:
  14. >
  15. >     +  how do I assign a command to C-2 (control 2)
  16. >         Every thing I've tried has either complained that C-2 is
  17. >         not printable or screwed up another key defn (notably C-R !)
  18. >             (global-set-key '(control 2) 'set-mark-command)
  19. >             (global-set-key "\C-2" 'set-mark-command)
  20.  
  21. (global-set-key '(control \2) 'set-mark-command)
  22.  
  23. because 2 is an integer, which define-key interprets as ?\002, which is not
  24. legal in this context.  \2 is a symbol: (symbol-name '\2) ==> "2".
  25.  
  26. >     +  How to color the mouse pointer?
  27. ..
  28. >             Emacs*pointerColor:                    Red
  29.  
  30. This works for me.
  31.  
  32. >     +  How to set the screen name to the value of a variable?
  33. >             (setq my-screen-name "example")
  34. >             (x-create-screen '((name . my-screen-name)))
  35. >     
  36. >         just complains that my-screen-name is not a string.
  37.  
  38. It's not.  (x-create-screen (list (cons 'name my-screen-name)))
  39.  
  40.     -- Jamie
  41.