home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 15 Sep 1992 14:15:47 EDT
- Date: Tue, 15 Sep 1992 11:11:37 PDT
- Message-ID: <9209151811.AA18718@thalidomide.lucid>
- X-Windows: It could happen to you.
- From: jwz@lucid.com (Jamie Zawinski)
- Sender: jwz%thalidomide@lucid.com
- Subject: Re: minor 19.3 problems
- References: <9209151748.AA23796@sunpix.East.Sun.COM>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 30
-
- In message <9209151748.AA23796@sunpix.East.Sun.COM> Tony E. Bennett wrote:
- >
- > + how do I assign a command to C-2 (control 2)
- > Every thing I've tried has either complained that C-2 is
- > not printable or screwed up another key defn (notably C-R !)
- >
- > (global-set-key '(control 2) 'set-mark-command)
- > (global-set-key "\C-2" 'set-mark-command)
-
- (global-set-key '(control \2) 'set-mark-command)
-
- because 2 is an integer, which define-key interprets as ?\002, which is not
- legal in this context. \2 is a symbol: (symbol-name '\2) ==> "2".
-
- > + How to color the mouse pointer?
- ..
- > Emacs*pointerColor: Red
-
- This works for me.
-
- > + How to set the screen name to the value of a variable?
- >
- > (setq my-screen-name "example")
- > (x-create-screen '((name . my-screen-name)))
- >
- > just complains that my-screen-name is not a string.
-
- It's not. (x-create-screen (list (cons 'name my-screen-name)))
-
- -- Jamie
-