annotate lisp/term/w32-win.el @ 89709:688136a6cab5

(x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and OBJECT args.
author Kenichi Handa <handa@m17n.org>
date Thu, 15 Jan 2004 06:58:07 +0000
parents d297605d3dd3
children 68c22ea6027c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38431
853c3674f20a Fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 38241
diff changeset
1 ;;; w32-win.el --- parse switches controlling interface with W32 window system
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
2
51183
c9db5a2dc58b (iconify-or-deiconify-frame): Move to frame.el.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50028
diff changeset
3 ;; Copyright (C) 1993, 1994, 2003 Free Software Foundation, Inc.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
4
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
5 ;; Author: Kevin Gallo
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
6 ;; Keywords: terminals
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
7
14170
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
8 ;; This file is part of GNU Emacs.
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
9
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
13 ;; any later version.
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
14
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
18 ;; GNU General Public License for more details.
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
19
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
20 ;; You should have received a copy of the GNU General Public License
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23cc3f54e536 Update FSF's office address.
Erik Naggum <erik@naggum.no>
parents: 13831
diff changeset
23 ;; Boston, MA 02111-1307, USA.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
24
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
25 ;;; Commentary:
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
26
16889
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
27 ;; w32-win.el: this file is loaded from ../lisp/startup.el when it recognizes
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
28 ;; that W32 windows are to be used. Command line switches are parsed and those
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
29 ;; pertaining to W32 are processed and removed from the command line. The
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
30 ;; W32 display is opened and hooks are set for popping up the initial window.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
31
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
32 ;; startup.el will then examine startup files, and eventually call the hooks
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
33 ;; which create the first window (s).
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
34
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
35 ;;; Code:
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
36
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
37
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
38 ;; These are the standard X switches from the Xt Initialize.c file of
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
39 ;; Release 4.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
40
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
41 ;; Command line Resource Manager string
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
42
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
43 ;; +rv *reverseVideo
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
44 ;; +synchronous *synchronous
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
45 ;; -background *background
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
46 ;; -bd *borderColor
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
47 ;; -bg *background
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
48 ;; -bordercolor *borderColor
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
49 ;; -borderwidth .borderWidth
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
50 ;; -bw .borderWidth
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
51 ;; -display .display
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
52 ;; -fg *foreground
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
53 ;; -fn *font
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
54 ;; -font *font
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
55 ;; -foreground *foreground
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
56 ;; -geometry .geometry
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
57 ;; -i .iconType
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
58 ;; -itype .iconType
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
59 ;; -iconic .iconic
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
60 ;; -name .name
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
61 ;; -reverse *reverseVideo
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
62 ;; -rv *reverseVideo
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
63 ;; -selectionTimeout .selectionTimeout
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
64 ;; -synchronous *synchronous
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
65 ;; -xrm
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
66
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
67 ;; An alist of X options and the function which handles them. See
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
68 ;; ../startup.el.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
69
16889
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
70 (if (not (eq window-system 'w32))
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
71 (error "%s: Loading w32-win.el but not compiled for w32" (invocation-name)))
49599
5ade352e8d1c Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 49290
diff changeset
72
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
73 (require 'frame)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
74 (require 'mouse)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
75 (require 'scroll-bar)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
76 (require 'faces)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
77 (require 'select)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
78 (require 'menu-bar)
42812
c9282c43bb5a Add comments to avoid future deletion of conditionals that seem
Jason Rumney <jasonr@gnu.org>
parents: 42810
diff changeset
79 ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
42810
e0a03741d896 Only require fontset when new-fontset is bound.
Jason Rumney <jasonr@gnu.org>
parents: 42542
diff changeset
80 (if (fboundp 'new-fontset)
e0a03741d896 Only require fontset when new-fontset is bound.
Jason Rumney <jasonr@gnu.org>
parents: 42542
diff changeset
81 (require 'fontset))
15136
6a1b4fcbb216 (win32-handle-scroll-bar-event): New function.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15048
diff changeset
82
42542
691ca802270d Require fontset unconditionally.
Jason Rumney <jasonr@gnu.org>
parents: 42286
diff changeset
83 ;; The following definition is used for debugging scroll bar events.
16588
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15265
diff changeset
84 ;(defun w32-handle-scroll-bar-event (event) (interactive "e") (princ event))
15136
6a1b4fcbb216 (win32-handle-scroll-bar-event): New function.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15048
diff changeset
85
45125
cddef18bf668 (mouse-wheel-scroll-line)
Jason Rumney <jasonr@gnu.org>
parents: 43541
diff changeset
86 ;; Handle mouse-wheel events with mwheel.
51386
c750333d879e No need to bind wheel events specially.
Jason Rumney <jasonr@gnu.org>
parents: 51183
diff changeset
87 (mouse-wheel-mode 1)
19691
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
88
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
89 (defun w32-drag-n-drop-debug (event)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
90 "Print the drag-n-drop EVENT in a readable form."
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
91 (interactive "e")
21883
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
92 (princ event))
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
93
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
94 (defun w32-drag-n-drop (event)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
95 "Edit the files listed in the drag-n-drop EVENT.
21883
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
96 Switch to a buffer editing the last file dropped."
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
97 (interactive "e")
24664
ce51d492b1ab (w32-drag-n-drop): Select file in window where
Andrew Innes <andrewi@gnu.org>
parents: 24246
diff changeset
98 (save-excursion
26573
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
99 ;; Make sure the drop target has positive co-ords
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
100 ;; before setting the selected frame - otherwise it
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
101 ;; won't work. <skx@tardis.ed.ac.uk>
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
102 (let* ((window (posn-window (event-start event)))
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
103 (coords (posn-x-y (event-start event)))
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
104 (x (car coords))
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
105 (y (cdr coords)))
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
106 (if (and (> x 0) (> y 0))
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
107 (set-frame-selected-window nil window))
27404
dc6ba3cab915 (w32_create_initial_fontsets): Disabled as it conflicts with new face support.
Jason Rumney <jasonr@gnu.org>
parents: 27101
diff changeset
108 (mapcar 'find-file (car (cdr (cdr event)))))
26573
e219195abf40 (w32-drag-n-drop): Load files in current window, if
Gerd Moellmann <gerd@gnu.org>
parents: 24964
diff changeset
109 (raise-frame)))
21883
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
110
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
111 (defun w32-drag-n-drop-other-frame (event)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
112 "Edit the files listed in the drag-n-drop EVENT, in other frames.
21883
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
113 May create new frames, or reuse existing ones. The frame editing
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
114 the last file dropped is selected."
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
115 (interactive "e")
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
116 (mapcar 'find-file-other-frame (car (cdr (cdr event)))))
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
117
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
118 ;; Bind the drag-n-drop event.
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
119 (global-set-key [drag-n-drop] 'w32-drag-n-drop)
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
120 (global-set-key [C-drag-n-drop] 'w32-drag-n-drop-other-frame)
93c99b3a57f1 (w32-drag-n-drop-debug, w32-drag-n-drop)
Richard M. Stallman <rms@gnu.org>
parents: 19691
diff changeset
121
23675
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
122 ;; Keyboard layout/language change events
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
123 ;; For now ignore language-change events; in the future
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
124 ;; we should switch the Emacs Input Method to match the
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
125 ;; new layout/language selected by the user.
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
126 (global-set-key [language-change] 'ignore)
8dcfae475b98 ([language-change]): For now ignore
Geoff Voelker <voelker@cs.washington.edu>
parents: 23636
diff changeset
127
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
128 (defvar x-invocation-args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
129
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
130 (defvar x-command-line-resources nil)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
131
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
132 (defun x-handle-switch (switch)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
133 "Handle SWITCH of the form \"-switch value\" or \"-switch\"."
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
134 (let ((aelt (assoc switch command-line-x-option-alist)))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
135 (if aelt
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
136 (let ((param (nth 3 aelt))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
137 (value (nth 4 aelt)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
138 (if value
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
139 (setq default-frame-alist
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
140 (cons (cons param value)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
141 default-frame-alist))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
142 (setq default-frame-alist
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
143 (cons (cons param
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
144 (car x-invocation-args))
45786
4dd5c60e3ebc (x-handle-switch): Fix handling of x-invocation-args for switches with
Juanma Barranquero <lekktu@gmail.com>
parents: 45125
diff changeset
145 default-frame-alist)
4dd5c60e3ebc (x-handle-switch): Fix handling of x-invocation-args for switches with
Juanma Barranquero <lekktu@gmail.com>
parents: 45125
diff changeset
146 x-invocation-args (cdr x-invocation-args)))))))
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
147
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
148 (defun x-handle-numeric-switch (switch)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
149 "Handle SWITCH of the form \"-switch n\"."
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
150 (let ((aelt (assoc switch command-line-x-option-alist)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
151 (if aelt
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
152 (let ((param (nth 3 aelt)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
153 (setq default-frame-alist
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
154 (cons (cons param
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
155 (string-to-int (car x-invocation-args)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
156 default-frame-alist)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
157 x-invocation-args
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
158 (cdr x-invocation-args))))))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
159
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
160 ;; Handle options that apply to initial frame only
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
161 (defun x-handle-initial-switch (switch)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
162 (let ((aelt (assoc switch command-line-x-option-alist)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
163 (if aelt
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
164 (let ((param (nth 3 aelt))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
165 (value (nth 4 aelt)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
166 (if value
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
167 (setq initial-frame-alist
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
168 (cons (cons param value)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
169 initial-frame-alist))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
170 (setq initial-frame-alist
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
171 (cons (cons param
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
172 (car x-invocation-args))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
173 initial-frame-alist)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
174 x-invocation-args (cdr x-invocation-args)))))))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
175
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
176 (defun x-handle-iconic (switch)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
177 "Make \"-iconic\" SWITCH apply only to the initial frame."
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
178 (setq initial-frame-alist
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
179 (cons '(visibility . icon) initial-frame-alist)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
180
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
181 (defun x-handle-xrm-switch (switch)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
182 "Handle the \"-xrm\" SWITCH."
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
183 (or (consp x-invocation-args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
184 (error "%s: missing argument to `%s' option" (invocation-name) switch))
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
185 (setq x-command-line-resources
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
186 (if (null x-command-line-resources)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
187 (car x-invocation-args)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
188 (concat x-command-line-resources "\n" (car x-invocation-args))))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
189 (setq x-invocation-args (cdr x-invocation-args)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
190
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
191 (defun x-handle-geometry (switch)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
192 "Handle the \"-geometry\" SWITCH."
42286
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
193 (let* ((geo (x-parse-geometry (car x-invocation-args)))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
194 (left (assq 'left geo))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
195 (top (assq 'top geo))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
196 (height (assq 'height geo))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
197 (width (assq 'width geo)))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
198 (if (or height width)
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
199 (setq default-frame-alist
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
200 (append default-frame-alist
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
201 '((user-size . t))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
202 (if height (list height))
50028
601653a63afc (x-handle-geometry): Put sizes on `initial-frame-alist' too.
Juanma Barranquero <lekktu@gmail.com>
parents: 49882
diff changeset
203 (if width (list width)))
601653a63afc (x-handle-geometry): Put sizes on `initial-frame-alist' too.
Juanma Barranquero <lekktu@gmail.com>
parents: 49882
diff changeset
204 initial-frame-alist
601653a63afc (x-handle-geometry): Put sizes on `initial-frame-alist' too.
Juanma Barranquero <lekktu@gmail.com>
parents: 49882
diff changeset
205 (append initial-frame-alist
601653a63afc (x-handle-geometry): Put sizes on `initial-frame-alist' too.
Juanma Barranquero <lekktu@gmail.com>
parents: 49882
diff changeset
206 '((user-size . t))
601653a63afc (x-handle-geometry): Put sizes on `initial-frame-alist' too.
Juanma Barranquero <lekktu@gmail.com>
parents: 49882
diff changeset
207 (if height (list height))
42286
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
208 (if width (list width)))))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
209 (if (or left top)
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
210 (setq initial-frame-alist
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
211 (append initial-frame-alist
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
212 '((user-position . t))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
213 (if left (list left))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
214 (if top (list top)))))
ce0c926022b3 (x-handle-geometry): Put height and width on default-frame-alist,
Richard M. Stallman <rms@gnu.org>
parents: 40151
diff changeset
215 (setq x-invocation-args (cdr x-invocation-args))))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
216
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
217 (defun x-handle-name-switch (switch)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
218 "Handle a \"-name\" SWITCH."
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
219 ;; Handle the -name option. Set the variable x-resource-name
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
220 ;; to the option's operand; set the name of the initial frame, too.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
221 (or (consp x-invocation-args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
222 (error "%s: missing argument to `%s' option" (invocation-name) switch))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
223 (setq x-resource-name (car x-invocation-args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
224 x-invocation-args (cdr x-invocation-args))
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
225 (setq initial-frame-alist (cons (cons 'name x-resource-name)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
226 initial-frame-alist)))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
227
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
228 (defvar x-display-name nil
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
229 "The display name specifying server and frame.")
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
230
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
231 (defun x-handle-display (switch)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
232 "Handle the \"-display\" SWITCH."
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
233 (setq x-display-name (car x-invocation-args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
234 x-invocation-args (cdr x-invocation-args)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
235
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
236 (defun x-handle-args (args)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
237 "Process the X-related command line options in ARGS.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
238 This is done before the user's startup file is loaded. They are copied to
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
239 `x-invocation args' from which the X-related things are extracted, first
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
240 the switch (e.g., \"-fg\") in the following code, and possible values
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
241 \(e.g., \"black\") in the option handler code (e.g., x-handle-switch).
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
242 This returns ARGS with the arguments that have been processed removed."
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
243 ;; We use ARGS to accumulate the args that we don't handle here, to return.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
244 (setq x-invocation-args args
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
245 args nil)
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
246 (while (and x-invocation-args
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
247 (not (equal (car x-invocation-args) "--")))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
248 (let* ((this-switch (car x-invocation-args))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
249 (orig-this-switch this-switch)
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
250 completion argval aelt handler)
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
251 (setq x-invocation-args (cdr x-invocation-args))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
252 ;; Check for long options with attached arguments
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
253 ;; and separate out the attached option argument into argval.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
254 (if (string-match "^--[^=]*=" this-switch)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
255 (setq argval (substring this-switch (match-end 0))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
256 this-switch (substring this-switch 0 (1- (match-end 0)))))
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
257 ;; Complete names of long options.
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
258 (if (string-match "^--" this-switch)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
259 (progn
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
260 (setq completion (try-completion this-switch command-line-x-option-alist))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
261 (if (eq completion t)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
262 ;; Exact match for long option.
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
263 nil
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
264 (if (stringp completion)
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
265 (let ((elt (assoc completion command-line-x-option-alist)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
266 ;; Check for abbreviated long option.
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
267 (or elt
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
268 (error "Option `%s' is ambiguous" this-switch))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
269 (setq this-switch completion))))))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
270 (setq aelt (assoc this-switch command-line-x-option-alist))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
271 (if aelt (setq handler (nth 2 aelt)))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
272 (if handler
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
273 (if argval
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
274 (let ((x-invocation-args
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
275 (cons argval x-invocation-args)))
43394
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
276 (funcall handler this-switch))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
277 (funcall handler this-switch))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
278 (setq args (cons orig-this-switch args)))))
bf151fa5d915 (x-option-alist, x-long-option-alist)
Jason Rumney <jasonr@gnu.org>
parents: 42848
diff changeset
279 (nconc (nreverse args) x-invocation-args))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
280
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
281 ;;
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
282 ;; Available colors
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
283 ;;
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
284
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
285 (defvar x-colors '("LightGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
286 "light green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
287 "DarkRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
288 "dark red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
289 "DarkMagenta"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
290 "dark magenta"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
291 "DarkCyan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
292 "dark cyan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
293 "DarkBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
294 "dark blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
295 "DarkGray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
296 "dark gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
297 "DarkGrey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
298 "dark grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
299 "grey100"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
300 "gray100"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
301 "grey99"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
302 "gray99"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
303 "grey98"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
304 "gray98"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
305 "grey97"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
306 "gray97"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
307 "grey96"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
308 "gray96"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
309 "grey95"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
310 "gray95"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
311 "grey94"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
312 "gray94"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
313 "grey93"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
314 "gray93"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
315 "grey92"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
316 "gray92"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
317 "grey91"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
318 "gray91"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
319 "grey90"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
320 "gray90"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
321 "grey89"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
322 "gray89"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
323 "grey88"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
324 "gray88"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
325 "grey87"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
326 "gray87"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
327 "grey86"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
328 "gray86"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
329 "grey85"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
330 "gray85"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
331 "grey84"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
332 "gray84"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
333 "grey83"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
334 "gray83"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
335 "grey82"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
336 "gray82"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
337 "grey81"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
338 "gray81"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
339 "grey80"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
340 "gray80"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
341 "grey79"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
342 "gray79"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
343 "grey78"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
344 "gray78"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
345 "grey77"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
346 "gray77"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
347 "grey76"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
348 "gray76"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
349 "grey75"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
350 "gray75"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
351 "grey74"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
352 "gray74"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
353 "grey73"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
354 "gray73"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
355 "grey72"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
356 "gray72"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
357 "grey71"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
358 "gray71"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
359 "grey70"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
360 "gray70"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
361 "grey69"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
362 "gray69"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
363 "grey68"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
364 "gray68"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
365 "grey67"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
366 "gray67"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
367 "grey66"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
368 "gray66"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
369 "grey65"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
370 "gray65"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
371 "grey64"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
372 "gray64"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
373 "grey63"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
374 "gray63"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
375 "grey62"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
376 "gray62"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
377 "grey61"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
378 "gray61"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
379 "grey60"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
380 "gray60"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
381 "grey59"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
382 "gray59"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
383 "grey58"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
384 "gray58"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
385 "grey57"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
386 "gray57"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
387 "grey56"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
388 "gray56"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
389 "grey55"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
390 "gray55"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
391 "grey54"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
392 "gray54"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
393 "grey53"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
394 "gray53"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
395 "grey52"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
396 "gray52"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
397 "grey51"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
398 "gray51"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
399 "grey50"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
400 "gray50"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
401 "grey49"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
402 "gray49"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
403 "grey48"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
404 "gray48"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
405 "grey47"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
406 "gray47"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
407 "grey46"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
408 "gray46"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
409 "grey45"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
410 "gray45"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
411 "grey44"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
412 "gray44"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
413 "grey43"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
414 "gray43"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
415 "grey42"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
416 "gray42"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
417 "grey41"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
418 "gray41"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
419 "grey40"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
420 "gray40"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
421 "grey39"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
422 "gray39"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
423 "grey38"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
424 "gray38"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
425 "grey37"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
426 "gray37"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
427 "grey36"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
428 "gray36"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
429 "grey35"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
430 "gray35"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
431 "grey34"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
432 "gray34"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
433 "grey33"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
434 "gray33"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
435 "grey32"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
436 "gray32"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
437 "grey31"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
438 "gray31"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
439 "grey30"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
440 "gray30"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
441 "grey29"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
442 "gray29"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
443 "grey28"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
444 "gray28"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
445 "grey27"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
446 "gray27"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
447 "grey26"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
448 "gray26"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
449 "grey25"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
450 "gray25"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
451 "grey24"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
452 "gray24"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
453 "grey23"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
454 "gray23"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
455 "grey22"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
456 "gray22"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
457 "grey21"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
458 "gray21"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
459 "grey20"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
460 "gray20"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
461 "grey19"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
462 "gray19"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
463 "grey18"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
464 "gray18"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
465 "grey17"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
466 "gray17"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
467 "grey16"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
468 "gray16"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
469 "grey15"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
470 "gray15"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
471 "grey14"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
472 "gray14"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
473 "grey13"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
474 "gray13"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
475 "grey12"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
476 "gray12"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
477 "grey11"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
478 "gray11"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
479 "grey10"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
480 "gray10"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
481 "grey9"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
482 "gray9"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
483 "grey8"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
484 "gray8"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
485 "grey7"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
486 "gray7"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
487 "grey6"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
488 "gray6"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
489 "grey5"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
490 "gray5"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
491 "grey4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
492 "gray4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
493 "grey3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
494 "gray3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
495 "grey2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
496 "gray2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
497 "grey1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
498 "gray1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
499 "grey0"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
500 "gray0"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
501 "thistle4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
502 "thistle3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
503 "thistle2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
504 "thistle1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
505 "MediumPurple4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
506 "MediumPurple3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
507 "MediumPurple2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
508 "MediumPurple1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
509 "purple4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
510 "purple3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
511 "purple2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
512 "purple1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
513 "DarkOrchid4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
514 "DarkOrchid3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
515 "DarkOrchid2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
516 "DarkOrchid1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
517 "MediumOrchid4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
518 "MediumOrchid3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
519 "MediumOrchid2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
520 "MediumOrchid1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
521 "plum4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
522 "plum3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
523 "plum2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
524 "plum1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
525 "orchid4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
526 "orchid3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
527 "orchid2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
528 "orchid1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
529 "magenta4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
530 "magenta3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
531 "magenta2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
532 "magenta1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
533 "VioletRed4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
534 "VioletRed3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
535 "VioletRed2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
536 "VioletRed1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
537 "maroon4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
538 "maroon3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
539 "maroon2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
540 "maroon1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
541 "PaleVioletRed4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
542 "PaleVioletRed3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
543 "PaleVioletRed2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
544 "PaleVioletRed1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
545 "LightPink4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
546 "LightPink3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
547 "LightPink2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
548 "LightPink1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
549 "pink4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
550 "pink3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
551 "pink2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
552 "pink1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
553 "HotPink4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
554 "HotPink3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
555 "HotPink2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
556 "HotPink1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
557 "DeepPink4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
558 "DeepPink3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
559 "DeepPink2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
560 "DeepPink1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
561 "red4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
562 "red3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
563 "red2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
564 "red1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
565 "OrangeRed4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
566 "OrangeRed3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
567 "OrangeRed2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
568 "OrangeRed1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
569 "tomato4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
570 "tomato3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
571 "tomato2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
572 "tomato1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
573 "coral4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
574 "coral3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
575 "coral2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
576 "coral1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
577 "DarkOrange4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
578 "DarkOrange3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
579 "DarkOrange2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
580 "DarkOrange1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
581 "orange4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
582 "orange3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
583 "orange2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
584 "orange1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
585 "LightSalmon4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
586 "LightSalmon3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
587 "LightSalmon2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
588 "LightSalmon1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
589 "salmon4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
590 "salmon3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
591 "salmon2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
592 "salmon1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
593 "brown4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
594 "brown3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
595 "brown2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
596 "brown1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
597 "firebrick4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
598 "firebrick3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
599 "firebrick2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
600 "firebrick1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
601 "chocolate4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
602 "chocolate3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
603 "chocolate2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
604 "chocolate1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
605 "tan4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
606 "tan3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
607 "tan2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
608 "tan1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
609 "wheat4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
610 "wheat3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
611 "wheat2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
612 "wheat1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
613 "burlywood4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
614 "burlywood3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
615 "burlywood2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
616 "burlywood1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
617 "sienna4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
618 "sienna3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
619 "sienna2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
620 "sienna1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
621 "IndianRed4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
622 "IndianRed3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
623 "IndianRed2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
624 "IndianRed1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
625 "RosyBrown4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
626 "RosyBrown3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
627 "RosyBrown2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
628 "RosyBrown1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
629 "DarkGoldenrod4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
630 "DarkGoldenrod3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
631 "DarkGoldenrod2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
632 "DarkGoldenrod1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
633 "goldenrod4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
634 "goldenrod3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
635 "goldenrod2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
636 "goldenrod1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
637 "gold4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
638 "gold3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
639 "gold2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
640 "gold1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
641 "yellow4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
642 "yellow3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
643 "yellow2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
644 "yellow1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
645 "LightYellow4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
646 "LightYellow3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
647 "LightYellow2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
648 "LightYellow1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
649 "LightGoldenrod4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
650 "LightGoldenrod3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
651 "LightGoldenrod2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
652 "LightGoldenrod1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
653 "khaki4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
654 "khaki3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
655 "khaki2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
656 "khaki1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
657 "DarkOliveGreen4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
658 "DarkOliveGreen3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
659 "DarkOliveGreen2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
660 "DarkOliveGreen1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
661 "OliveDrab4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
662 "OliveDrab3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
663 "OliveDrab2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
664 "OliveDrab1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
665 "chartreuse4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
666 "chartreuse3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
667 "chartreuse2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
668 "chartreuse1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
669 "green4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
670 "green3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
671 "green2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
672 "green1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
673 "SpringGreen4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
674 "SpringGreen3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
675 "SpringGreen2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
676 "SpringGreen1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
677 "PaleGreen4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
678 "PaleGreen3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
679 "PaleGreen2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
680 "PaleGreen1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
681 "SeaGreen4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
682 "SeaGreen3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
683 "SeaGreen2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
684 "SeaGreen1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
685 "DarkSeaGreen4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
686 "DarkSeaGreen3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
687 "DarkSeaGreen2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
688 "DarkSeaGreen1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
689 "aquamarine4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
690 "aquamarine3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
691 "aquamarine2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
692 "aquamarine1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
693 "DarkSlateGray4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
694 "DarkSlateGray3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
695 "DarkSlateGray2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
696 "DarkSlateGray1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
697 "cyan4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
698 "cyan3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
699 "cyan2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
700 "cyan1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
701 "turquoise4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
702 "turquoise3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
703 "turquoise2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
704 "turquoise1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
705 "CadetBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
706 "CadetBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
707 "CadetBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
708 "CadetBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
709 "PaleTurquoise4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
710 "PaleTurquoise3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
711 "PaleTurquoise2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
712 "PaleTurquoise1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
713 "LightCyan4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
714 "LightCyan3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
715 "LightCyan2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
716 "LightCyan1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
717 "LightBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
718 "LightBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
719 "LightBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
720 "LightBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
721 "LightSteelBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
722 "LightSteelBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
723 "LightSteelBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
724 "LightSteelBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
725 "SlateGray4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
726 "SlateGray3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
727 "SlateGray2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
728 "SlateGray1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
729 "LightSkyBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
730 "LightSkyBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
731 "LightSkyBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
732 "LightSkyBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
733 "SkyBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
734 "SkyBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
735 "SkyBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
736 "SkyBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
737 "DeepSkyBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
738 "DeepSkyBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
739 "DeepSkyBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
740 "DeepSkyBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
741 "SteelBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
742 "SteelBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
743 "SteelBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
744 "SteelBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
745 "DodgerBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
746 "DodgerBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
747 "DodgerBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
748 "DodgerBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
749 "blue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
750 "blue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
751 "blue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
752 "blue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
753 "RoyalBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
754 "RoyalBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
755 "RoyalBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
756 "RoyalBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
757 "SlateBlue4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
758 "SlateBlue3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
759 "SlateBlue2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
760 "SlateBlue1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
761 "azure4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
762 "azure3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
763 "azure2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
764 "azure1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
765 "MistyRose4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
766 "MistyRose3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
767 "MistyRose2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
768 "MistyRose1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
769 "LavenderBlush4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
770 "LavenderBlush3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
771 "LavenderBlush2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
772 "LavenderBlush1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
773 "honeydew4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
774 "honeydew3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
775 "honeydew2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
776 "honeydew1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
777 "ivory4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
778 "ivory3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
779 "ivory2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
780 "ivory1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
781 "cornsilk4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
782 "cornsilk3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
783 "cornsilk2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
784 "cornsilk1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
785 "LemonChiffon4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
786 "LemonChiffon3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
787 "LemonChiffon2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
788 "LemonChiffon1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
789 "NavajoWhite4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
790 "NavajoWhite3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
791 "NavajoWhite2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
792 "NavajoWhite1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
793 "PeachPuff4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
794 "PeachPuff3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
795 "PeachPuff2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
796 "PeachPuff1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
797 "bisque4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
798 "bisque3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
799 "bisque2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
800 "bisque1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
801 "AntiqueWhite4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
802 "AntiqueWhite3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
803 "AntiqueWhite2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
804 "AntiqueWhite1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
805 "seashell4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
806 "seashell3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
807 "seashell2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
808 "seashell1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
809 "snow4"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
810 "snow3"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
811 "snow2"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
812 "snow1"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
813 "thistle"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
814 "MediumPurple"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
815 "medium purple"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
816 "purple"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
817 "BlueViolet"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
818 "blue violet"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
819 "DarkViolet"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
820 "dark violet"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
821 "DarkOrchid"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
822 "dark orchid"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
823 "MediumOrchid"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
824 "medium orchid"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
825 "orchid"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
826 "plum"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
827 "violet"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
828 "magenta"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
829 "VioletRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
830 "violet red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
831 "MediumVioletRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
832 "medium violet red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
833 "maroon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
834 "PaleVioletRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
835 "pale violet red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
836 "LightPink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
837 "light pink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
838 "pink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
839 "DeepPink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
840 "deep pink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
841 "HotPink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
842 "hot pink"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
843 "red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
844 "OrangeRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
845 "orange red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
846 "tomato"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
847 "LightCoral"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
848 "light coral"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
849 "coral"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
850 "DarkOrange"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
851 "dark orange"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
852 "orange"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
853 "LightSalmon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
854 "light salmon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
855 "salmon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
856 "DarkSalmon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
857 "dark salmon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
858 "brown"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
859 "firebrick"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
860 "chocolate"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
861 "tan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
862 "SandyBrown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
863 "sandy brown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
864 "wheat"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
865 "beige"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
866 "burlywood"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
867 "peru"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
868 "sienna"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
869 "SaddleBrown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
870 "saddle brown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
871 "IndianRed"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
872 "indian red"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
873 "RosyBrown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
874 "rosy brown"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
875 "DarkGoldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
876 "dark goldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
877 "goldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
878 "LightGoldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
879 "light goldenrod"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
880 "gold"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
881 "yellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
882 "LightYellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
883 "light yellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
884 "LightGoldenrodYellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
885 "light goldenrod yellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
886 "PaleGoldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
887 "pale goldenrod"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
888 "khaki"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
889 "DarkKhaki"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
890 "dark khaki"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
891 "OliveDrab"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
892 "olive drab"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
893 "ForestGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
894 "forest green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
895 "YellowGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
896 "yellow green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
897 "LimeGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
898 "lime green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
899 "GreenYellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
900 "green yellow"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
901 "MediumSpringGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
902 "medium spring green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
903 "chartreuse"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
904 "green"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
905 "LawnGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
906 "lawn green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
907 "SpringGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
908 "spring green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
909 "PaleGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
910 "pale green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
911 "LightSeaGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
912 "light sea green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
913 "MediumSeaGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
914 "medium sea green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
915 "SeaGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
916 "sea green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
917 "DarkSeaGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
918 "dark sea green"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
919 "DarkOliveGreen"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
920 "dark olive green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
921 "DarkGreen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
922 "dark green"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
923 "aquamarine"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
924 "MediumAquamarine"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
925 "medium aquamarine"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
926 "CadetBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
927 "cadet blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
928 "LightCyan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
929 "light cyan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
930 "cyan"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
931 "turquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
932 "MediumTurquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
933 "medium turquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
934 "DarkTurquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
935 "dark turquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
936 "PaleTurquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
937 "pale turquoise"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
938 "PowderBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
939 "powder blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
940 "LightBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
941 "light blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
942 "LightSteelBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
943 "light steel blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
944 "SteelBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
945 "steel blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
946 "LightSkyBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
947 "light sky blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
948 "SkyBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
949 "sky blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
950 "DeepSkyBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
951 "deep sky blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
952 "DodgerBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
953 "dodger blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
954 "blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
955 "RoyalBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
956 "royal blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
957 "MediumBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
958 "medium blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
959 "LightSlateBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
960 "light slate blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
961 "MediumSlateBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
962 "medium slate blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
963 "SlateBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
964 "slate blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
965 "DarkSlateBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
966 "dark slate blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
967 "CornflowerBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
968 "cornflower blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
969 "NavyBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
970 "navy blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
971 "navy"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
972 "MidnightBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
973 "midnight blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
974 "LightGray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
975 "light gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
976 "LightGrey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
977 "light grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
978 "grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
979 "gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
980 "LightSlateGrey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
981 "light slate grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
982 "LightSlateGray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
983 "light slate gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
984 "SlateGrey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
985 "slate grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
986 "SlateGray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
987 "slate gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
988 "DimGrey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
989 "dim grey"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
990 "DimGray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
991 "dim gray"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
992 "DarkSlateGrey"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
993 "dark slate grey"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
994 "DarkSlateGray"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
995 "dark slate gray"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
996 "black"
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
997 "white"
38241
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
998 "MistyRose"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
999 "misty rose"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1000 "LavenderBlush"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1001 "lavender blush"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1002 "lavender"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1003 "AliceBlue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1004 "alice blue"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1005 "azure"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1006 "MintCream"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1007 "mint cream"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1008 "honeydew"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1009 "seashell"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1010 "LemonChiffon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1011 "lemon chiffon"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1012 "ivory"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1013 "cornsilk"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1014 "moccasin"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1015 "NavajoWhite"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1016 "navajo white"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1017 "PeachPuff"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1018 "peach puff"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1019 "bisque"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1020 "BlanchedAlmond"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1021 "blanched almond"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1022 "PapayaWhip"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1023 "papaya whip"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1024 "AntiqueWhite"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1025 "antique white"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1026 "linen"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1027 "OldLace"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1028 "old lace"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1029 "FloralWhite"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1030 "floral white"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1031 "gainsboro"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1032 "WhiteSmoke"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1033 "white smoke"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1034 "GhostWhite"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1035 "ghost white"
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1036 "snow")
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1037 "The list of X colors from the `rgb.txt' file.
c3737c213380 (x-colors): Add colors from the recent rgb.txt file.
Eli Zaretskii <eliz@gnu.org>
parents: 35770
diff changeset
1038 XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1039
26736
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26573
diff changeset
1040 (defun xw-defined-colors (&optional frame)
a0674327c167 Changes for automatic remapping of X colors on terminal frames:
Eli Zaretskii <eliz@gnu.org>
parents: 26573
diff changeset
1041 "Internal function called by `defined-colors', which see."
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1042 (or frame (setq frame (selected-frame)))
16596
0f917c0edc53 (x-defined-colors): Use color names from w32-color-map.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1043 (let* ((color-map-colors (mapcar (lambda (clr) (car clr)) w32-color-map))
0f917c0edc53 (x-defined-colors): Use color names from w32-color-map.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1044 (all-colors (or color-map-colors x-colors))
0f917c0edc53 (x-defined-colors): Use color names from w32-color-map.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1045 (this-color nil)
0f917c0edc53 (x-defined-colors): Use color names from w32-color-map.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1046 (defined-colors nil))
0f917c0edc53 (x-defined-colors): Use color names from w32-color-map.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1047 (message "Defining colors...")
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1048 (while all-colors
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1049 (setq this-color (car all-colors)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1050 all-colors (cdr all-colors))
27101
a5791b2ee668 (xw-defined-colors): Call color-supported-p,
Eli Zaretskii <eliz@gnu.org>
parents: 26736
diff changeset
1051 (and (color-supported-p this-color frame t)
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1052 (setq defined-colors (cons this-color defined-colors))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1053 defined-colors))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1054
19691
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1055
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1056 ;;;; Function keys
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1057
19691
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1058 ;;; make f10 activate the real menubar rather than the mini-buffer menu
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1059 ;;; navigation feature.
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1060 (global-set-key [f10] (lambda ()
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1061 (interactive) (w32-send-sys-command ?\xf100)))
a96c6fa10e92 (w32-handle-scroll-bar-event): On up and
Geoff Voelker <voelker@cs.washington.edu>
parents: 19167
diff changeset
1062
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1063 (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1064 global-map)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1065
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1066
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1067 ;;; Do the actual Windows setup here; the above code just defines
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1068 ;;; functions and variables that we use now.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1069
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1070 (setq command-line-args (x-handle-args command-line-args))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1071
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1072 ;;; Make sure we have a valid resource name.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1073 (or (stringp x-resource-name)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1074 (let (i)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1075 (setq x-resource-name (invocation-name))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1076
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1077 ;; Change any . or * characters in x-resource-name to hyphens,
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1078 ;; so as not to choke when we use it in X resource queries.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1079 (while (setq i (string-match "[.*]" x-resource-name))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1080 (aset x-resource-name i ?-))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1081
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1082 ;; For the benefit of older Emacses (19.27 and earlier) that are sharing
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1083 ;; the same lisp directory, don't pass the third argument unless we seem
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1084 ;; to have the multi-display support.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1085 (if (fboundp 'x-close-connection)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1086 (x-open-connection ""
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1087 x-command-line-resources
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1088 ;; Exit Emacs with fatal error if this fails.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1089 t)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1090 (x-open-connection ""
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1091 x-command-line-resources))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1092
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1093 (setq frame-creation-function 'x-create-frame-with-faces)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1094
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1095 (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1096 x-cut-buffer-max))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1097
16588
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15265
diff changeset
1098 ;; W32 expects the menu bar cut and paste commands to use the clipboard.
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1099 ;; This has ,? to match both on Sunos and on Solaris.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1100 (menu-bar-enable-clipboard)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1101
23636
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1102 ;; W32 systems have different fonts than commonly found on X, so
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1103 ;; we define our own standard fontset here.
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1104 (defvar w32-standard-fontset-spec
24212
36652d90b38f (w32-standard-fontset-spec): Remove wildcard
Geoff Voelker <voelker@cs.washington.edu>
parents: 24142
diff changeset
1105 "-*-Courier New-normal-r-*-*-13-*-*-*-c-*-fontset-standard"
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1106 "String of fontset spec of the standard fontset.
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1107 This defines a fontset consisting of the Courier New variations for
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1108 European languages which are distributed with Windows as
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1109 \"Multilanguage Support\".
23636
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1110
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1111 See the documentation of `create-fontset-from-fontset-spec for the format.")
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1112
42812
c9282c43bb5a Add comments to avoid future deletion of conditionals that seem
Jason Rumney <jasonr@gnu.org>
parents: 42810
diff changeset
1113 ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1114 (if (fboundp 'new-fontset)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1115 (progn
49290
eb2efd226974 Call setup-default-fontset.
Kenichi Handa <handa@m17n.org>
parents: 45786
diff changeset
1116 ;; Setup the default fontset.
eb2efd226974 Call setup-default-fontset.
Kenichi Handa <handa@m17n.org>
parents: 45786
diff changeset
1117 (setup-default-fontset)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1118 ;; Create the standard fontset.
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1119 (create-fontset-from-fontset-spec w32-standard-fontset-spec t)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1120 ;; Create fontset specified in X resources "Fontset-N" (N is 0, 1,...).
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1121 (create-fontset-from-x-resource)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1122 ;; Try to create a fontset from a font specification which comes
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1123 ;; from initial-frame-alist, default-frame-alist, or X resource.
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1124 ;; A font specification in command line argument (i.e. -fn XXXX)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1125 ;; should be already in default-frame-alist as a `font'
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1126 ;; parameter. However, any font specifications in site-start
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1127 ;; library, user's init file (.emacs), and default.el are not
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1128 ;; yet handled here.
23636
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1129
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1130 (let ((font (or (cdr (assq 'font initial-frame-alist))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1131 (cdr (assq 'font default-frame-alist))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1132 (x-get-resource "font" "Font")))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1133 xlfd-fields resolved-name)
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1134 (if (and font
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1135 (not (query-fontset font))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1136 (setq resolved-name (x-resolve-font-name font))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1137 (setq xlfd-fields (x-decompose-font-name font)))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1138 (if (string= "fontset"
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1139 (aref xlfd-fields xlfd-regexp-registry-subnum))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1140 (new-fontset font
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1141 (x-complement-fontset-spec xlfd-fields nil))
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1142 ;; Create a fontset from FONT. The fontset name is
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1143 ;; generated from FONT.
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1144 (create-fontset-from-ascii-font font
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1145 resolved-name "startup"))))))
23636
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1146
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1147 ;; Apply a geometry resource to the initial frame. Put it at the end
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1148 ;; of the alist, so that anything specified on the command line takes
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1149 ;; precedence.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1150 (let* ((res-geometry (x-get-resource "geometry" "Geometry"))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1151 parsed)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1152 (if res-geometry
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1153 (progn
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1154 (setq parsed (x-parse-geometry res-geometry))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1155 ;; If the resource specifies a position,
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1156 ;; call the position and size "user-specified".
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1157 (if (or (assq 'top parsed) (assq 'left parsed))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1158 (setq parsed (cons '(user-position . t)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1159 (cons '(user-size . t) parsed))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1160 ;; All geometry parms apply to the initial frame.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1161 (setq initial-frame-alist (append initial-frame-alist parsed))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1162 ;; The size parms apply to all frames.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1163 (if (assq 'height parsed)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1164 (setq default-frame-alist
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1165 (cons (cons 'height (cdr (assq 'height parsed)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1166 default-frame-alist)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1167 (if (assq 'width parsed)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1168 (setq default-frame-alist
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1169 (cons (cons 'width (cdr (assq 'width parsed)))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1170 default-frame-alist))))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1171
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1172 ;; Check the reverseVideo resource.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1173 (let ((case-fold-search t))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1174 (let ((rv (x-get-resource "reverseVideo" "ReverseVideo")))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1175 (if (and rv
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1176 (string-match "^\\(true\\|yes\\|on\\)$" rv))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1177 (setq default-frame-alist
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1178 (cons '(reverse . t) default-frame-alist)))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1179
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1180 (defun x-win-suspend-error ()
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1181 "Report an error when a suspend is attempted."
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1182 (error "Suspending an Emacs running under W32 makes no sense"))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1183 (add-hook 'suspend-hook 'x-win-suspend-error)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1184
16588
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15265
diff changeset
1185 ;;; Turn off window-splitting optimization; w32 is usually fast enough
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1186 ;;; that this is only annoying.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1187 (setq split-window-keep-point t)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1188
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1189 ;; Don't show the frame name; that's redundant.
19167
337f5643498e Set mode-line-frame-identification
Geoff Voelker <voelker@cs.washington.edu>
parents: 16889
diff changeset
1190 (setq-default mode-line-frame-identification " ")
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1191
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1192 ;;; Set to a system sound if you want a fancy bell.
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1193 (set-message-beep 'ok)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1194
16588
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 15265
diff changeset
1195 ;; Remap some functions to call w32 common dialogs
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1196
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1197 (defun internal-face-interactive (what &optional bool)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1198 (let* ((fn (intern (concat "face-" what)))
27832
866f7a6b82b3 (internal-face-interactive): Update prompt for new read-face-name.
Dave Love <fx@gnu.org>
parents: 27623
diff changeset
1199 (prompt (concat "Set " what " of face "))
866f7a6b82b3 (internal-face-interactive): Update prompt for new read-face-name.
Dave Love <fx@gnu.org>
parents: 27623
diff changeset
1200 (face (read-face-name prompt))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1201 (default (if (fboundp fn)
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1202 (or (funcall fn face (selected-frame))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1203 (funcall fn 'default (selected-frame)))))
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1204 (fn-win (intern (concat (symbol-name window-system) "-select-" what)))
22539
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1205 value)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1206 (setq value
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1207 (cond ((fboundp fn-win)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1208 (funcall fn-win))
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1209 ((eq bool 'color)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1210 (completing-read (concat prompt " " (symbol-name face) " to: ")
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1211 (mapcar (function (lambda (color)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1212 (cons color color)))
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1213 x-colors)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1214 nil nil nil nil default))
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1215 (bool
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1216 (y-or-n-p (concat "Should face " (symbol-name face)
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1217 " be " bool "? ")))
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1218 (t
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1219 (read-string (concat prompt " " (symbol-name face) " to: ")
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1220 nil nil default))))
45ccce07729d (internal-face-interactive): Handle case where BOOL is `color'.
Andrew Innes <andrewi@gnu.org>
parents: 21883
diff changeset
1221 (list face (if (equal value "") nil value))))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1222
24686
f2ecc3b6a45f Change the x-charset-registry property for the
Andrew Innes <andrewi@gnu.org>
parents: 24683
diff changeset
1223 ;;; Enable Japanese fonts on Windows to be used by default.
89581
d297605d3dd3 Don't set fontsets to use sjis.
Jason Rumney <jasonr@gnu.org>
parents: 88123
diff changeset
1224 ;; (set-fontset-font nil (make-char 'katakana-jisx0201) '("*" . "JISX0208-SJIS"))
d297605d3dd3 Don't set fontsets to use sjis.
Jason Rumney <jasonr@gnu.org>
parents: 88123
diff changeset
1225 ;; (set-fontset-font nil (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS"))
d297605d3dd3 Don't set fontsets to use sjis.
Jason Rumney <jasonr@gnu.org>
parents: 88123
diff changeset
1226 ;; (set-fontset-font nil (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS"))
d297605d3dd3 Don't set fontsets to use sjis.
Jason Rumney <jasonr@gnu.org>
parents: 88123
diff changeset
1227 ;; (set-fontset-font nil (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS"))
24686
f2ecc3b6a45f Change the x-charset-registry property for the
Andrew Innes <andrewi@gnu.org>
parents: 24683
diff changeset
1228
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1229 (defun mouse-set-font (&rest fonts)
29322
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1230 "Select a font.
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1231 If `w32-use-w32-font-dialog' is non-nil (the default), use the Windows
16e1a87707b5 Doc changes to reduce diffs with x-win.el.
Jason Rumney <jasonr@gnu.org>
parents: 27887
diff changeset
1232 font dialog to get the matching FONTS. Otherwise use a pop-up menu
35770
b47c7b58e497 (mouse-set-font): Doc fix.
Gerd Moellmann <gerd@gnu.org>
parents: 35753
diff changeset
1233 \(like Emacs on other platforms) initialized with the fonts in
27887
a9f19a6bfb69 (mouse-set-font): Do not build fontset from chosen font.
Jason Rumney <jasonr@gnu.org>
parents: 27832
diff changeset
1234 `w32-fixed-font-alist'."
23560
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1235 (interactive
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1236 (if w32-use-w32-font-dialog
42848
4313f287da4d Move user variables to w32-vars.el and make them defcustoms.
Jason Rumney <jasonr@gnu.org>
parents: 42812
diff changeset
1237 (let ((chosen-font (w32-select-font (selected-frame)
4313f287da4d Move user variables to w32-vars.el and make them defcustoms.
Jason Rumney <jasonr@gnu.org>
parents: 42812
diff changeset
1238 w32-list-proportional-fonts)))
24964
22d526660026 (mouse-set-font): If user uses w32 dialog but
Karl Heuer <kwzh@gnu.org>
parents: 24686
diff changeset
1239 (and chosen-font (list chosen-font)))
23560
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1240 (x-popup-menu
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1241 last-nonmenu-event
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1242 ;; Append list of fontsets currently defined.
42812
c9282c43bb5a Add comments to avoid future deletion of conditionals that seem
Jason Rumney <jasonr@gnu.org>
parents: 42810
diff changeset
1243 ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
23636
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1244 (if (fboundp 'new-fontset)
3246160c5469 (x-get-selection-value): Alias to
Geoff Voelker <voelker@cs.washington.edu>
parents: 23625
diff changeset
1245 (append w32-fixed-font-alist (list (generate-fontset-menu)))))))
23560
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1246 (if fonts
27887
a9f19a6bfb69 (mouse-set-font): Do not build fontset from chosen font.
Jason Rumney <jasonr@gnu.org>
parents: 27832
diff changeset
1247 (let (font)
23560
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1248 (while fonts
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1249 (condition-case nil
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1250 (progn
24212
36652d90b38f (w32-standard-fontset-spec): Remove wildcard
Geoff Voelker <voelker@cs.washington.edu>
parents: 24142
diff changeset
1251 (setq font (car fonts))
27887
a9f19a6bfb69 (mouse-set-font): Do not build fontset from chosen font.
Jason Rumney <jasonr@gnu.org>
parents: 27832
diff changeset
1252 (set-default-font font)
24212
36652d90b38f (w32-standard-fontset-spec): Remove wildcard
Geoff Voelker <voelker@cs.washington.edu>
parents: 24142
diff changeset
1253 (setq fonts nil))
36652d90b38f (w32-standard-fontset-spec): Remove wildcard
Geoff Voelker <voelker@cs.washington.edu>
parents: 24142
diff changeset
1254 (error (setq fonts (cdr fonts)))))
23560
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1255 (if (null font)
6414b7085648 (w32-use-w32-font-dialog, w32-fixed-font-alist):
Geoff Voelker <voelker@cs.washington.edu>
parents: 22539
diff changeset
1256 (error "Font not found")))))
13434
53ba95a88cf2 Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
1257
16889
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16596
diff changeset
1258 ;;; w32-win.el ends here