]> code.delx.au - gnu-emacs/blob - lisp/term/x-win.el
(vendor-specific-keysyms, x-last-selected-text-primary): Doc fixes.
[gnu-emacs] / lisp / term / x-win.el
1 ;;; x-win.el --- parse relevant switches and set up for X -*-coding: iso-2022-7bit;-*-
2
3 ;; Copyright (C) 1993, 1994, 2001, 2002 Free Software Foundation, Inc.
4
5 ;; Author: FSF
6 ;; Keywords: terminals, i18n
7
8 ;; This file is part of GNU Emacs.
9
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
14
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
24
25 ;;; Commentary:
26
27 ;; X-win.el: this file is loaded from ../lisp/startup.el when it recognizes
28 ;; that X windows are to be used. Command line switches are parsed and those
29 ;; pertaining to X are processed and removed from the command line. The
30 ;; X display is opened and hooks are set for popping up the initial window.
31
32 ;; startup.el will then examine startup files, and eventually call the hooks
33 ;; which create the first window(s).
34
35 ;;; Code:
36 \f
37 ;; These are the standard X switches from the Xt Initialize.c file of
38 ;; Release 4.
39
40 ;; Command line Resource Manager string
41
42 ;; +rv *reverseVideo
43 ;; +synchronous *synchronous
44 ;; -background *background
45 ;; -bd *borderColor
46 ;; -bg *background
47 ;; -bordercolor *borderColor
48 ;; -borderwidth .borderWidth
49 ;; -bw .borderWidth
50 ;; -display .display
51 ;; -fg *foreground
52 ;; -fn *font
53 ;; -font *font
54 ;; -foreground *foreground
55 ;; -geometry .geometry
56 ;; -i .iconType
57 ;; -itype .iconType
58 ;; -iconic .iconic
59 ;; -name .name
60 ;; -reverse *reverseVideo
61 ;; -rv *reverseVideo
62 ;; -selectionTimeout .selectionTimeout
63 ;; -synchronous *synchronous
64 ;; -xrm
65
66 ;; An alist of X options and the function which handles them. See
67 ;; ../startup.el.
68
69 (if (not (eq window-system 'x))
70 (error "%s: Loading x-win.el but not compiled for X" (invocation-name)))
71
72 (require 'frame)
73 (require 'mouse)
74 (require 'scroll-bar)
75 (require 'faces)
76 (require 'select)
77 (require 'menu-bar)
78 (require 'fontset)
79
80 (defvar x-invocation-args)
81
82 (defvar x-command-line-resources nil)
83
84 ;; Handler for switches of the form "-switch value" or "-switch".
85 (defun x-handle-switch (switch)
86 (let ((aelt (assoc switch command-line-x-option-alist)))
87 (if aelt
88 (let ((param (nth 3 aelt))
89 (value (nth 4 aelt)))
90 (if value
91 (setq default-frame-alist
92 (cons (cons param value)
93 default-frame-alist))
94 (setq default-frame-alist
95 (cons (cons param
96 (car x-invocation-args))
97 default-frame-alist)
98 x-invocation-args (cdr x-invocation-args)))))))
99
100 ;; Handler for switches of the form "-switch n"
101 (defun x-handle-numeric-switch (switch)
102 (let ((aelt (assoc switch command-line-x-option-alist)))
103 (if aelt
104 (let ((param (nth 3 aelt)))
105 (setq default-frame-alist
106 (cons (cons param
107 (string-to-int (car x-invocation-args)))
108 default-frame-alist)
109 x-invocation-args
110 (cdr x-invocation-args))))))
111
112 ;; Handle options that apply to initial frame only
113 (defun x-handle-initial-switch (switch)
114 (let ((aelt (assoc switch command-line-x-option-alist)))
115 (if aelt
116 (let ((param (nth 3 aelt))
117 (value (nth 4 aelt)))
118 (if value
119 (setq initial-frame-alist
120 (cons (cons param value)
121 initial-frame-alist))
122 (setq initial-frame-alist
123 (cons (cons param
124 (car x-invocation-args))
125 initial-frame-alist)
126 x-invocation-args (cdr x-invocation-args)))))))
127
128 ;; Make -iconic apply only to the initial frame!
129 (defun x-handle-iconic (switch)
130 (setq initial-frame-alist
131 (cons '(visibility . icon) initial-frame-alist)))
132
133 ;; Handle the -xrm option.
134 (defun x-handle-xrm-switch (switch)
135 (unless (consp x-invocation-args)
136 (error "%s: missing argument to `%s' option" (invocation-name) switch))
137 (setq x-command-line-resources
138 (if (null x-command-line-resources)
139 (car x-invocation-args)
140 (concat x-command-line-resources "\n" (car x-invocation-args))))
141 (setq x-invocation-args (cdr x-invocation-args)))
142
143 ;; Handle the geometry option
144 (defun x-handle-geometry (switch)
145 (let* ((geo (x-parse-geometry (car x-invocation-args)))
146 (left (assq 'left geo))
147 (top (assq 'top geo))
148 (height (assq 'height geo))
149 (width (assq 'width geo)))
150 (if (or height width)
151 (setq default-frame-alist
152 (append default-frame-alist
153 '((user-size . t))
154 (if height (list height))
155 (if width (list width)))
156 initial-frame-alist
157 (append initial-frame-alist
158 '((user-size . t))
159 (if height (list height))
160 (if width (list width)))))
161 (if (or left top)
162 (setq initial-frame-alist
163 (append initial-frame-alist
164 '((user-position . t))
165 (if left (list left))
166 (if top (list top)))))
167 (setq x-invocation-args (cdr x-invocation-args))))
168
169 ;; Handle the -name option. Set the variable x-resource-name
170 ;; to the option's operand; set the name of
171 ;; the initial frame, too.
172 (defun x-handle-name-switch (switch)
173 (or (consp x-invocation-args)
174 (error "%s: missing argument to `%s' option" (invocation-name) switch))
175 (setq x-resource-name (car x-invocation-args)
176 x-invocation-args (cdr x-invocation-args))
177 (setq initial-frame-alist (cons (cons 'name x-resource-name)
178 initial-frame-alist)))
179
180 (defvar x-display-name nil
181 "The X display name specifying server and X frame.")
182
183 (defun x-handle-display (switch)
184 (setq x-display-name (car x-invocation-args)
185 x-invocation-args (cdr x-invocation-args))
186 ;; Make subshell programs see the same DISPLAY value Emacs really uses.
187 ;; Note that this isn't completely correct, since Emacs can use
188 ;; multiple displays. However, there is no way to tell an already
189 ;; running subshell which display the user is currently typing on.
190 (setenv "DISPLAY" x-display-name))
191
192 (defun x-handle-args (args)
193 "Process the X-related command line options in ARGS.
194 This is done before the user's startup file is loaded. They are copied to
195 `x-invocation-args', from which the X-related things are extracted, first
196 the switch (e.g., \"-fg\") in the following code, and possible values
197 \(e.g., \"black\") in the option handler code (e.g., x-handle-switch).
198 This function returns ARGS minus the arguments that have been processed."
199 ;; We use ARGS to accumulate the args that we don't handle here, to return.
200 (setq x-invocation-args args
201 args nil)
202 (while (and x-invocation-args
203 (not (equal (car x-invocation-args) "--")))
204 (let* ((this-switch (car x-invocation-args))
205 (orig-this-switch this-switch)
206 completion argval aelt handler)
207 (setq x-invocation-args (cdr x-invocation-args))
208 ;; Check for long options with attached arguments
209 ;; and separate out the attached option argument into argval.
210 (if (string-match "^--[^=]*=" this-switch)
211 (setq argval (substring this-switch (match-end 0))
212 this-switch (substring this-switch 0 (1- (match-end 0)))))
213 ;; Complete names of long options.
214 (if (string-match "^--" this-switch)
215 (progn
216 (setq completion (try-completion this-switch command-line-x-option-alist))
217 (if (eq completion t)
218 ;; Exact match for long option.
219 nil
220 (if (stringp completion)
221 (let ((elt (assoc completion command-line-x-option-alist)))
222 ;; Check for abbreviated long option.
223 (or elt
224 (error "Option `%s' is ambiguous" this-switch))
225 (setq this-switch completion))))))
226 (setq aelt (assoc this-switch command-line-x-option-alist))
227 (if aelt (setq handler (nth 2 aelt)))
228 (if handler
229 (if argval
230 (let ((x-invocation-args
231 (cons argval x-invocation-args)))
232 (funcall handler this-switch))
233 (funcall handler this-switch))
234 (setq args (cons orig-this-switch args)))))
235 (nconc (nreverse args) x-invocation-args))
236
237 ;; Handle the --smid switch. This is used by the session manager
238 ;; to give us back our session id we had on the previous run.
239 (defun x-handle-smid (switch)
240 (or (consp x-invocation-args)
241 (error "%s: missing argument to `%s' option" (invocation-name) switch))
242 (setq x-session-previous-id (car x-invocation-args)
243 x-invocation-args (cdr x-invocation-args)))
244
245 (defvar emacs-save-session-functions nil
246 "Functions to run when a save-session event occurs.
247 The functions does not get any argument.
248 Functions can return non-nil to inform the session manager that the
249 window system shutdown should be aborted.
250
251 See also `emacs-session-save'.")
252
253 (defun emacs-session-filename (session-id)
254 "Construct a filename to save the session in based on SESSION-ID.
255 If the directory ~/.emacs.d exists, we make a filename in there, otherwise
256 a file in the home directory."
257 (let ((basename (concat "session." session-id))
258 (emacs-dir "~/.emacs.d/"))
259 (expand-file-name (if (file-directory-p emacs-dir)
260 (concat emacs-dir basename)
261 (concat "~/.emacs-" basename)))))
262
263 (defun emacs-session-save ()
264 "This function is called when the window system is shutting down.
265 If this function returns non-nil, the window system shutdown is cancelled.
266
267 When a session manager tells Emacs that the window system is shutting
268 down, this function is called. It calls the functions in the hook
269 `emacs-save-session-functions'. Functions are called with the current
270 buffer set to a temporary buffer. Functions should use `insert' to insert
271 lisp code to save the session state. The buffer is saved
272 in a file in the home directory of the user running Emacs. The file
273 is evaluated when Emacs is restarted by the session manager.
274
275 If any of the functions returns non-nil, no more functions are called
276 and this function returns non-nil. This will inform the session manager
277 that it should abort the window system shutdown."
278 (let ((filename (emacs-session-filename x-session-id))
279 (buf (get-buffer-create (concat " *SES " x-session-id))))
280 (when (file-exists-p filename)
281 (delete-file filename))
282 (with-current-buffer buf
283 (let ((cancel-shutdown (condition-case nil
284 ;; A return of t means cancel the shutdown.
285 (run-hook-with-args-until-success
286 'emacs-save-session-functions)
287 (error t))))
288 (unless cancel-shutdown
289 (write-file filename))
290 (kill-buffer buf)
291 cancel-shutdown))))
292
293 (defun emacs-session-restore (previous-session-id)
294 "Restore the Emacs session if started by a session manager.
295 The file saved by `emacs-session-save' is evaluated and deleted if it
296 exists."
297 (let ((filename (emacs-session-filename previous-session-id)))
298 (when (file-exists-p filename)
299 (load-file filename)
300 (delete-file filename)
301 (message "Restored session data"))))
302
303
304
305 \f
306 ;;
307 ;; Standard X cursor shapes, courtesy of Mr. Fox, who wanted ALL of them.
308 ;;
309
310 (defconst x-pointer-X-cursor 0)
311 (defconst x-pointer-arrow 2)
312 (defconst x-pointer-based-arrow-down 4)
313 (defconst x-pointer-based-arrow-up 6)
314 (defconst x-pointer-boat 8)
315 (defconst x-pointer-bogosity 10)
316 (defconst x-pointer-bottom-left-corner 12)
317 (defconst x-pointer-bottom-right-corner 14)
318 (defconst x-pointer-bottom-side 16)
319 (defconst x-pointer-bottom-tee 18)
320 (defconst x-pointer-box-spiral 20)
321 (defconst x-pointer-center-ptr 22)
322 (defconst x-pointer-circle 24)
323 (defconst x-pointer-clock 26)
324 (defconst x-pointer-coffee-mug 28)
325 (defconst x-pointer-cross 30)
326 (defconst x-pointer-cross-reverse 32)
327 (defconst x-pointer-crosshair 34)
328 (defconst x-pointer-diamond-cross 36)
329 (defconst x-pointer-dot 38)
330 (defconst x-pointer-dotbox 40)
331 (defconst x-pointer-double-arrow 42)
332 (defconst x-pointer-draft-large 44)
333 (defconst x-pointer-draft-small 46)
334 (defconst x-pointer-draped-box 48)
335 (defconst x-pointer-exchange 50)
336 (defconst x-pointer-fleur 52)
337 (defconst x-pointer-gobbler 54)
338 (defconst x-pointer-gumby 56)
339 (defconst x-pointer-hand1 58)
340 (defconst x-pointer-hand2 60)
341 (defconst x-pointer-heart 62)
342 (defconst x-pointer-icon 64)
343 (defconst x-pointer-iron-cross 66)
344 (defconst x-pointer-left-ptr 68)
345 (defconst x-pointer-left-side 70)
346 (defconst x-pointer-left-tee 72)
347 (defconst x-pointer-leftbutton 74)
348 (defconst x-pointer-ll-angle 76)
349 (defconst x-pointer-lr-angle 78)
350 (defconst x-pointer-man 80)
351 (defconst x-pointer-middlebutton 82)
352 (defconst x-pointer-mouse 84)
353 (defconst x-pointer-pencil 86)
354 (defconst x-pointer-pirate 88)
355 (defconst x-pointer-plus 90)
356 (defconst x-pointer-question-arrow 92)
357 (defconst x-pointer-right-ptr 94)
358 (defconst x-pointer-right-side 96)
359 (defconst x-pointer-right-tee 98)
360 (defconst x-pointer-rightbutton 100)
361 (defconst x-pointer-rtl-logo 102)
362 (defconst x-pointer-sailboat 104)
363 (defconst x-pointer-sb-down-arrow 106)
364 (defconst x-pointer-sb-h-double-arrow 108)
365 (defconst x-pointer-sb-left-arrow 110)
366 (defconst x-pointer-sb-right-arrow 112)
367 (defconst x-pointer-sb-up-arrow 114)
368 (defconst x-pointer-sb-v-double-arrow 116)
369 (defconst x-pointer-shuttle 118)
370 (defconst x-pointer-sizing 120)
371 (defconst x-pointer-spider 122)
372 (defconst x-pointer-spraycan 124)
373 (defconst x-pointer-star 126)
374 (defconst x-pointer-target 128)
375 (defconst x-pointer-tcross 130)
376 (defconst x-pointer-top-left-arrow 132)
377 (defconst x-pointer-top-left-corner 134)
378 (defconst x-pointer-top-right-corner 136)
379 (defconst x-pointer-top-side 138)
380 (defconst x-pointer-top-tee 140)
381 (defconst x-pointer-trek 142)
382 (defconst x-pointer-ul-angle 144)
383 (defconst x-pointer-umbrella 146)
384 (defconst x-pointer-ur-angle 148)
385 (defconst x-pointer-watch 150)
386 (defconst x-pointer-xterm 152)
387 \f
388 ;;
389 ;; Available colors
390 ;;
391
392 (defvar x-colors '("LightGreen"
393 "light green"
394 "DarkRed"
395 "dark red"
396 "DarkMagenta"
397 "dark magenta"
398 "DarkCyan"
399 "dark cyan"
400 "DarkBlue"
401 "dark blue"
402 "DarkGray"
403 "dark gray"
404 "DarkGrey"
405 "dark grey"
406 "grey100"
407 "gray100"
408 "grey99"
409 "gray99"
410 "grey98"
411 "gray98"
412 "grey97"
413 "gray97"
414 "grey96"
415 "gray96"
416 "grey95"
417 "gray95"
418 "grey94"
419 "gray94"
420 "grey93"
421 "gray93"
422 "grey92"
423 "gray92"
424 "grey91"
425 "gray91"
426 "grey90"
427 "gray90"
428 "grey89"
429 "gray89"
430 "grey88"
431 "gray88"
432 "grey87"
433 "gray87"
434 "grey86"
435 "gray86"
436 "grey85"
437 "gray85"
438 "grey84"
439 "gray84"
440 "grey83"
441 "gray83"
442 "grey82"
443 "gray82"
444 "grey81"
445 "gray81"
446 "grey80"
447 "gray80"
448 "grey79"
449 "gray79"
450 "grey78"
451 "gray78"
452 "grey77"
453 "gray77"
454 "grey76"
455 "gray76"
456 "grey75"
457 "gray75"
458 "grey74"
459 "gray74"
460 "grey73"
461 "gray73"
462 "grey72"
463 "gray72"
464 "grey71"
465 "gray71"
466 "grey70"
467 "gray70"
468 "grey69"
469 "gray69"
470 "grey68"
471 "gray68"
472 "grey67"
473 "gray67"
474 "grey66"
475 "gray66"
476 "grey65"
477 "gray65"
478 "grey64"
479 "gray64"
480 "grey63"
481 "gray63"
482 "grey62"
483 "gray62"
484 "grey61"
485 "gray61"
486 "grey60"
487 "gray60"
488 "grey59"
489 "gray59"
490 "grey58"
491 "gray58"
492 "grey57"
493 "gray57"
494 "grey56"
495 "gray56"
496 "grey55"
497 "gray55"
498 "grey54"
499 "gray54"
500 "grey53"
501 "gray53"
502 "grey52"
503 "gray52"
504 "grey51"
505 "gray51"
506 "grey50"
507 "gray50"
508 "grey49"
509 "gray49"
510 "grey48"
511 "gray48"
512 "grey47"
513 "gray47"
514 "grey46"
515 "gray46"
516 "grey45"
517 "gray45"
518 "grey44"
519 "gray44"
520 "grey43"
521 "gray43"
522 "grey42"
523 "gray42"
524 "grey41"
525 "gray41"
526 "grey40"
527 "gray40"
528 "grey39"
529 "gray39"
530 "grey38"
531 "gray38"
532 "grey37"
533 "gray37"
534 "grey36"
535 "gray36"
536 "grey35"
537 "gray35"
538 "grey34"
539 "gray34"
540 "grey33"
541 "gray33"
542 "grey32"
543 "gray32"
544 "grey31"
545 "gray31"
546 "grey30"
547 "gray30"
548 "grey29"
549 "gray29"
550 "grey28"
551 "gray28"
552 "grey27"
553 "gray27"
554 "grey26"
555 "gray26"
556 "grey25"
557 "gray25"
558 "grey24"
559 "gray24"
560 "grey23"
561 "gray23"
562 "grey22"
563 "gray22"
564 "grey21"
565 "gray21"
566 "grey20"
567 "gray20"
568 "grey19"
569 "gray19"
570 "grey18"
571 "gray18"
572 "grey17"
573 "gray17"
574 "grey16"
575 "gray16"
576 "grey15"
577 "gray15"
578 "grey14"
579 "gray14"
580 "grey13"
581 "gray13"
582 "grey12"
583 "gray12"
584 "grey11"
585 "gray11"
586 "grey10"
587 "gray10"
588 "grey9"
589 "gray9"
590 "grey8"
591 "gray8"
592 "grey7"
593 "gray7"
594 "grey6"
595 "gray6"
596 "grey5"
597 "gray5"
598 "grey4"
599 "gray4"
600 "grey3"
601 "gray3"
602 "grey2"
603 "gray2"
604 "grey1"
605 "gray1"
606 "grey0"
607 "gray0"
608 "thistle4"
609 "thistle3"
610 "thistle2"
611 "thistle1"
612 "MediumPurple4"
613 "MediumPurple3"
614 "MediumPurple2"
615 "MediumPurple1"
616 "purple4"
617 "purple3"
618 "purple2"
619 "purple1"
620 "DarkOrchid4"
621 "DarkOrchid3"
622 "DarkOrchid2"
623 "DarkOrchid1"
624 "MediumOrchid4"
625 "MediumOrchid3"
626 "MediumOrchid2"
627 "MediumOrchid1"
628 "plum4"
629 "plum3"
630 "plum2"
631 "plum1"
632 "orchid4"
633 "orchid3"
634 "orchid2"
635 "orchid1"
636 "magenta4"
637 "magenta3"
638 "magenta2"
639 "magenta1"
640 "VioletRed4"
641 "VioletRed3"
642 "VioletRed2"
643 "VioletRed1"
644 "maroon4"
645 "maroon3"
646 "maroon2"
647 "maroon1"
648 "PaleVioletRed4"
649 "PaleVioletRed3"
650 "PaleVioletRed2"
651 "PaleVioletRed1"
652 "LightPink4"
653 "LightPink3"
654 "LightPink2"
655 "LightPink1"
656 "pink4"
657 "pink3"
658 "pink2"
659 "pink1"
660 "HotPink4"
661 "HotPink3"
662 "HotPink2"
663 "HotPink1"
664 "DeepPink4"
665 "DeepPink3"
666 "DeepPink2"
667 "DeepPink1"
668 "red4"
669 "red3"
670 "red2"
671 "red1"
672 "OrangeRed4"
673 "OrangeRed3"
674 "OrangeRed2"
675 "OrangeRed1"
676 "tomato4"
677 "tomato3"
678 "tomato2"
679 "tomato1"
680 "coral4"
681 "coral3"
682 "coral2"
683 "coral1"
684 "DarkOrange4"
685 "DarkOrange3"
686 "DarkOrange2"
687 "DarkOrange1"
688 "orange4"
689 "orange3"
690 "orange2"
691 "orange1"
692 "LightSalmon4"
693 "LightSalmon3"
694 "LightSalmon2"
695 "LightSalmon1"
696 "salmon4"
697 "salmon3"
698 "salmon2"
699 "salmon1"
700 "brown4"
701 "brown3"
702 "brown2"
703 "brown1"
704 "firebrick4"
705 "firebrick3"
706 "firebrick2"
707 "firebrick1"
708 "chocolate4"
709 "chocolate3"
710 "chocolate2"
711 "chocolate1"
712 "tan4"
713 "tan3"
714 "tan2"
715 "tan1"
716 "wheat4"
717 "wheat3"
718 "wheat2"
719 "wheat1"
720 "burlywood4"
721 "burlywood3"
722 "burlywood2"
723 "burlywood1"
724 "sienna4"
725 "sienna3"
726 "sienna2"
727 "sienna1"
728 "IndianRed4"
729 "IndianRed3"
730 "IndianRed2"
731 "IndianRed1"
732 "RosyBrown4"
733 "RosyBrown3"
734 "RosyBrown2"
735 "RosyBrown1"
736 "DarkGoldenrod4"
737 "DarkGoldenrod3"
738 "DarkGoldenrod2"
739 "DarkGoldenrod1"
740 "goldenrod4"
741 "goldenrod3"
742 "goldenrod2"
743 "goldenrod1"
744 "gold4"
745 "gold3"
746 "gold2"
747 "gold1"
748 "yellow4"
749 "yellow3"
750 "yellow2"
751 "yellow1"
752 "LightYellow4"
753 "LightYellow3"
754 "LightYellow2"
755 "LightYellow1"
756 "LightGoldenrod4"
757 "LightGoldenrod3"
758 "LightGoldenrod2"
759 "LightGoldenrod1"
760 "khaki4"
761 "khaki3"
762 "khaki2"
763 "khaki1"
764 "DarkOliveGreen4"
765 "DarkOliveGreen3"
766 "DarkOliveGreen2"
767 "DarkOliveGreen1"
768 "OliveDrab4"
769 "OliveDrab3"
770 "OliveDrab2"
771 "OliveDrab1"
772 "chartreuse4"
773 "chartreuse3"
774 "chartreuse2"
775 "chartreuse1"
776 "green4"
777 "green3"
778 "green2"
779 "green1"
780 "SpringGreen4"
781 "SpringGreen3"
782 "SpringGreen2"
783 "SpringGreen1"
784 "PaleGreen4"
785 "PaleGreen3"
786 "PaleGreen2"
787 "PaleGreen1"
788 "SeaGreen4"
789 "SeaGreen3"
790 "SeaGreen2"
791 "SeaGreen1"
792 "DarkSeaGreen4"
793 "DarkSeaGreen3"
794 "DarkSeaGreen2"
795 "DarkSeaGreen1"
796 "aquamarine4"
797 "aquamarine3"
798 "aquamarine2"
799 "aquamarine1"
800 "DarkSlateGray4"
801 "DarkSlateGray3"
802 "DarkSlateGray2"
803 "DarkSlateGray1"
804 "cyan4"
805 "cyan3"
806 "cyan2"
807 "cyan1"
808 "turquoise4"
809 "turquoise3"
810 "turquoise2"
811 "turquoise1"
812 "CadetBlue4"
813 "CadetBlue3"
814 "CadetBlue2"
815 "CadetBlue1"
816 "PaleTurquoise4"
817 "PaleTurquoise3"
818 "PaleTurquoise2"
819 "PaleTurquoise1"
820 "LightCyan4"
821 "LightCyan3"
822 "LightCyan2"
823 "LightCyan1"
824 "LightBlue4"
825 "LightBlue3"
826 "LightBlue2"
827 "LightBlue1"
828 "LightSteelBlue4"
829 "LightSteelBlue3"
830 "LightSteelBlue2"
831 "LightSteelBlue1"
832 "SlateGray4"
833 "SlateGray3"
834 "SlateGray2"
835 "SlateGray1"
836 "LightSkyBlue4"
837 "LightSkyBlue3"
838 "LightSkyBlue2"
839 "LightSkyBlue1"
840 "SkyBlue4"
841 "SkyBlue3"
842 "SkyBlue2"
843 "SkyBlue1"
844 "DeepSkyBlue4"
845 "DeepSkyBlue3"
846 "DeepSkyBlue2"
847 "DeepSkyBlue1"
848 "SteelBlue4"
849 "SteelBlue3"
850 "SteelBlue2"
851 "SteelBlue1"
852 "DodgerBlue4"
853 "DodgerBlue3"
854 "DodgerBlue2"
855 "DodgerBlue1"
856 "blue4"
857 "blue3"
858 "blue2"
859 "blue1"
860 "RoyalBlue4"
861 "RoyalBlue3"
862 "RoyalBlue2"
863 "RoyalBlue1"
864 "SlateBlue4"
865 "SlateBlue3"
866 "SlateBlue2"
867 "SlateBlue1"
868 "azure4"
869 "azure3"
870 "azure2"
871 "azure1"
872 "MistyRose4"
873 "MistyRose3"
874 "MistyRose2"
875 "MistyRose1"
876 "LavenderBlush4"
877 "LavenderBlush3"
878 "LavenderBlush2"
879 "LavenderBlush1"
880 "honeydew4"
881 "honeydew3"
882 "honeydew2"
883 "honeydew1"
884 "ivory4"
885 "ivory3"
886 "ivory2"
887 "ivory1"
888 "cornsilk4"
889 "cornsilk3"
890 "cornsilk2"
891 "cornsilk1"
892 "LemonChiffon4"
893 "LemonChiffon3"
894 "LemonChiffon2"
895 "LemonChiffon1"
896 "NavajoWhite4"
897 "NavajoWhite3"
898 "NavajoWhite2"
899 "NavajoWhite1"
900 "PeachPuff4"
901 "PeachPuff3"
902 "PeachPuff2"
903 "PeachPuff1"
904 "bisque4"
905 "bisque3"
906 "bisque2"
907 "bisque1"
908 "AntiqueWhite4"
909 "AntiqueWhite3"
910 "AntiqueWhite2"
911 "AntiqueWhite1"
912 "seashell4"
913 "seashell3"
914 "seashell2"
915 "seashell1"
916 "snow4"
917 "snow3"
918 "snow2"
919 "snow1"
920 "thistle"
921 "MediumPurple"
922 "medium purple"
923 "purple"
924 "BlueViolet"
925 "blue violet"
926 "DarkViolet"
927 "dark violet"
928 "DarkOrchid"
929 "dark orchid"
930 "MediumOrchid"
931 "medium orchid"
932 "orchid"
933 "plum"
934 "violet"
935 "magenta"
936 "VioletRed"
937 "violet red"
938 "MediumVioletRed"
939 "medium violet red"
940 "maroon"
941 "PaleVioletRed"
942 "pale violet red"
943 "LightPink"
944 "light pink"
945 "pink"
946 "DeepPink"
947 "deep pink"
948 "HotPink"
949 "hot pink"
950 "red"
951 "OrangeRed"
952 "orange red"
953 "tomato"
954 "LightCoral"
955 "light coral"
956 "coral"
957 "DarkOrange"
958 "dark orange"
959 "orange"
960 "LightSalmon"
961 "light salmon"
962 "salmon"
963 "DarkSalmon"
964 "dark salmon"
965 "brown"
966 "firebrick"
967 "chocolate"
968 "tan"
969 "SandyBrown"
970 "sandy brown"
971 "wheat"
972 "beige"
973 "burlywood"
974 "peru"
975 "sienna"
976 "SaddleBrown"
977 "saddle brown"
978 "IndianRed"
979 "indian red"
980 "RosyBrown"
981 "rosy brown"
982 "DarkGoldenrod"
983 "dark goldenrod"
984 "goldenrod"
985 "LightGoldenrod"
986 "light goldenrod"
987 "gold"
988 "yellow"
989 "LightYellow"
990 "light yellow"
991 "LightGoldenrodYellow"
992 "light goldenrod yellow"
993 "PaleGoldenrod"
994 "pale goldenrod"
995 "khaki"
996 "DarkKhaki"
997 "dark khaki"
998 "OliveDrab"
999 "olive drab"
1000 "ForestGreen"
1001 "forest green"
1002 "YellowGreen"
1003 "yellow green"
1004 "LimeGreen"
1005 "lime green"
1006 "GreenYellow"
1007 "green yellow"
1008 "MediumSpringGreen"
1009 "medium spring green"
1010 "chartreuse"
1011 "green"
1012 "LawnGreen"
1013 "lawn green"
1014 "SpringGreen"
1015 "spring green"
1016 "PaleGreen"
1017 "pale green"
1018 "LightSeaGreen"
1019 "light sea green"
1020 "MediumSeaGreen"
1021 "medium sea green"
1022 "SeaGreen"
1023 "sea green"
1024 "DarkSeaGreen"
1025 "dark sea green"
1026 "DarkOliveGreen"
1027 "dark olive green"
1028 "DarkGreen"
1029 "dark green"
1030 "aquamarine"
1031 "MediumAquamarine"
1032 "medium aquamarine"
1033 "CadetBlue"
1034 "cadet blue"
1035 "LightCyan"
1036 "light cyan"
1037 "cyan"
1038 "turquoise"
1039 "MediumTurquoise"
1040 "medium turquoise"
1041 "DarkTurquoise"
1042 "dark turquoise"
1043 "PaleTurquoise"
1044 "pale turquoise"
1045 "PowderBlue"
1046 "powder blue"
1047 "LightBlue"
1048 "light blue"
1049 "LightSteelBlue"
1050 "light steel blue"
1051 "SteelBlue"
1052 "steel blue"
1053 "LightSkyBlue"
1054 "light sky blue"
1055 "SkyBlue"
1056 "sky blue"
1057 "DeepSkyBlue"
1058 "deep sky blue"
1059 "DodgerBlue"
1060 "dodger blue"
1061 "blue"
1062 "RoyalBlue"
1063 "royal blue"
1064 "MediumBlue"
1065 "medium blue"
1066 "LightSlateBlue"
1067 "light slate blue"
1068 "MediumSlateBlue"
1069 "medium slate blue"
1070 "SlateBlue"
1071 "slate blue"
1072 "DarkSlateBlue"
1073 "dark slate blue"
1074 "CornflowerBlue"
1075 "cornflower blue"
1076 "NavyBlue"
1077 "navy blue"
1078 "navy"
1079 "MidnightBlue"
1080 "midnight blue"
1081 "LightGray"
1082 "light gray"
1083 "LightGrey"
1084 "light grey"
1085 "grey"
1086 "gray"
1087 "LightSlateGrey"
1088 "light slate grey"
1089 "LightSlateGray"
1090 "light slate gray"
1091 "SlateGrey"
1092 "slate grey"
1093 "SlateGray"
1094 "slate gray"
1095 "DimGrey"
1096 "dim grey"
1097 "DimGray"
1098 "dim gray"
1099 "DarkSlateGrey"
1100 "dark slate grey"
1101 "DarkSlateGray"
1102 "dark slate gray"
1103 "black"
1104 "white"
1105 "MistyRose"
1106 "misty rose"
1107 "LavenderBlush"
1108 "lavender blush"
1109 "lavender"
1110 "AliceBlue"
1111 "alice blue"
1112 "azure"
1113 "MintCream"
1114 "mint cream"
1115 "honeydew"
1116 "seashell"
1117 "LemonChiffon"
1118 "lemon chiffon"
1119 "ivory"
1120 "cornsilk"
1121 "moccasin"
1122 "NavajoWhite"
1123 "navajo white"
1124 "PeachPuff"
1125 "peach puff"
1126 "bisque"
1127 "BlanchedAlmond"
1128 "blanched almond"
1129 "PapayaWhip"
1130 "papaya whip"
1131 "AntiqueWhite"
1132 "antique white"
1133 "linen"
1134 "OldLace"
1135 "old lace"
1136 "FloralWhite"
1137 "floral white"
1138 "gainsboro"
1139 "WhiteSmoke"
1140 "white smoke"
1141 "GhostWhite"
1142 "ghost white"
1143 "snow")
1144 "The list of X colors from the `rgb.txt' file.
1145 XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
1146
1147 (defun xw-defined-colors (&optional frame)
1148 "Internal function called by `defined-colors', which see."
1149 (or frame (setq frame (selected-frame)))
1150 (let ((all-colors x-colors)
1151 (this-color nil)
1152 (defined-colors nil))
1153 (while all-colors
1154 (setq this-color (car all-colors)
1155 all-colors (cdr all-colors))
1156 (and (color-supported-p this-color frame t)
1157 (setq defined-colors (cons this-color defined-colors))))
1158 defined-colors))
1159 \f
1160 ;;;; Function keys
1161
1162 (defun iconify-or-deiconify-frame ()
1163 "Iconify the selected frame, or deiconify if it's currently an icon."
1164 (interactive)
1165 (if (eq (cdr (assq 'visibility (frame-parameters))) t)
1166 (iconify-frame)
1167 (make-frame-visible)))
1168
1169 (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
1170 global-map)
1171
1172 ;; Map certain keypad keys into ASCII characters
1173 ;; that people usually expect.
1174 (define-key function-key-map [backspace] [127])
1175 (define-key function-key-map [delete] [127])
1176 (define-key function-key-map [tab] [?\t])
1177 (define-key function-key-map [linefeed] [?\n])
1178 (define-key function-key-map [clear] [?\C-l])
1179 (define-key function-key-map [return] [?\C-m])
1180 (define-key function-key-map [escape] [?\e])
1181 (define-key function-key-map [M-backspace] [?\M-\d])
1182 (define-key function-key-map [M-delete] [?\M-\d])
1183 (define-key function-key-map [M-tab] [?\M-\t])
1184 (define-key function-key-map [M-linefeed] [?\M-\n])
1185 (define-key function-key-map [M-clear] [?\M-\C-l])
1186 (define-key function-key-map [M-return] [?\M-\C-m])
1187 (define-key function-key-map [M-escape] [?\M-\e])
1188 (define-key function-key-map [iso-lefttab] [backtab])
1189 (define-key function-key-map [S-iso-lefttab] [backtab])
1190
1191 ;; These tell read-char how to convert
1192 ;; these special chars to ASCII.
1193 (put 'backspace 'ascii-character 127)
1194 (put 'delete 'ascii-character 127)
1195 (put 'tab 'ascii-character ?\t)
1196 (put 'linefeed 'ascii-character ?\n)
1197 (put 'clear 'ascii-character 12)
1198 (put 'return 'ascii-character 13)
1199 (put 'escape 'ascii-character ?\e)
1200
1201 \f
1202 ;;;; Keysyms
1203
1204 (defun vendor-specific-keysyms (vendor)
1205 "Return the appropriate value of `system-key-alist' for VENDOR.
1206 VENDOR is a string containing the name of the X Server's vendor,
1207 as returned by `x-server-vendor'."
1208 ;; Fixme: Drop Apollo now?
1209 (cond ((string-equal vendor "Apollo Computer Inc.")
1210 '((65280 . linedel)
1211 (65281 . chardel)
1212 (65282 . copy)
1213 (65283 . cut)
1214 (65284 . paste)
1215 (65285 . move)
1216 (65286 . grow)
1217 (65287 . cmd)
1218 (65288 . shell)
1219 (65289 . leftbar)
1220 (65290 . rightbar)
1221 (65291 . leftbox)
1222 (65292 . rightbox)
1223 (65293 . upbox)
1224 (65294 . downbox)
1225 (65295 . pop)
1226 (65296 . read)
1227 (65297 . edit)
1228 (65298 . save)
1229 (65299 . exit)
1230 (65300 . repeat)))
1231 ((or (string-equal vendor "Hewlett-Packard Incorporated")
1232 (string-equal vendor "Hewlett-Packard Company"))
1233 '(( 168 . mute-acute)
1234 ( 169 . mute-grave)
1235 ( 170 . mute-asciicircum)
1236 ( 171 . mute-diaeresis)
1237 ( 172 . mute-asciitilde)
1238 ( 175 . lira)
1239 ( 190 . guilder)
1240 ( 252 . block)
1241 ( 256 . longminus)
1242 (65388 . reset)
1243 (65389 . system)
1244 (65390 . user)
1245 (65391 . clearline)
1246 (65392 . insertline)
1247 (65393 . deleteline)
1248 (65394 . insertchar)
1249 (65395 . deletechar)
1250 (65396 . backtab)
1251 (65397 . kp-backtab)))
1252 ;; Fixme: What about non-X11/NeWS sun server?
1253 ((or (string-equal vendor "X11/NeWS - Sun Microsystems Inc.")
1254 (string-equal vendor "X Consortium"))
1255 '((392976 . f36)
1256 (392977 . f37)
1257 (393056 . req)
1258 ;; These are for Sun under X11R6
1259 (393072 . props)
1260 (393073 . front)
1261 (393074 . copy)
1262 (393075 . open)
1263 (393076 . paste)
1264 (393077 . cut)))
1265 (t
1266 ;; This is used by DEC's X server.
1267 '((65280 . remove)))))
1268
1269 (let ((i 160))
1270 (while (< i 256)
1271 (puthash i (make-char 'latin-iso8859-1 i) x-keysym-table)
1272 (setq i (1+ i))))
1273
1274 ;; Table from Kuhn's proposed additions to the `KEYSYM Encoding'
1275 ;; appendix to the X protocol definition.
1276 (dolist
1277 (pair
1278 '(
1279 ;; Latin-2
1280 (#x1a1 . ?\e,B!\e(B)
1281 (#x1a2 . ?\e,B"\e(B)
1282 (#x1a3 . ?\e,B#\e(B)
1283 (#x1a5 . ?\e,B%\e(B)
1284 (#x1a6 . ?\e,B&\e(B)
1285 (#x1a9 . ?\e,B)\e(B)
1286 (#x1aa . ?\e,B*\e(B)
1287 (#x1ab . ?\e,B+\e(B)
1288 (#x1ac . ?\e,B,\e(B)
1289 (#x1ae . ?\e,B.\e(B)
1290 (#x1af . ?\e,B/\e(B)
1291 (#x1b1 . ?\e,B1\e(B)
1292 (#x1b2 . ?\e,B2\e(B)
1293 (#x1b3 . ?\e,B3\e(B)
1294 (#x1b5 . ?\e,B5\e(B)
1295 (#x1b6 . ?\e,B6\e(B)
1296 (#x1b7 . ?\e,B7\e(B)
1297 (#x1b9 . ?\e,B9\e(B)
1298 (#x1ba . ?\e,B:\e(B)
1299 (#x1bb . ?\e,B;\e(B)
1300 (#x1bc . ?\e,B<\e(B)
1301 (#x1bd . ?\e,B=\e(B)
1302 (#x1be . ?\e,B>\e(B)
1303 (#x1bf . ?\e,B?\e(B)
1304 (#x1c0 . ?\e,B@\e(B)
1305 (#x1c3 . ?\e,BC\e(B)
1306 (#x1c5 . ?\e,BE\e(B)
1307 (#x1c6 . ?\e,BF\e(B)
1308 (#x1c8 . ?\e,BH\e(B)
1309 (#x1ca . ?\e,BJ\e(B)
1310 (#x1cc . ?\e,BL\e(B)
1311 (#x1cf . ?\e,BO\e(B)
1312 (#x1d0 . ?\e,BP\e(B)
1313 (#x1d1 . ?\e,BQ\e(B)
1314 (#x1d2 . ?\e,BR\e(B)
1315 (#x1d5 . ?\e,BU\e(B)
1316 (#x1d8 . ?\e,BX\e(B)
1317 (#x1d9 . ?\e,BY\e(B)
1318 (#x1db . ?\e,B[\e(B)
1319 (#x1de . ?\e,B^\e(B)
1320 (#x1e0 . ?\e,B`\e(B)
1321 (#x1e3 . ?\e,Bc\e(B)
1322 (#x1e5 . ?\e,Be\e(B)
1323 (#x1e6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#x3ac . ?\e,D,\e(B)
1368 (#x3b3 . ?\e,D3\e(B)
1369 (#x3b5 . ?\e,D5\e(B)
1370 (#x3b6 . ?\e,D6\e(B)
1371 (#x3ba . ?\e,D:\e(B)
1372 (#x3bb . ?\e,D;\e(B)
1373 (#x3bc . ?\e,D<\e(B)
1374 (#x3bd . ?\e,D=\e(B)
1375 (#x3bf . ?\e,D?\e(B)
1376 (#x3c0 . ?\e,D@\e(B)
1377 (#x3c7 . ?\e,DG\e(B)
1378 (#x3cc . ?\e,DL\e(B)
1379 (#x3cf . ?\e,DO\e(B)
1380 (#x3d1 . ?\e,DQ\e(B)
1381 (#x3d2 . ?\e,DR\e(B)
1382 (#x3d3 . ?\e,DS\e(B)
1383 (#x3d9 . ?\e,DY\e(B)
1384 (#x3dd . ?\e,D]\e(B)
1385 (#x3de . ?\e,D^\e(B)
1386 (#x3e0 . ?\e,D`\e(B)
1387 (#x3e7 . ?\e,Dg\e(B)
1388 (#x3ec . ?\e,Dl\e(B)
1389 (#x3ef . ?\e,Do\e(B)
1390 (#x3f1 . ?\e,Dq\e(B)
1391 (#x3f2 . ?\e,Dr\e(B)
1392 (#x3f3 . ?\e,Ds\e(B)
1393 (#x3f9 . ?\e,Dy\e(B)
1394 (#x3fd . ?\e,D}\e(B)
1395 (#x3fe . ?\e,D~\e(B)
1396 ;; Kana: Fixme: needs conversion to Japanese charset -- seems
1397 ;; to require jisx0213, for which the Unicode translation
1398 ;; isn't clear.
1399 (#x47e . ?\e$,1s>\e(B)
1400 (#x4a1 . ?\e$,2=B\e(B)
1401 (#x4a2 . ?\\e$,2=L\e(B)
1402 (#x4a3 . ?\\e$,2=M\e(B)
1403 (#x4a4 . ?\e$,2=A\e(B)
1404 (#x4a5 . ?\e$,2?{\e(B)
1405 (#x4a6 . ?\e$,2?r\e(B)
1406 (#x4a7 . ?\e$,2?!\e(B)
1407 (#x4a8 . ?\e$,2?#\e(B)
1408 (#x4a9 . ?\e$,2?%\e(B)
1409 (#x4aa . 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,2?a\e(B)
1450 (#x4d3 . ?\e$,2?b\e(B)
1451 (#x4d4 . ?\e$,2?d\e(B)
1452 (#x4d5 . ?\e$,2?f\e(B)
1453 (#x4d6 . ?\e$,2?h\e(B)
1454 (#x4d7 . ?\e$,2?i\e(B)
1455 (#x4d8 . ?\e$,2?j\e(B)
1456 (#x4d9 . ?\e$,2?k\e(B)
1457 (#x4da . ?\e$,2?l\e(B)
1458 (#x4db . ?\e$,2?m\e(B)
1459 (#x4dc . ?\e$,2?o\e(B)
1460 (#x4dd . ?\e$,2?s\e(B)
1461 (#x4de . ?\e$,2>{\e(B)
1462 (#x4df . ?\e$,2>|\e(B)
1463 ;; Arabic
1464 (#x5ac . ?\e,G,\e(B)
1465 (#x5bb . ?\e,G;\e(B)
1466 (#x5bf . ?\e,G?\e(B)
1467 (#x5c1 . ?\e,GA\e(B)
1468 (#x5c2 . ?\e,GB\e(B)
1469 (#x5c3 . ?\e,GC\e(B)
1470 (#x5c4 . ?\e,GD\e(B)
1471 (#x5c5 . ?\e,GE\e(B)
1472 (#x5c6 . ?\e,GF\e(B)
1473 (#x5c7 . ?\e,GG\e(B)
1474 (#x5c8 . ?\e,GH\e(B)
1475 (#x5c9 . ?\e,GI\e(B)
1476 (#x5ca . ?\e,GJ\e(B)
1477 (#x5cb . ?\e,GK\e(B)
1478 (#x5cc . ?\e,GL\e(B)
1479 (#x5cd . ?\e,GM\e(B)
1480 (#x5ce . ?\e,GN\e(B)
1481 (#x5cf . ?\e,GO\e(B)
1482 (#x5d0 . ?\e,GP\e(B)
1483 (#x5d1 . ?\e,GQ\e(B)
1484 (#x5d2 . ?\e,GR\e(B)
1485 (#x5d3 . ?\e,GS\e(B)
1486 (#x5d4 . ?\e,GT\e(B)
1487 (#x5d5 . ?\e,GU\e(B)
1488 (#x5d6 . ?\e,GV\e(B)
1489 (#x5d7 . ?\e,GW\e(B)
1490 (#x5d8 . ?\e,GX\e(B)
1491 (#x5d9 . ?\e,GY\e(B)
1492 (#x5da . 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B)
1578 (#x6e4 . ?\e,L4\e(B)
1579 (#x6e5 . ?\e,L5\e(B)
1580 (#x6e6 . ?\e,LD\e(B)
1581 (#x6e7 . ?\e,L3\e(B)
1582 (#x6e8 . ?\e,LE\e(B)
1583 (#x6e9 . ?\e,L8\e(B)
1584 (#x6ea . ?\e,L9\e(B)
1585 (#x6eb . ?\e,L:\e(B)
1586 (#x6ec . ?\e,L;\e(B)
1587 (#x6ed . ?\e,L<\e(B)
1588 (#x6ee . ?\e,L=\e(B)
1589 (#x6ef . ?\e,L>\e(B)
1590 (#x6f0 . ?\e,L?\e(B)
1591 (#x6f1 . ?\e,LO\e(B)
1592 (#x6f2 . ?\e,L@\e(B)
1593 (#x6f3 . ?\e,LA\e(B)
1594 (#x6f4 . ?\e,LB\e(B)
1595 (#x6f5 . ?\e,LC\e(B)
1596 (#x6f6 . ?\e,L6\e(B)
1597 (#x6f7 . ?\e,L2\e(B)
1598 (#x6f8 . ?\e,LL\e(B)
1599 (#x6f9 . ?\e,LK\e(B)
1600 (#x6fa . ?\e,L7\e(B)
1601 (#x6fb . ?\e,LH\e(B)
1602 (#x6fc . ?\e,LM\e(B)
1603 (#x6fd . ?\e,LI\e(B)
1604 (#x6fe . ?\e,LG\e(B)
1605 (#x6ff . ?\e,LJ\e(B)
1606 ;; Greek
1607 (#x7a1 . ?\e,F6\e(B)
1608 (#x7a2 . ?\e,F8\e(B)
1609 (#x7a3 . ?\e,F9\e(B)
1610 (#x7a4 . ?\e,F:\e(B)
1611 (#x7a5 . ?\e,FZ\e(B)
1612 (#x7a7 . ?\e,F<\e(B)
1613 (#x7a8 . ?\e,F>\e(B)
1614 (#x7a9 . ?\e,F[\e(B)
1615 (#x7ab . ?\e,F?\e(B)
1616 (#x7ae . ?\e,F5\e(B)
1617 (#x7af . ?\e,F/\e(B)
1618 (#x7b1 . ?\e,F\\e(B)
1619 (#x7b2 . ?\e,F]\e(B)
1620 (#x7b3 . ?\e,F^\e(B)
1621 (#x7b4 . ?\e,F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?\e$,1wT\e(B)
1706 (#x8ce . ?\e$,1wR\e(B)
1707 (#x8cf . ?\e$,1y!\e(B)
1708 (#x8d6 . ?\e$,1x:\e(B)
1709 (#x8da . ?\e$,1yB\e(B)
1710 (#x8db . ?\e$,1yC\e(B)
1711 (#x8dc . ?\e$,1xI\e(B)
1712 (#x8dd . ?\e$,1xJ\e(B)
1713 (#x8de . ?\e$,1xG\e(B)
1714 (#x8df . ?\e$,1xH\e(B)
1715 (#x8ef . ?\e$,1x"\e(B)
1716 (#x8f6 . ?\e$,1!R\e(B)
1717 (#x8fb . ?\e$,1vp\e(B)
1718 (#x8fc . ?\e$,1vq\e(B)
1719 (#x8fd . ?\e$,1vr\e(B)
1720 (#x8fe . ?\e$,1vs\e(B)
1721 ;; Special
1722 (#x9e0 . ?\e$,2"&\e(B)
1723 (#x9e1 . ?\e$,2!R\e(B)
1724 (#x9e2 . ?\e$,1}I\e(B)
1725 (#x9e3 . ?\e$,1}L\e(B)
1726 (#x9e4 . ?\e$,1}M\e(B)
1727 (#x9e5 . ?\e$,1}J\e(B)
1728 (#x9e8 . ?\e$,1}d\e(B)
1729 (#x9e9 . ?\e$,1}K\e(B)
1730 (#x9ea . ?\e$,2 8\e(B)
1731 (#x9eb . ?\e$,2 0\e(B)
1732 (#x9ec . ?\e$,2 ,\e(B)
1733 (#x9ed . ?\e$,2 4\e(B)
1734 (#x9ee . ?\e$,2 \\e(B)
1735 (#x9ef . ?\e$,1|Z\e(B)
1736 (#x9f0 . ?\e$,1|[\e(B)
1737 (#x9f1 . ?\e$,2 \e(B)
1738 (#x9f2 . ?\e$,1|\\e(B)
1739 (#x9f3 . ?\e$,1|]\e(B)
1740 (#x9f4 . ?\e$,2 <\e(B)
1741 (#x9f5 . ?\e$,2 D\e(B)
1742 (#x9f6 . ?\e$,2 T\e(B)
1743 (#x9f7 . ?\e$,2 L\e(B)
1744 (#x9f8 . ?\e$,2 "\e(B)
1745 ;; Publishing
1746 (#xaa1 . ?\e$,1rc\e(B)
1747 (#xaa2 . ?\e$,1rb\e(B)
1748 (#xaa3 . ?\e$,1rd\e(B)
1749 (#xaa4 . ?\e$,1re\e(B)
1750 (#xaa5 . ?\e$,1rg\e(B)
1751 (#xaa6 . ?\e$,1rh\e(B)
1752 (#xaa7 . ?\e$,1ri\e(B)
1753 (#xaa8 . ?\e$,1rj\e(B)
1754 (#xaa9 . ?\e$,1rt\e(B)
1755 (#xaaa . ?\e$,1rs\e(B)
1756 (#xaae . ?\e$,1s&\e(B)
1757 (#xaaf . ?\e$,1s%\e(B)
1758 (#xab0 . ?\e$,1v3\e(B)
1759 (#xab1 . ?\e$,1v4\e(B)
1760 (#xab2 . ?\e$,1v5\e(B)
1761 (#xab3 . ?\e$,1v6\e(B)
1762 (#xab4 . ?\e$,1v7\e(B)
1763 (#xab5 . ?\e$,1v8\e(B)
1764 (#xab6 . ?\e$,1v9\e(B)
1765 (#xab7 . ?\e$,1v:\e(B)
1766 (#xab8 . ?\e$,1uE\e(B)
1767 (#xabb . ?\e$,1rr\e(B)
1768 (#xabc . ?\e$,1{)\e(B)
1769 (#xabe . ?\e$,1{*\e(B)
1770 (#xac3 . ?\e$,1v;\e(B)
1771 (#xac4 . ?\e$,1v<\e(B)
1772 (#xac5 . ?\e$,1v=\e(B)
1773 (#xac6 . ?\e$,1v>\e(B)
1774 (#xac9 . ?\e$,1ub\e(B)
1775 (#xaca . ?\e$,2"s\e(B)
1776 (#xacc . ?\e$,2"!\e(B)
1777 (#xacd . ?\e$,2!w\e(B)
1778 (#xace . ?\e$,2"+\e(B)
1779 (#xacf . ?\e$,2!o\e(B)
1780 (#xad0 . ?\e$,1rx\e(B)
1781 (#xad1 . ?\e$,1ry\e(B)
1782 (#xad2 . ?\e$,1r|\e(B)
1783 (#xad3 . ?\e$,1r}\e(B)
1784 (#xad4 . ?\e$,1u^\e(B)
1785 (#xad6 . ?\e$,1s2\e(B)
1786 (#xad7 . ?\e$,1s3\e(B)
1787 (#xad9 . ?\e$,2%]\e(B)
1788 (#xadb . ?\e$,2!l\e(B)
1789 (#xadc . ?\e$,2" \e(B)
1790 (#xadd . ?\e$,2!v\e(B)
1791 (#xade . ?\e$,2"/\e(B)
1792 (#xadf . ?\e$,2!n\e(B)
1793 (#xae0 . ?\e$,2"F\e(B)
1794 (#xae1 . ?\e$,2!k\e(B)
1795 (#xae2 . ?\e$,2!m\e(B)
1796 (#xae3 . ?\e$,2!s\e(B)
1797 (#xae4 . ?\e$,2!}\e(B)
1798 (#xae5 . ?\e$,2"f\e(B)
1799 (#xae6 . ?\e$,1s"\e(B)
1800 (#xae7 . ?\e$,2!j\e(B)
1801 (#xae8 . ?\e$,2!r\e(B)
1802 (#xae9 . ?\e$,2!|\e(B)
1803 (#xaea . ?\e$,2"|\e(B)
1804 (#xaeb . ?\e$,2"~\e(B)
1805 (#xaec . ?\e$,2#c\e(B)
1806 (#xaed . ?\e$,2#f\e(B)
1807 (#xaee . ?\e$,2#e\e(B)
1808 (#xaf0 . ?\e$,2%`\e(B)
1809 (#xaf1 . ?\e$,1s \e(B)
1810 (#xaf2 . ?\e$,1s!\e(B)
1811 (#xaf3 . ?\e$,2%S\e(B)
1812 (#xaf4 . ?\e$,2%W\e(B)
1813 (#xaf5 . ?\e$,2#o\e(B)
1814 (#xaf6 . ?\e$,2#m\e(B)
1815 (#xaf7 . ?\e$,2#B\e(B)
1816 (#xaf8 . ?\e$,2#@\e(B)
1817 (#xaf9 . ?\e$,2"n\e(B)
1818 (#xafa . ?\e$,1zu\e(B)
1819 (#xafb . ?\e$,1uW\e(B)
1820 (#xafc . ?\e$,1s8\e(B)
1821 (#xafd . ?\e$,1rz\e(B)
1822 (#xafe . ?\e$,1r~\e(B)
1823 ;; APL
1824 (#xba3 . ?<)
1825 (#xba6 . ?>)
1826 (#xba8 . ?\e$,1xH\e(B)
1827 (#xba9 . ?\e$,1xG\e(B)
1828 (#xbc0 . ?\e,A/\e(B)
1829 (#xbc2 . ?\e$,1ye\e(B)
1830 (#xbc3 . ?\e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#xda2 . ?\e,T"\e(B)
1875 (#xda3 . ?\e,T#\e(B)
1876 (#xda4 . ?\e,T$\e(B)
1877 (#xda5 . ?\e,T%\e(B)
1878 (#xda6 . ?\e,T&\e(B)
1879 (#xda7 . ?\e,T'\e(B)
1880 (#xda8 . ?\e,T(\e(B)
1881 (#xda9 . ?\e,T)\e(B)
1882 (#xdaa . ?\e,T*\e(B)
1883 (#xdab . ?\e,T+\e(B)
1884 (#xdac . ?\e,T,\e(B)
1885 (#xdad . ?\e,T-\e(B)
1886 (#xdae . ?\e,T.\e(B)
1887 (#xdaf . ?\e,T/\e(B)
1888 (#xdb0 . ?\e,T0\e(B)
1889 (#xdb1 . ?\e,T1\e(B)
1890 (#xdb2 . ?\e,T2\e(B)
1891 (#xdb3 . ?\e,T3\e(B)
1892 (#xdb4 . ?\e,T4\e(B)
1893 (#xdb5 . ?\e,T5\e(B)
1894 (#xdb6 . ?\e,T6\e(B)
1895 (#xdb7 . ?\e,T7\e(B)
1896 (#xdb8 . ?\e,T8\e(B)
1897 (#xdb9 . ?\e,T9\e(B)
1898 (#xdba . ?\e,T:\e(B)
1899 (#xdbb . ?\e,T;\e(B)
1900 (#xdbc . ?\e,T<\e(B)
1901 (#xdbd . ?\e,T=\e(B)
1902 (#xdbe . ?\e,T>\e(B)
1903 (#xdbf . ?\e,T?\e(B)
1904 (#xdc0 . ?\e,T@\e(B)
1905 (#xdc1 . ?\e,TA\e(B)
1906 (#xdc2 . ?\e,TB\e(B)
1907 (#xdc3 . ?\e,TC\e(B)
1908 (#xdc4 . ?\e,TD\e(B)
1909 (#xdc5 . ?\e,TE\e(B)
1910 (#xdc6 . ?\e,TF\e(B)
1911 (#xdc7 . ?\e,TG\e(B)
1912 (#xdc8 . ?\e,TH\e(B)
1913 (#xdc9 . ?\e,TI\e(B)
1914 (#xdca . ?\e,TJ\e(B)
1915 (#xdcb . ?\e,TK\e(B)
1916 (#xdcc . ?\e,TL\e(B)
1917 (#xdcd . ?\e,TM\e(B)
1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ea5 . ?\e$(C$%\e(B)
1962 (#xea6 . ?\e$(C$&\e(B)
1963 (#xea7 . ?\e$(C$'\e(B)
1964 (#xea8 . ?\e$(C$(\e(B)
1965 (#xea9 . ?\e$(C$)\e(B)
1966 (#xeaa . ?\e$(C$*\e(B)
1967 (#xeab . ?\e$(C$+\e(B)
1968 (#xeac . ?\e$(C$,\e(B)
1969 (#xead . ?\e$(C$-\e(B)
1970 (#xeae . ?\e$(C$.\e(B)
1971 (#xeaf . ?\e$(C$/\e(B)
1972 (#xeb0 . ?\e$(C$0\e(B)
1973 (#xeb1 . ?\e$(C$1\e(B)
1974 (#xeb2 . ?\e$(C$2\e(B)
1975 (#xeb3 . ?\e$(C$3\e(B)
1976 (#xeb4 . ?\e$(C$4\e(B)
1977 (#xeb5 . ?\e$(C$5\e(B)
1978 (#xeb6 . ?\e$(C$6\e(B)
1979 (#xeb7 . ?\e$(C$7\e(B)
1980 (#xeb8 . ?\e$(C$8\e(B)
1981 (#xeb9 . ?\e$(C$9\e(B)
1982 (#xeba . ?\e$(C$:\e(B)
1983 (#xebb . ?\e$(C$;\e(B)
1984 (#xebc . ?\e$(C$<\e(B)
1985 (#xebd . ?\e$(C$=\e(B)
1986 (#xebe . ?\e$(C$>\e(B)
1987 (#xebf . ?\e$(C$?\e(B)
1988 (#xec0 . ?\e$(C$@\e(B)
1989 (#xec1 . ?\e$(C$A\e(B)
1990 (#xec2 . ?\e$(C$B\e(B)
1991 (#xec3 . ?\e$(C$C\e(B)
1992 (#xec4 . ?\e$(C$D\e(B)
1993 (#xec5 . ?\e$(C$E\e(B)
1994 (#xec6 . ?\e$(C$F\e(B)
1995 (#xec7 . ?\e$(C$G\e(B)
1996 (#xec8 . ?\e$(C$H\e(B)
1997 (#xec9 . ?\e$(C$I\e(B)
1998 (#xeca . ?\e$(C$J\e(B)
1999 (#xecb . ?\e$(C$K\e(B)
2000 (#xecc . ?\e$(C$L\e(B)
2001 (#xecd . ?\e$(C$M\e(B)
2002 (#xece . ?\e$(C$N\e(B)
2003 (#xecf . ?\e$(C$O\e(B)
2004 (#xed0 . ?\e$(C$P\e(B)
2005 (#xed1 . ?\e$(C$Q\e(B)
2006 (#xed2 . ?\e$(C$R\e(B)
2007 (#xed3 . ?\e$(C$S\e(B)
2008 (#xed4 . ?\e$,1LH\e(B)
2009 (#xed5 . ?\e$,1LI\e(B)
2010 (#xed6 . ?\e$,1LJ\e(B)
2011 (#xed7 . ?\e$,1LK\e(B)
2012 (#xed8 . ?\e$,1LL\e(B)
2013 (#xed9 . ?\e$,1LM\e(B)
2014 (#xeda . ?\e$,1LN\e(B)
2015 (#xedb . ?\e$,1LO\e(B)
2016 (#xedc . ?\e$,1LP\e(B)
2017 (#xedd . ?\e$,1LQ\e(B)
2018 (#xede . ?\e$,1LR\e(B)
2019 (#xedf . ?\e$,1LS\e(B)
2020 (#xee0 . ?\e$,1LT\e(B)
2021 (#xee1 . ?\e$,1LU\e(B)
2022 (#xee2 . ?\e$,1LV\e(B)
2023 (#xee3 . ?\e$,1LW\e(B)
2024 (#xee4 . ?\e$,1LX\e(B)
2025 (#xee5 . ?\e$,1LY\e(B)
2026 (#xee6 . ?\e$,1LZ\e(B)
2027 (#xee7 . ?\e$,1L[\e(B)
2028 (#xee8 . ?\e$,1L\\e(B)
2029 (#xee9 . ?\e$,1L]\e(B)
2030 (#xeea . ?\e$,1L^\e(B)
2031 (#xeeb . ?\e$,1L_\e(B)
2032 (#xeec . ?\e$,1L`\e(B)
2033 (#xeed . ?\e$,1La\e(B)
2034 (#xeee . ?\e$,1Lb\e(B)
2035 (#xeef . ?\e$(C$]\e(B)
2036 (#xef0 . ?\e$(C$a\e(B)
2037 (#xef1 . ?\e$(C$h\e(B)
2038 (#xef2 . ?\e$(C$o\e(B)
2039 (#xef3 . ?\e$(C$q\e(B)
2040 (#xef4 . ?\e$(C$t\e(B)
2041 (#xef5 . ?\e$(C$v\e(B)
2042 (#xef6 . ?\e$(C$}\e(B)
2043 (#xef7 . ?\e$(C$~\e(B)
2044 (#xef8 . ?\e$,1M+\e(B)
2045 (#xef9 . ?\e$,1M0\e(B)
2046 (#xefa . ?\e$,1M9\e(B)
2047 (#xeff . ?\e$,1tI\e(B)
2048 ;; Latin-5
2049 ;; Latin-6
2050 ;; Latin-7
2051 ;; Latin-8
2052 ;; Latin-9
2053 (#x13bc . ?\e,b<\e(B)
2054 (#x13bd . ?\e,b=\e(B)
2055 (#x13be . ?\e,b>\e(B)
2056 ;; Currency
2057 (#x20a0 . ?\e$,1t@\e(B)
2058 (#x20a1 . ?\e$,1tA\e(B)
2059 (#x20a2 . ?\e$,1tB\e(B)
2060 (#x20a3 . ?\e$,1tC\e(B)
2061 (#x20a4 . ?\e$,1tD\e(B)
2062 (#x20a5 . ?\e$,1tE\e(B)
2063 (#x20a6 . ?\e$,1tF\e(B)
2064 (#x20a7 . ?\e$,1tG\e(B)
2065 (#x20a8 . ?\e$,1tH\e(B)
2066 (#x20aa . ?\e$,1tJ\e(B)
2067 (#x20ab . ?\e$,1tK\e(B)
2068 (#x20ac . ?\e,b$\e(B)))
2069 (puthash (car pair) (cdr pair) x-keysym-table))
2070
2071 ;; The following keysym codes for graphics are listed in the document
2072 ;; as not having unicodes available:
2073
2074 ;; #x08b1 TOP LEFT SUMMATION Technical
2075 ;; #x08b2 BOTTOM LEFT SUMMATION Technical
2076 ;; #x08b3 TOP VERTICAL SUMMATION CONNECTOR Technical
2077 ;; #x08b4 BOTTOM VERTICAL SUMMATION CONNECTOR Technical
2078 ;; #x08b5 TOP RIGHT SUMMATION Technical
2079 ;; #x08b6 BOTTOM RIGHT SUMMATION Technical
2080 ;; #x08b7 RIGHT MIDDLE SUMMATION Technical
2081 ;; #x0aac SIGNIFICANT BLANK SYMBOL Publish
2082 ;; #x0abd DECIMAL POINT Publish
2083 ;; #x0abf MARKER Publish
2084 ;; #x0acb TRADEMARK SIGN IN CIRCLE Publish
2085 ;; #x0ada HEXAGRAM Publish
2086 ;; #x0aff CURSOR Publish
2087 ;; #x0dde THAI MAIHANAKAT Thai
2088
2089 \f
2090 ;;;; Selections and cut buffers
2091
2092 ;;; We keep track of the last text selected here, so we can check the
2093 ;;; current selection against it, and avoid passing back our own text
2094 ;;; from x-cut-buffer-or-selection-value. We track all three
2095 ;;; seperately in case another X application only sets one of them
2096 ;;; (say the cut buffer) we aren't fooled by the PRIMARY or
2097 ;;; CLIPBOARD selection staying the same.
2098 (defvar x-last-selected-text-clipboard nil
2099 "The value of the CLIPBOARD X selection last time we selected or
2100 pasted text.")
2101 (defvar x-last-selected-text-primary nil
2102 "The value of the PRIMARY X selection last time we selected or
2103 pasted text.")
2104 (defvar x-last-selected-text-cut nil
2105 "The value of the X cut buffer last time we selected or pasted text.")
2106
2107 ;;; It is said that overlarge strings are slow to put into the cut buffer.
2108 ;;; Note this value is overridden below.
2109 (defvar x-cut-buffer-max 20000
2110 "Max number of characters to put in the cut buffer.")
2111
2112 (defcustom x-select-enable-clipboard nil
2113 "Non-nil means cutting and pasting uses the clipboard.
2114 This is in addition to, but in preference to, the primary selection."
2115 :type 'boolean
2116 :group 'killing)
2117
2118 ;;; Make TEXT, a string, the primary X selection.
2119 ;;; Also, set the value of X cut buffer 0, for backward compatibility
2120 ;;; with older X applications.
2121 ;;; gildea@stop.mail-abuse.org says it's not desirable to put kills
2122 ;;; in the clipboard.
2123 (defun x-select-text (text &optional push)
2124 ;; Don't send the cut buffer too much text.
2125 ;; It becomes slow, and if really big it causes errors.
2126 (cond ((>= (length text) x-cut-buffer-max)
2127 (x-set-cut-buffer "" push)
2128 (setq x-last-selected-text-cut ""))
2129 (t
2130 (x-set-cut-buffer text push)
2131 (setq x-last-selected-text-cut text)))
2132 (x-set-selection 'PRIMARY text)
2133 (setq x-last-selected-text-primary text)
2134 (when x-select-enable-clipboard
2135 (x-set-selection 'CLIPBOARD text)
2136 (setq x-last-selected-text-clipboard text))
2137 )
2138
2139 ;;; Return the value of the current X selection.
2140 ;;; Consult the selection, and the cut buffer. Treat empty strings
2141 ;;; as if they were unset.
2142 ;;; If this function is called twice and finds the same text,
2143 ;;; it returns nil the second time. This is so that a single
2144 ;;; selection won't be added to the kill ring over and over.
2145 (defun x-cut-buffer-or-selection-value ()
2146 (let (clip-text primary-text cut-text)
2147 (when x-select-enable-clipboard
2148 ;; Don't die if x-get-selection signals an error.
2149 (if (null clip-text)
2150 (condition-case c
2151 (setq clip-text (x-get-selection 'CLIPBOARD 'COMPOUND_TEXT))
2152 (error nil)))
2153 (if (null clip-text)
2154 (condition-case c
2155 (setq clip-text (x-get-selection 'CLIPBOARD 'STRING))
2156 (error nil)))
2157 (if (string= clip-text "") (setq clip-text nil))
2158
2159 ;; Check the CLIPBOARD selection for 'newness', is it different
2160 ;; from what we remebered them to be last time we did a
2161 ;; cut/paste operation.
2162 (setq clip-text
2163 (cond;; check clipboard
2164 ((or (not clip-text) (string= clip-text ""))
2165 (setq x-last-selected-text-clipboard nil))
2166 ((eq clip-text x-last-selected-text-clipboard) nil)
2167 ((string= clip-text x-last-selected-text-clipboard)
2168 ;; Record the newer string,
2169 ;; so subsequent calls can use the `eq' test.
2170 (setq x-last-selected-text-clipboard clip-text)
2171 nil)
2172 (t
2173 (setq x-last-selected-text-clipboard clip-text))))
2174 )
2175
2176 ;; Don't die if x-get-selection signals an error.
2177 (if (null primary-text)
2178 (condition-case c
2179 (setq primary-text (x-get-selection 'PRIMARY 'COMPOUND_TEXT))
2180 (error nil)))
2181 (if (null primary-text)
2182 (condition-case c
2183 (setq primary-text (x-get-selection 'PRIMARY 'STRING))
2184 (error nil)))
2185 ;; Check the PRIMARY selection for 'newness', is it different
2186 ;; from what we remebered them to be last time we did a
2187 ;; cut/paste operation.
2188 (setq primary-text
2189 (cond;; check primary selection
2190 ((or (not primary-text) (string= primary-text ""))
2191 (setq x-last-selected-text-primary nil))
2192 ((eq primary-text x-last-selected-text-primary) nil)
2193 ((string= primary-text x-last-selected-text-primary)
2194 ;; Record the newer string,
2195 ;; so subsequent calls can use the `eq' test.
2196 (setq x-last-selected-text-primary primary-text)
2197 nil)
2198 (t
2199 (setq x-last-selected-text-primary primary-text))))
2200
2201 (setq cut-text (x-get-cut-buffer 0))
2202
2203 ;; Check the x cut buffer for 'newness', is it different
2204 ;; from what we remebered them to be last time we did a
2205 ;; cut/paste operation.
2206 (setq cut-text
2207 (cond;; check primary selection
2208 ((or (not cut-text) (string= cut-text ""))
2209 (setq x-last-selected-text-cut nil))
2210 ((eq cut-text x-last-selected-text-cut) nil)
2211 ((string= cut-text x-last-selected-text-cut)
2212 ;; Record the newer string,
2213 ;; so subsequent calls can use the `eq' test.
2214 (setq x-last-selected-text-cut cut-text)
2215 nil)
2216 (t
2217 (setq x-last-selected-text-cut cut-text))))
2218
2219 ;; At this point we have recorded the current values for the
2220 ;; selection from clipboard (if we are supposed to) primary,
2221 ;; and cut buffer. So return the first one that has changed
2222 ;; (which is the first non-null one).
2223 ;;
2224 ;; NOTE: There will be cases where more than one of these has
2225 ;; changed and the new values differ. This indicates that
2226 ;; something like the following has happened since the last time
2227 ;; we looked at the selections: Application X set all the
2228 ;; selections, then Application Y set only one or two of them (say
2229 ;; just the cut-buffer). In this case since we don't have
2230 ;; timestamps there is no way to know what the 'correct' value to
2231 ;; return is. The nice thing to do would be to tell the user we
2232 ;; saw multiple possible selections and ask the user which was the
2233 ;; one they wanted.
2234 ;; This code is still a big improvement because now the user can
2235 ;; futz with the current selection and get emacs to pay attention
2236 ;; to the cut buffer again (previously as soon as clipboard or
2237 ;; primary had been set the cut buffer would essentially never be
2238 ;; checked again).
2239 (or clip-text primary-text cut-text)
2240 ))
2241
2242 \f
2243 ;;; Do the actual X Windows setup here; the above code just defines
2244 ;;; functions and variables that we use now.
2245
2246 (setq command-line-args (x-handle-args command-line-args))
2247
2248 ;;; Make sure we have a valid resource name.
2249 (or (stringp x-resource-name)
2250 (let (i)
2251 (setq x-resource-name (invocation-name))
2252
2253 ;; Change any . or * characters in x-resource-name to hyphens,
2254 ;; so as not to choke when we use it in X resource queries.
2255 (while (setq i (string-match "[.*]" x-resource-name))
2256 (aset x-resource-name i ?-))))
2257
2258 (x-open-connection (or x-display-name
2259 (setq x-display-name (getenv "DISPLAY")))
2260 x-command-line-resources
2261 ;; Exit Emacs with fatal error if this fails.
2262 t)
2263
2264 (setq frame-creation-function 'x-create-frame-with-faces)
2265
2266 (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100)
2267 x-cut-buffer-max))
2268
2269 ;; Setup the default fontset.
2270 (setup-default-fontset)
2271
2272 ;; Create the standard fontset.
2273 (create-fontset-from-fontset-spec standard-fontset-spec t)
2274
2275 ;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...).
2276 (create-fontset-from-x-resource)
2277
2278 ;; Try to create a fontset from a font specification which comes
2279 ;; from initial-frame-alist, default-frame-alist, or X resource.
2280 ;; A font specification in command line argument (i.e. -fn XXXX)
2281 ;; should be already in default-frame-alist as a `font'
2282 ;; parameter. However, any font specifications in site-start
2283 ;; library, user's init file (.emacs), and default.el are not
2284 ;; yet handled here.
2285
2286 (let ((font (or (cdr (assq 'font initial-frame-alist))
2287 (cdr (assq 'font default-frame-alist))
2288 (x-get-resource "font" "Font")))
2289 xlfd-fields resolved-name)
2290 (if (and font
2291 (not (query-fontset font))
2292 (setq resolved-name (x-resolve-font-name font))
2293 (setq xlfd-fields (x-decompose-font-name font)))
2294 (if (string= "fontset" (aref xlfd-fields xlfd-regexp-registry-subnum))
2295 (new-fontset font (x-complement-fontset-spec xlfd-fields nil))
2296 ;; Create a fontset from FONT. The fontset name is
2297 ;; generated from FONT.
2298 (create-fontset-from-ascii-font font resolved-name "startup"))))
2299
2300 ;; Sun expects the menu bar cut and paste commands to use the clipboard.
2301 ;; This has ,? to match both on Sunos and on Solaris.
2302 (if (string-match "Sun Microsystems,? Inc\\."
2303 (x-server-vendor))
2304 (menu-bar-enable-clipboard))
2305
2306 ;; Apply a geometry resource to the initial frame. Put it at the end
2307 ;; of the alist, so that anything specified on the command line takes
2308 ;; precedence.
2309 (let* ((res-geometry (x-get-resource "geometry" "Geometry"))
2310 parsed)
2311 (if res-geometry
2312 (progn
2313 (setq parsed (x-parse-geometry res-geometry))
2314 ;; If the resource specifies a position,
2315 ;; call the position and size "user-specified".
2316 (if (or (assq 'top parsed) (assq 'left parsed))
2317 (setq parsed (cons '(user-position . t)
2318 (cons '(user-size . t) parsed))))
2319 ;; All geometry parms apply to the initial frame.
2320 (setq initial-frame-alist (append initial-frame-alist parsed))
2321 ;; The size parms apply to all frames.
2322 (if (assq 'height parsed)
2323 (setq default-frame-alist
2324 (cons (cons 'height (cdr (assq 'height parsed)))
2325 default-frame-alist)))
2326 (if (assq 'width parsed)
2327 (setq default-frame-alist
2328 (cons (cons 'width (cdr (assq 'width parsed)))
2329 default-frame-alist))))))
2330
2331 ;; Check the reverseVideo resource.
2332 (let ((case-fold-search t))
2333 (let ((rv (x-get-resource "reverseVideo" "ReverseVideo")))
2334 (if (and rv
2335 (string-match "^\\(true\\|yes\\|on\\)$" rv))
2336 (setq default-frame-alist
2337 (cons '(reverse . t) default-frame-alist)))))
2338
2339 ;; Set x-selection-timeout, measured in milliseconds.
2340 (let ((res-selection-timeout
2341 (x-get-resource "selectionTimeout" "SelectionTimeout")))
2342 (setq x-selection-timeout 20000)
2343 (if res-selection-timeout
2344 (setq x-selection-timeout (string-to-number res-selection-timeout))))
2345
2346 (defun x-win-suspend-error ()
2347 (error "Suspending an Emacs running under X makes no sense"))
2348 (add-hook 'suspend-hook 'x-win-suspend-error)
2349
2350 ;;; Arrange for the kill and yank functions to set and check the clipboard.
2351 (setq interprogram-cut-function 'x-select-text)
2352 (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
2353
2354 ;;; Turn off window-splitting optimization; X is usually fast enough
2355 ;;; that this is only annoying.
2356 (setq split-window-keep-point t)
2357
2358 ;; Don't show the frame name; that's redundant with X.
2359 (setq-default mode-line-frame-identification " ")
2360
2361 ;;; Motif direct handling of f10 wasn't working right,
2362 ;;; So temporarily we've turned it off in lwlib-Xm.c
2363 ;;; and turned the Emacs f10 back on.
2364 ;;; ;; Motif normally handles f10 itself, so don't try to handle it a second time.
2365 ;;; (if (featurep 'motif)
2366 ;;; (global-set-key [f10] 'ignore))
2367
2368 ;;; x-win.el ends here