annotate lisp/term/w32-win.el @ 92068:dd458038bf78

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