annotate lisp/term/common-win.el @ 109307:d115eb41fb0f

Fix bug #6603. makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscrobe.o, and unexw32.o.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 11 Jul 2010 09:39:00 +0300
parents 6d1b80d173b3
children a3c68a313b81
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
96830
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
1 ;;; common-win.el --- common part of handling window systems
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
2
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
3 ;; Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 105654
diff changeset
4 ;; 2008, 2009, 2010 Free Software Foundation, Inc.
96830
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
5
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
6 ;; Maintainer: FSF
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
7 ;; Keywords: terminals
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
8
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
10
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
13 ;; the Free Software Foundation, either version 3 of the License, or
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
14 ;; (at your option) any later version.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
15
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
19 ;; GNU General Public License for more details.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
20
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
23
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
24 ;;; Commentary:
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
25
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
26 ;;; Code:
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
27
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
28
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
29 (defvar x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
30
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
31 (defvar x-command-line-resources nil)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
32
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
33 ;; Handler for switches of the form "-switch value" or "-switch".
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
34 (defun x-handle-switch (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
35 (let ((aelt (assoc switch command-line-x-option-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
36 (if aelt
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
37 (let ((param (nth 3 aelt))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
38 (value (nth 4 aelt)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
39 (if value
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
40 (setq default-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
41 (cons (cons param value)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
42 default-frame-alist))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
43 (setq default-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
44 (cons (cons param
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
45 (car x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
46 default-frame-alist)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
47 x-invocation-args (cdr x-invocation-args)))))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
48
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
49 ;; Handler for switches of the form "-switch n"
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
50 (defun x-handle-numeric-switch (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
51 (let ((aelt (assoc switch command-line-x-option-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
52 (if aelt
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
53 (let ((param (nth 3 aelt)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
54 (setq default-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
55 (cons (cons param
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
56 (string-to-number (car x-invocation-args)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
57 default-frame-alist)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
58 x-invocation-args
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
59 (cdr x-invocation-args))))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
60
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
61 ;; Handle options that apply to initial frame only
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
62 (defun x-handle-initial-switch (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
63 (let ((aelt (assoc switch command-line-x-option-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
64 (if aelt
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
65 (let ((param (nth 3 aelt))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
66 (value (nth 4 aelt)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
67 (if value
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
68 (setq initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
69 (cons (cons param value)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
70 initial-frame-alist))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
71 (setq initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
72 (cons (cons param
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
73 (car x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
74 initial-frame-alist)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
75 x-invocation-args (cdr x-invocation-args)))))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
76
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
77 ;; Make -iconic apply only to the initial frame!
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
78 (defun x-handle-iconic (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
79 (setq initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
80 (cons '(visibility . icon) initial-frame-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
81
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
82 ;; Handle the -xrm option.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
83 (defun x-handle-xrm-switch (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
84 (unless (consp x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
85 (error "%s: missing argument to `%s' option" (invocation-name) switch))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
86 (setq x-command-line-resources
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
87 (if (null x-command-line-resources)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
88 (car x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
89 (concat x-command-line-resources "\n" (car x-invocation-args))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
90 (setq x-invocation-args (cdr x-invocation-args)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
91
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
92 (declare-function x-parse-geometry "frame.c" (string))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
93
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
94 ;; Handle the geometry option
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
95 (defun x-handle-geometry (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
96 (let* ((geo (x-parse-geometry (car x-invocation-args)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
97 (left (assq 'left geo))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
98 (top (assq 'top geo))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
99 (height (assq 'height geo))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
100 (width (assq 'width geo)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
101 (if (or height width)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
102 (setq default-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
103 (append default-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
104 '((user-size . t))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
105 (if height (list height))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
106 (if width (list width)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
107 initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
108 (append initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
109 '((user-size . t))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
110 (if height (list height))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
111 (if width (list width)))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
112 (if (or left top)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
113 (setq initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
114 (append initial-frame-alist
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
115 '((user-position . t))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
116 (if left (list left))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
117 (if top (list top)))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
118 (setq x-invocation-args (cdr x-invocation-args))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
119
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
120 (defvar x-resource-name)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
121
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
122 ;; Handle the -name option. Set the variable x-resource-name
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
123 ;; to the option's operand; set the name of
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
124 ;; the initial frame, too.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
125 (defun x-handle-name-switch (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
126 (or (consp x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
127 (error "%s: missing argument to `%s' option" (invocation-name) switch))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
128 (setq x-resource-name (car x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
129 x-invocation-args (cdr x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
130 (setq initial-frame-alist (cons (cons 'name x-resource-name)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
131 initial-frame-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
132
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
133 (defvar x-display-name nil
104066
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
134 "The name of the window display on which Emacs was started.
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
135 On X, the display name of individual X frames is recorded in the
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
136 `display' frame parameter.")
96830
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
137
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
138 (defun x-handle-display (switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
139 "Handle -display DISPLAY option."
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
140 (setq x-display-name (car x-invocation-args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
141 x-invocation-args (cdr x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
142 ;; Make subshell programs see the same DISPLAY value Emacs really uses.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
143 ;; Note that this isn't completely correct, since Emacs can use
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
144 ;; multiple displays. However, there is no way to tell an already
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
145 ;; running subshell which display the user is currently typing on.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
146 (setenv "DISPLAY" x-display-name))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
147
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
148 (defun x-handle-args (args)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
149 "Process the X-related command line options in ARGS.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
150 This is done before the user's startup file is loaded. They are copied to
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
151 `x-invocation-args', from which the X-related things are extracted, first
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
152 the switch (e.g., \"-fg\") in the following code, and possible values
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
153 \(e.g., \"black\") in the option handler code (e.g., x-handle-switch).
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
154 This function returns ARGS minus the arguments that have been processed."
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
155 ;; We use ARGS to accumulate the args that we don't handle here, to return.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
156 (setq x-invocation-args args
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
157 args nil)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
158 (while (and x-invocation-args
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
159 (not (equal (car x-invocation-args) "--")))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
160 (let* ((this-switch (car x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
161 (orig-this-switch this-switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
162 completion argval aelt handler)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
163 (setq x-invocation-args (cdr x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
164 ;; Check for long options with attached arguments
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
165 ;; and separate out the attached option argument into argval.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
166 (if (string-match "^--[^=]*=" this-switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
167 (setq argval (substring this-switch (match-end 0))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
168 this-switch (substring this-switch 0 (1- (match-end 0)))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
169 ;; Complete names of long options.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
170 (if (string-match "^--" this-switch)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
171 (progn
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
172 (setq completion (try-completion this-switch command-line-x-option-alist))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
173 (if (eq completion t)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
174 ;; Exact match for long option.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
175 nil
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
176 (if (stringp completion)
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
177 (let ((elt (assoc completion command-line-x-option-alist)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
178 ;; Check for abbreviated long option.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
179 (or elt
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
180 (error "Option `%s' is ambiguous" this-switch))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
181 (setq this-switch completion))))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
182 (setq aelt (assoc this-switch command-line-x-option-alist))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
183 (if aelt (setq handler (nth 2 aelt)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
184 (if handler
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
185 (if argval
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
186 (let ((x-invocation-args
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
187 (cons argval x-invocation-args)))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
188 (funcall handler this-switch))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
189 (funcall handler this-switch))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
190 (setq args (cons orig-this-switch args)))))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
191 (nconc (nreverse args) x-invocation-args))
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
192
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
193
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
194 ;;
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
195 ;; Available colors
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
196 ;;
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
197 ;; The ordering of the colors is chosen for the user's convenience in
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
198 ;; `list-colors-display', which displays the reverse of this list.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
199 ;; Roughly speaking, `list-colors-display' orders by (i) named shades
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
200 ;; of grey with hue 0.0, sorted by value (ii) named colors with
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
201 ;; saturation 1.0, sorted by hue, (iii) named non-white colors with
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
202 ;; saturation less than 1.0, sorted by hue, (iv) other named shades of
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
203 ;; white, (v) numbered colors sorted by hue, and (vi) numbered shades
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
204 ;; of grey.
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
205
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
206 (defvar x-colors
108979
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
207 (purecopy
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
208 '("gray100" "grey100" "gray99" "grey99" "gray98" "grey98" "gray97"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
209 "grey97" "gray96" "grey96" "gray95" "grey95" "gray94" "grey94"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
210 "gray93" "grey93" "gray92" "grey92" "gray91" "grey91" "gray90"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
211 "grey90" "gray89" "grey89" "gray88" "grey88" "gray87" "grey87"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
212 "gray86" "grey86" "gray85" "grey85" "gray84" "grey84" "gray83"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
213 "grey83" "gray82" "grey82" "gray81" "grey81" "gray80" "grey80"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
214 "gray79" "grey79" "gray78" "grey78" "gray77" "grey77" "gray76"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
215 "grey76" "gray75" "grey75" "gray74" "grey74" "gray73" "grey73"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
216 "gray72" "grey72" "gray71" "grey71" "gray70" "grey70" "gray69"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
217 "grey69" "gray68" "grey68" "gray67" "grey67" "gray66" "grey66"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
218 "gray65" "grey65" "gray64" "grey64" "gray63" "grey63" "gray62"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
219 "grey62" "gray61" "grey61" "gray60" "grey60" "gray59" "grey59"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
220 "gray58" "grey58" "gray57" "grey57" "gray56" "grey56" "gray55"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
221 "grey55" "gray54" "grey54" "gray53" "grey53" "gray52" "grey52"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
222 "gray51" "grey51" "gray50" "grey50" "gray49" "grey49" "gray48"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
223 "grey48" "gray47" "grey47" "gray46" "grey46" "gray45" "grey45"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
224 "gray44" "grey44" "gray43" "grey43" "gray42" "grey42" "gray41"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
225 "grey41" "gray40" "grey40" "gray39" "grey39" "gray38" "grey38"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
226 "gray37" "grey37" "gray36" "grey36" "gray35" "grey35" "gray34"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
227 "grey34" "gray33" "grey33" "gray32" "grey32" "gray31" "grey31"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
228 "gray30" "grey30" "gray29" "grey29" "gray28" "grey28" "gray27"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
229 "grey27" "gray26" "grey26" "gray25" "grey25" "gray24" "grey24"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
230 "gray23" "grey23" "gray22" "grey22" "gray21" "grey21" "gray20"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
231 "grey20" "gray19" "grey19" "gray18" "grey18" "gray17" "grey17"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
232 "gray16" "grey16" "gray15" "grey15" "gray14" "grey14" "gray13"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
233 "grey13" "gray12" "grey12" "gray11" "grey11" "gray10" "grey10"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
234 "gray9" "grey9" "gray8" "grey8" "gray7" "grey7" "gray6" "grey6"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
235 "gray5" "grey5" "gray4" "grey4" "gray3" "grey3" "gray2" "grey2"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
236 "gray1" "grey1" "gray0" "grey0"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
237 "LightPink1" "LightPink2" "LightPink3" "LightPink4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
238 "pink1" "pink2" "pink3" "pink4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
239 "PaleVioletRed1" "PaleVioletRed2" "PaleVioletRed3" "PaleVioletRed4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
240 "LavenderBlush1" "LavenderBlush2" "LavenderBlush3" "LavenderBlush4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
241 "VioletRed1" "VioletRed2" "VioletRed3" "VioletRed4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
242 "HotPink1" "HotPink2" "HotPink3" "HotPink4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
243 "DeepPink1" "DeepPink2" "DeepPink3" "DeepPink4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
244 "maroon1" "maroon2" "maroon3" "maroon4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
245 "orchid1" "orchid2" "orchid3" "orchid4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
246 "plum1" "plum2" "plum3" "plum4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
247 "thistle1" "thistle2" "thistle3" "thistle4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
248 "MediumOrchid1" "MediumOrchid2" "MediumOrchid3" "MediumOrchid4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
249 "DarkOrchid1" "DarkOrchid2" "DarkOrchid3" "DarkOrchid4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
250 "purple1" "purple2" "purple3" "purple4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
251 "MediumPurple1" "MediumPurple2" "MediumPurple3" "MediumPurple4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
252 "SlateBlue1" "SlateBlue2" "SlateBlue3" "SlateBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
253 "RoyalBlue1" "RoyalBlue2" "RoyalBlue3" "RoyalBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
254 "LightSteelBlue1" "LightSteelBlue2" "LightSteelBlue3" "LightSteelBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
255 "SlateGray1" "SlateGray2" "SlateGray3" "SlateGray4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
256 "DodgerBlue1" "DodgerBlue2" "DodgerBlue3" "DodgerBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
257 "SteelBlue1" "SteelBlue2" "SteelBlue3" "SteelBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
258 "SkyBlue1" "SkyBlue2" "SkyBlue3" "SkyBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
259 "LightSkyBlue1" "LightSkyBlue2" "LightSkyBlue3" "LightSkyBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
260 "LightBlue1" "LightBlue2" "LightBlue3" "LightBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
261 "CadetBlue1" "CadetBlue2" "CadetBlue3" "CadetBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
262 "azure1" "azure2" "azure3" "azure4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
263 "LightCyan1" "LightCyan2" "LightCyan3" "LightCyan4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
264 "PaleTurquoise1" "PaleTurquoise2" "PaleTurquoise3" "PaleTurquoise4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
265 "DarkSlateGray1" "DarkSlateGray2" "DarkSlateGray3" "DarkSlateGray4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
266 "aquamarine1" "aquamarine2" "aquamarine3" "aquamarine4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
267 "SeaGreen1" "SeaGreen2" "SeaGreen3" "SeaGreen4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
268 "honeydew1" "honeydew2" "honeydew3" "honeydew4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
269 "DarkSeaGreen1" "DarkSeaGreen2" "DarkSeaGreen3" "DarkSeaGreen4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
270 "PaleGreen1" "PaleGreen2" "PaleGreen3" "PaleGreen4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
271 "DarkOliveGreen1" "DarkOliveGreen2" "DarkOliveGreen3" "DarkOliveGreen4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
272 "OliveDrab1" "OliveDrab2" "OliveDrab3" "OliveDrab4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
273 "ivory1" "ivory2" "ivory3" "ivory4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
274 "LightYellow1" "LightYellow2" "LightYellow3" "LightYellow4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
275 "khaki1" "khaki2" "khaki3" "khaki4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
276 "LemonChiffon1" "LemonChiffon2" "LemonChiffon3" "LemonChiffon4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
277 "LightGoldenrod1" "LightGoldenrod2" "LightGoldenrod3" "LightGoldenrod4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
278 "cornsilk1" "cornsilk2" "cornsilk3" "cornsilk4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
279 "goldenrod1" "goldenrod2" "goldenrod3" "goldenrod4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
280 "DarkGoldenrod1" "DarkGoldenrod2" "DarkGoldenrod3" "DarkGoldenrod4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
281 "wheat1" "wheat2" "wheat3" "wheat4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
282 "NavajoWhite1" "NavajoWhite2" "NavajoWhite3" "NavajoWhite4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
283 "burlywood1" "burlywood2" "burlywood3" "burlywood4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
284 "AntiqueWhite1" "AntiqueWhite2" "AntiqueWhite3" "AntiqueWhite4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
285 "bisque1" "bisque2" "bisque3" "bisque4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
286 "tan1" "tan2" "tan3" "tan4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
287 "PeachPuff1" "PeachPuff2" "PeachPuff3" "PeachPuff4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
288 "seashell1" "seashell2" "seashell3" "seashell4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
289 "chocolate1" "chocolate2" "chocolate3" "chocolate4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
290 "sienna1" "sienna2" "sienna3" "sienna4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
291 "LightSalmon1" "LightSalmon2" "LightSalmon3" "LightSalmon4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
292 "salmon1" "salmon2" "salmon3" "salmon4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
293 "coral1" "coral2" "coral3" "coral4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
294 "tomato1" "tomato2" "tomato3" "tomato4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
295 "MistyRose1" "MistyRose2" "MistyRose3" "MistyRose4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
296 "snow1" "snow2" "snow3" "snow4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
297 "RosyBrown1" "RosyBrown2" "RosyBrown3" "RosyBrown4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
298 "IndianRed1" "IndianRed2" "IndianRed3" "IndianRed4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
299 "firebrick1" "firebrick2" "firebrick3" "firebrick4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
300 "brown1" "brown2" "brown3" "brown4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
301 "magenta1" "magenta2" "magenta3" "magenta4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
302 "blue1" "blue2" "blue3" "blue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
303 "DeepSkyBlue1" "DeepSkyBlue2" "DeepSkyBlue3" "DeepSkyBlue4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
304 "turquoise1" "turquoise2" "turquoise3" "turquoise4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
305 "cyan1" "cyan2" "cyan3" "cyan4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
306 "SpringGreen1" "SpringGreen2" "SpringGreen3" "SpringGreen4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
307 "green1" "green2" "green3" "green4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
308 "chartreuse1" "chartreuse2" "chartreuse3" "chartreuse4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
309 "yellow1" "yellow2" "yellow3" "yellow4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
310 "gold1" "gold2" "gold3" "gold4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
311 "orange1" "orange2" "orange3" "orange4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
312 "DarkOrange1" "DarkOrange2" "DarkOrange3" "DarkOrange4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
313 "OrangeRed1" "OrangeRed2" "OrangeRed3" "OrangeRed4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
314 "red1" "red2" "red3" "red4"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
315 "lavender blush" "LavenderBlush" "ghost white" "GhostWhite"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
316 "lavender" "alice blue" "AliceBlue" "azure" "light cyan"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
317 "LightCyan" "mint cream" "MintCream" "honeydew" "ivory"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
318 "light goldenrod yellow" "LightGoldenrodYellow" "light yellow"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
319 "LightYellow" "beige" "floral white" "FloralWhite" "old lace"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
320 "OldLace" "blanched almond" "BlanchedAlmond" "moccasin"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
321 "papaya whip" "PapayaWhip" "bisque" "antique white"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
322 "AntiqueWhite" "linen" "peach puff" "PeachPuff" "seashell"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
323 "misty rose" "MistyRose" "snow" "light pink" "LightPink" "pink"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
324 "hot pink" "HotPink" "deep pink" "DeepPink" "maroon"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
325 "pale violet red" "PaleVioletRed" "violet red" "VioletRed"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
326 "medium violet red" "MediumVioletRed" "violet" "plum" "thistle"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
327 "orchid" "medium orchid" "MediumOrchid" "dark orchid"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
328 "DarkOrchid" "purple" "blue violet" "BlueViolet" "medium purple"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
329 "MediumPurple" "light slate blue" "LightSlateBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
330 "medium slate blue" "MediumSlateBlue" "slate blue" "SlateBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
331 "dark slate blue" "DarkSlateBlue" "midnight blue" "MidnightBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
332 "navy" "navy blue" "NavyBlue" "dark blue" "DarkBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
333 "light steel blue" "LightSteelBlue" "cornflower blue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
334 "CornflowerBlue" "dodger blue" "DodgerBlue" "royal blue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
335 "RoyalBlue" "light slate gray" "light slate grey"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
336 "LightSlateGray" "LightSlateGrey" "slate gray" "slate grey"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
337 "SlateGray" "SlateGrey" "dark slate gray" "dark slate grey"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
338 "DarkSlateGray" "DarkSlateGrey" "steel blue" "SteelBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
339 "cadet blue" "CadetBlue" "light sky blue" "LightSkyBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
340 "sky blue" "SkyBlue" "light blue" "LightBlue" "powder blue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
341 "PowderBlue" "pale turquoise" "PaleTurquoise" "turquoise"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
342 "medium turquoise" "MediumTurquoise" "dark turquoise"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
343 "DarkTurquoise" "dark cyan" "DarkCyan" "aquamarine"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
344 "medium aquamarine" "MediumAquamarine" "light sea green"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
345 "LightSeaGreen" "medium sea green" "MediumSeaGreen" "sea green"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
346 "SeaGreen" "dark sea green" "DarkSeaGreen" "pale green"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
347 "PaleGreen" "lime green" "LimeGreen" "dark green" "DarkGreen"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
348 "forest green" "ForestGreen" "light green" "LightGreen"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
349 "green yellow" "GreenYellow" "yellow green" "YellowGreen"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
350 "olive drab" "OliveDrab" "dark olive green" "DarkOliveGreen"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
351 "lemon chiffon" "LemonChiffon" "khaki" "dark khaki" "DarkKhaki"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
352 "cornsilk" "pale goldenrod" "PaleGoldenrod" "light goldenrod"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
353 "LightGoldenrod" "goldenrod" "dark goldenrod" "DarkGoldenrod"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
354 "wheat" "navajo white" "NavajoWhite" "tan" "burlywood"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
355 "sandy brown" "SandyBrown" "peru" "chocolate" "saddle brown"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
356 "SaddleBrown" "sienna" "rosy brown" "RosyBrown" "dark salmon"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
357 "DarkSalmon" "coral" "tomato" "light salmon" "LightSalmon"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
358 "salmon" "light coral" "LightCoral" "indian red" "IndianRed"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
359 "firebrick" "brown" "dark red" "DarkRed" "magenta"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
360 "dark magenta" "DarkMagenta" "dark violet" "DarkViolet"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
361 "medium blue" "MediumBlue" "blue" "deep sky blue" "DeepSkyBlue"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
362 "cyan" "medium spring green" "MediumSpringGreen" "spring green"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
363 "SpringGreen" "green" "lawn green" "LawnGreen" "chartreuse"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
364 "yellow" "gold" "orange" "dark orange" "DarkOrange" "orange red"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
365 "OrangeRed" "red" "white" "white smoke" "WhiteSmoke" "gainsboro"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
366 "light gray" "light grey" "LightGray" "LightGrey" "gray" "grey"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
367 "dark gray" "dark grey" "DarkGray" "DarkGrey" "dim gray"
6d1b80d173b3 Add all rgb.txt color names to x-colors.
Chong Yidong <cyd@stupidchicken.com>
parents: 108937
diff changeset
368 "dim grey" "DimGray" "DimGrey" "black"))
104066
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
369 "List of basic colors available on color displays.
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
370 For X, the list comes from the `rgb.txt' file,v 10.41 94/02/20.
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
371 For Nextstep, this is a list of non-PANTONE colors returned by
b564cde0cb8b Fix Bug#3888:
Eli Zaretskii <eliz@gnu.org>
parents: 100908
diff changeset
372 the operating system.")
96830
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
373
96882
ee9446fab77c Add arch tagline
Miles Bader <miles@gnu.org>
parents: 96830
diff changeset
374 ;; arch-tag: 2a128601-99cc-401e-9dff-0ee6a36102ef
96830
a8aac59d9c7a * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
375 ;;; common-win.el ends here