Commit | Line | Data |
---|---|---|
e8af40ee | 1 | ;;; mac-win.el --- support for "Macintosh windows" |
1a578e9b | 2 | |
a52eeda8 | 3 | ;; Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc. |
1a578e9b | 4 | |
e0f712ba | 5 | ;; Author: Andrew Choi <akochoi@mac.com> |
1a578e9b AC |
6 | |
7 | ;; This file is part of GNU Emacs. | |
8 | ||
9 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
10 | ;; it under the terms of the GNU General Public License as published by | |
11 | ;; the Free Software Foundation; either version 2, or (at your option) | |
12 | ;; any later version. | |
13 | ||
14 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
15 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | ;; GNU General Public License for more details. | |
18 | ||
19 | ;; You should have received a copy of the GNU General Public License | |
20 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
21 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
22 | ;; Boston, MA 02111-1307, USA. | |
23 | ||
e8af40ee PJ |
24 | ;;; Commentary: |
25 | ||
1a578e9b AC |
26 | ;;; Code: |
27 | ||
28 | ;; --------------------------------------------------------------------------- | |
29 | ;; We want to delay setting frame parameters until the faces are setup | |
30 | ||
31 | ;; Mac can't handle ~ prefix in file names | |
32 | ;(setq auto-save-list-file-prefix ".saves-") | |
33 | ||
34 | (setq frame-creation-function 'x-create-frame-with-faces) | |
35 | ||
36 | ;; for debugging | |
37 | ;; (defun mac-handle-scroll-bar-event (event) (interactive "e") (princ event)) | |
38 | ||
39 | ;;(global-set-key [vertical-scroll-bar mouse-1] 'mac-handle-scroll-bar-event) | |
40 | ||
41 | (global-set-key | |
42 | [vertical-scroll-bar down-mouse-1] | |
43 | 'mac-handle-scroll-bar-event) | |
44 | ||
45 | (global-unset-key [vertical-scroll-bar drag-mouse-1]) | |
46 | (global-unset-key [vertical-scroll-bar mouse-1]) | |
47 | ||
fa05f6ac AC |
48 | (require 'scroll-bar) |
49 | ||
1a578e9b AC |
50 | (defun mac-handle-scroll-bar-event (event) |
51 | "Handle scroll bar EVENT to emulate Mac Toolbox style scrolling." | |
52 | (interactive "e") | |
53 | (let* ((position (event-start event)) | |
54 | (window (nth 0 position)) | |
55 | (bar-part (nth 4 position))) | |
56 | (select-window window) | |
57 | (cond | |
58 | ((eq bar-part 'up) | |
59 | (goto-char (window-start window)) | |
60 | (mac-scroll-down-line)) | |
61 | ((eq bar-part 'above-handle) | |
62 | (mac-scroll-down)) | |
63 | ((eq bar-part 'handle) | |
64 | (scroll-bar-drag event)) | |
65 | ((eq bar-part 'below-handle) | |
66 | (mac-scroll-up)) | |
67 | ((eq bar-part 'down) | |
68 | (goto-char (window-start window)) | |
69 | (mac-scroll-up-line))))) | |
70 | ||
71 | (defun mac-scroll-down () | |
72 | (track-mouse | |
73 | (while (not (eq (car-safe (read-event)) 'mouse-1)) nil) | |
74 | (scroll-down))) | |
75 | ||
76 | (defun mac-scroll-down-line () | |
77 | (track-mouse | |
78 | (while (not (eq (car-safe (read-event)) 'mouse-1)) nil) | |
79 | (scroll-down 1))) | |
80 | ||
81 | (defun mac-scroll-up () | |
82 | (track-mouse | |
83 | (while (not (eq (car-safe (read-event)) 'mouse-1)) nil) | |
84 | (scroll-up))) | |
85 | ||
86 | (defun mac-scroll-up-line () | |
87 | (track-mouse | |
88 | (while (not (eq (car-safe (read-event)) 'mouse-1)) nil) | |
89 | (scroll-up 1))) | |
90 | ||
91 | (defun xw-defined-colors (&optional frame) | |
92 | "Internal function called by `defined-colors', which see." | |
93 | (or frame (setq frame (selected-frame))) | |
94 | (let ((all-colors x-colors) | |
95 | (this-color nil) | |
96 | (defined-colors nil)) | |
97 | (while all-colors | |
98 | (setq this-color (car all-colors) | |
99 | all-colors (cdr all-colors)) | |
100 | (and (color-supported-p this-color frame t) | |
101 | (setq defined-colors (cons this-color defined-colors)))) | |
102 | defined-colors)) | |
103 | ||
104 | ;; Don't have this yet. | |
105 | (fset 'x-get-resource 'ignore) | |
106 | ||
525fdbc9 | 107 | (unless (eq system-type 'darwin) |
eb14066a AS |
108 | ;; This variable specifies the Unix program to call (as a process) to |
109 | ;; deteremine the amount of free space on a file system (defaults to | |
110 | ;; df). If it is not set to nil, ls-lisp will not work correctly | |
111 | ;; unless an external application df is implemented on the Mac. | |
112 | (setq directory-free-space-program nil) | |
1a578e9b | 113 | |
eb14066a AS |
114 | ;; Set this so that Emacs calls subprocesses with "sh" as shell to |
115 | ;; expand filenames Note no subprocess for the shell is actually | |
116 | ;; started (see run_mac_command in sysdep.c). | |
117 | (setq shell-file-name "sh")) | |
1a578e9b AC |
118 | |
119 | ;; X Window emulation in macterm.c is not complete enough to start a | |
120 | ;; frame without a minibuffer properly. Call this to tell ediff | |
121 | ;; library to use a single frame. | |
e0f712ba | 122 | ; (ediff-toggle-multiframe) |
1a578e9b | 123 | |
1a578e9b AC |
124 | ;; Setup to use the Mac clipboard. The functions mac-cut-function and |
125 | ;; mac-paste-function are defined in mac.c. | |
126 | (set-selection-coding-system 'compound-text-mac) | |
127 | ||
a6127c0f JPW |
128 | (setq interprogram-cut-function |
129 | '(lambda (str push) | |
1a578e9b | 130 | (mac-cut-function |
a6127c0f | 131 | (encode-coding-string str selection-coding-system t) push))) |
1a578e9b | 132 | |
a6127c0f JPW |
133 | (setq interprogram-paste-function |
134 | '(lambda () | |
135 | (let ((clipboard (mac-paste-function))) | |
136 | (if clipboard | |
137 | (decode-coding-string clipboard selection-coding-system t))))) | |
1a578e9b AC |
138 | |
139 | (defun mac-drag-n-drop (event) | |
140 | "Edit the files listed in the drag-n-drop event.\n\ | |
141 | Switch to a buffer editing the last file dropped." | |
142 | (interactive "e") | |
143 | (save-excursion | |
144 | ;; Make sure the drop target has positive co-ords | |
145 | ;; before setting the selected frame - otherwise it | |
146 | ;; won't work. <skx@tardis.ed.ac.uk> | |
147 | (let* ((window (posn-window (event-start event))) | |
148 | (coords (posn-x-y (event-start event))) | |
149 | (x (car coords)) | |
150 | (y (cdr coords))) | |
151 | (if (and (> x 0) (> y 0)) | |
152 | (set-frame-selected-window nil window)) | |
ae355fa6 AC |
153 | (mapcar |
154 | '(lambda (file) | |
155 | (find-file | |
156 | (decode-coding-string | |
157 | file | |
158 | (or file-name-coding-system | |
159 | default-file-name-coding-system)))) | |
160 | (car (cdr (cdr event))))) | |
1a578e9b AC |
161 | (raise-frame) |
162 | (recenter))) | |
163 | ||
164 | (global-set-key [drag-n-drop] 'mac-drag-n-drop) | |
165 | ||
8f47302e AC |
166 | ;; By checking whether the variable mac-ready-for-drag-n-drop has been |
167 | ;; defined, the event loop in macterm.c can be informed that it can | |
168 | ;; now receive Finder drag and drop events. Files dropped onto the | |
169 | ;; Emacs application icon can only be processed when the initial frame | |
170 | ;; has been created: this is where the files should be opened. | |
171 | (add-hook 'after-init-hook | |
172 | '(lambda () | |
173 | (defvar mac-ready-for-drag-n-drop t))) | |
1a578e9b AC |
174 | |
175 | ; Define constant values to be set to mac-keyboard-text-encoding | |
176 | (defconst kTextEncodingMacRoman 0) | |
177 | (defconst kTextEncodingISOLatin1 513 "0x201") | |
178 | (defconst kTextEncodingISOLatin2 514 "0x202") | |
179 | ||
1a578e9b | 180 | |
dfc064f2 KH |
181 | ;; Create a fontset that uses mac-roman font. With this fontset, |
182 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, | |
183 | ;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font. | |
184 | ||
1a578e9b | 185 | (if (fboundp 'new-fontset) |
4f8b2658 KH |
186 | (create-fontset-from-fontset-spec |
187 | "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac, | |
188 | ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman | |
189 | mac-roman:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")) | |
1a578e9b | 190 | |
1a578e9b | 191 | |
eb14066a AS |
192 | (if (eq system-type 'darwin) |
193 | ;; On Darwin filenames are encoded in UTF-8 | |
194 | (setq file-name-coding-system 'utf-8) | |
195 | ;; To display filenames in Chinese or Japanese, replace mac-roman with | |
196 | ;; big5 or sjis | |
197 | (setq file-name-coding-system 'mac-roman)) | |
1a578e9b | 198 | |
e0f712ba AC |
199 | ;; If Emacs is started from the Finder, change the default directory |
200 | ;; to the user's home directory. | |
201 | (if (string= default-directory "/") | |
202 | (cd "~")) | |
203 | ||
5416884d AC |
204 | ;; Tell Emacs to use pipes instead of pty's for processes because the |
205 | ;; latter sometimes lose characters. Pty support is compiled in since | |
206 | ;; ange-ftp will not work without it. | |
207 | (setq process-connection-type nil) | |
e0f712ba | 208 | |
f00691a3 AC |
209 | ;; Assume that fonts are always scalable on the Mac. This sometimes |
210 | ;; results in characters with jagged edges. However, without it, | |
211 | ;; fonts with both truetype and bitmap representations but no italic | |
212 | ;; or bold bitmap versions will not display these variants correctly. | |
213 | (setq scalable-fonts-allowed t) | |
214 | ||
742fbed7 AC |
215 | ;; Make suspend-emacs [C-z] collapse the current frame |
216 | (substitute-key-definition 'suspend-emacs 'iconify-frame | |
217 | global-map) | |
db95369b | 218 | |
742fbed7 | 219 | ;; Support mouse-wheel scrolling |
e9ec1a29 | 220 | (mouse-wheel-mode 1) |
742fbed7 | 221 | |
1a578e9b AC |
222 | ;; (prefer-coding-system 'mac-roman) |
223 | ||
e989b9bc ST |
224 | ;; Map certain keypad keys into ASCII characters that people usually expect |
225 | (define-key function-key-map [return] [?\C-m]) | |
226 | (define-key function-key-map [M-return] [?\M-\C-m]) | |
058c18c7 AC |
227 | (define-key function-key-map [tab] [?\t]) |
228 | (define-key function-key-map [M-tab] [?\M-\t]) | |
229 | (define-key function-key-map [backspace] [127]) | |
230 | (define-key function-key-map [M-backspace] [?\M-\d]) | |
231 | (define-key function-key-map [escape] [?\e]) | |
232 | (define-key function-key-map [M-escape] [?\M-\e]) | |
233 | ||
e989b9bc ST |
234 | ;; Tell read-char how to convert special chars to ASCII |
235 | (put 'return 'ascii-character 13) | |
236 | ||
1a578e9b AC |
237 | ;; |
238 | ;; Available colors | |
239 | ;; | |
240 | ||
241 | (defvar x-colors '("LightGreen" | |
242 | "light green" | |
243 | "DarkRed" | |
244 | "dark red" | |
245 | "DarkMagenta" | |
246 | "dark magenta" | |
247 | "DarkCyan" | |
248 | "dark cyan" | |
249 | "DarkBlue" | |
250 | "dark blue" | |
251 | "DarkGray" | |
252 | "dark gray" | |
253 | "DarkGrey" | |
254 | "dark grey" | |
255 | "grey100" | |
256 | "gray100" | |
257 | "grey99" | |
258 | "gray99" | |
259 | "grey98" | |
260 | "gray98" | |
261 | "grey97" | |
262 | "gray97" | |
263 | "grey96" | |
264 | "gray96" | |
265 | "grey95" | |
266 | "gray95" | |
267 | "grey94" | |
268 | "gray94" | |
269 | "grey93" | |
270 | "gray93" | |
271 | "grey92" | |
272 | "gray92" | |
273 | "grey91" | |
274 | "gray91" | |
275 | "grey90" | |
276 | "gray90" | |
277 | "grey89" | |
278 | "gray89" | |
279 | "grey88" | |
280 | "gray88" | |
281 | "grey87" | |
282 | "gray87" | |
283 | "grey86" | |
284 | "gray86" | |
285 | "grey85" | |
286 | "gray85" | |
287 | "grey84" | |
288 | "gray84" | |
289 | "grey83" | |
290 | "gray83" | |
291 | "grey82" | |
292 | "gray82" | |
293 | "grey81" | |
294 | "gray81" | |
295 | "grey80" | |
296 | "gray80" | |
297 | "grey79" | |
298 | "gray79" | |
299 | "grey78" | |
300 | "gray78" | |
301 | "grey77" | |
302 | "gray77" | |
303 | "grey76" | |
304 | "gray76" | |
305 | "grey75" | |
306 | "gray75" | |
307 | "grey74" | |
308 | "gray74" | |
309 | "grey73" | |
310 | "gray73" | |
311 | "grey72" | |
312 | "gray72" | |
313 | "grey71" | |
314 | "gray71" | |
315 | "grey70" | |
316 | "gray70" | |
317 | "grey69" | |
318 | "gray69" | |
319 | "grey68" | |
320 | "gray68" | |
321 | "grey67" | |
322 | "gray67" | |
323 | "grey66" | |
324 | "gray66" | |
325 | "grey65" | |
326 | "gray65" | |
327 | "grey64" | |
328 | "gray64" | |
329 | "grey63" | |
330 | "gray63" | |
331 | "grey62" | |
332 | "gray62" | |
333 | "grey61" | |
334 | "gray61" | |
335 | "grey60" | |
336 | "gray60" | |
337 | "grey59" | |
338 | "gray59" | |
339 | "grey58" | |
340 | "gray58" | |
341 | "grey57" | |
342 | "gray57" | |
343 | "grey56" | |
344 | "gray56" | |
345 | "grey55" | |
346 | "gray55" | |
347 | "grey54" | |
348 | "gray54" | |
349 | "grey53" | |
350 | "gray53" | |
351 | "grey52" | |
352 | "gray52" | |
353 | "grey51" | |
354 | "gray51" | |
355 | "grey50" | |
356 | "gray50" | |
357 | "grey49" | |
358 | "gray49" | |
359 | "grey48" | |
360 | "gray48" | |
361 | "grey47" | |
362 | "gray47" | |
363 | "grey46" | |
364 | "gray46" | |
365 | "grey45" | |
366 | "gray45" | |
367 | "grey44" | |
368 | "gray44" | |
369 | "grey43" | |
370 | "gray43" | |
371 | "grey42" | |
372 | "gray42" | |
373 | "grey41" | |
374 | "gray41" | |
375 | "grey40" | |
376 | "gray40" | |
377 | "grey39" | |
378 | "gray39" | |
379 | "grey38" | |
380 | "gray38" | |
381 | "grey37" | |
382 | "gray37" | |
383 | "grey36" | |
384 | "gray36" | |
385 | "grey35" | |
386 | "gray35" | |
387 | "grey34" | |
388 | "gray34" | |
389 | "grey33" | |
390 | "gray33" | |
391 | "grey32" | |
392 | "gray32" | |
393 | "grey31" | |
394 | "gray31" | |
395 | "grey30" | |
396 | "gray30" | |
397 | "grey29" | |
398 | "gray29" | |
399 | "grey28" | |
400 | "gray28" | |
401 | "grey27" | |
402 | "gray27" | |
403 | "grey26" | |
404 | "gray26" | |
405 | "grey25" | |
406 | "gray25" | |
407 | "grey24" | |
408 | "gray24" | |
409 | "grey23" | |
410 | "gray23" | |
411 | "grey22" | |
412 | "gray22" | |
413 | "grey21" | |
414 | "gray21" | |
415 | "grey20" | |
416 | "gray20" | |
417 | "grey19" | |
418 | "gray19" | |
419 | "grey18" | |
420 | "gray18" | |
421 | "grey17" | |
422 | "gray17" | |
423 | "grey16" | |
424 | "gray16" | |
425 | "grey15" | |
426 | "gray15" | |
427 | "grey14" | |
428 | "gray14" | |
429 | "grey13" | |
430 | "gray13" | |
431 | "grey12" | |
432 | "gray12" | |
433 | "grey11" | |
434 | "gray11" | |
435 | "grey10" | |
436 | "gray10" | |
437 | "grey9" | |
438 | "gray9" | |
439 | "grey8" | |
440 | "gray8" | |
441 | "grey7" | |
442 | "gray7" | |
443 | "grey6" | |
444 | "gray6" | |
445 | "grey5" | |
446 | "gray5" | |
447 | "grey4" | |
448 | "gray4" | |
449 | "grey3" | |
450 | "gray3" | |
451 | "grey2" | |
452 | "gray2" | |
453 | "grey1" | |
454 | "gray1" | |
455 | "grey0" | |
456 | "gray0" | |
457 | "thistle4" | |
458 | "thistle3" | |
459 | "thistle2" | |
460 | "thistle1" | |
461 | "MediumPurple4" | |
462 | "MediumPurple3" | |
463 | "MediumPurple2" | |
464 | "MediumPurple1" | |
465 | "purple4" | |
466 | "purple3" | |
467 | "purple2" | |
468 | "purple1" | |
469 | "DarkOrchid4" | |
470 | "DarkOrchid3" | |
471 | "DarkOrchid2" | |
472 | "DarkOrchid1" | |
473 | "MediumOrchid4" | |
474 | "MediumOrchid3" | |
475 | "MediumOrchid2" | |
476 | "MediumOrchid1" | |
477 | "plum4" | |
478 | "plum3" | |
479 | "plum2" | |
480 | "plum1" | |
481 | "orchid4" | |
482 | "orchid3" | |
483 | "orchid2" | |
484 | "orchid1" | |
485 | "magenta4" | |
486 | "magenta3" | |
487 | "magenta2" | |
488 | "magenta1" | |
489 | "VioletRed4" | |
490 | "VioletRed3" | |
491 | "VioletRed2" | |
492 | "VioletRed1" | |
493 | "maroon4" | |
494 | "maroon3" | |
495 | "maroon2" | |
496 | "maroon1" | |
497 | "PaleVioletRed4" | |
498 | "PaleVioletRed3" | |
499 | "PaleVioletRed2" | |
500 | "PaleVioletRed1" | |
501 | "LightPink4" | |
502 | "LightPink3" | |
503 | "LightPink2" | |
504 | "LightPink1" | |
505 | "pink4" | |
506 | "pink3" | |
507 | "pink2" | |
508 | "pink1" | |
509 | "HotPink4" | |
510 | "HotPink3" | |
511 | "HotPink2" | |
512 | "HotPink1" | |
513 | "DeepPink4" | |
514 | "DeepPink3" | |
515 | "DeepPink2" | |
516 | "DeepPink1" | |
517 | "red4" | |
518 | "red3" | |
519 | "red2" | |
520 | "red1" | |
521 | "OrangeRed4" | |
522 | "OrangeRed3" | |
523 | "OrangeRed2" | |
524 | "OrangeRed1" | |
525 | "tomato4" | |
526 | "tomato3" | |
527 | "tomato2" | |
528 | "tomato1" | |
529 | "coral4" | |
530 | "coral3" | |
531 | "coral2" | |
532 | "coral1" | |
533 | "DarkOrange4" | |
534 | "DarkOrange3" | |
535 | "DarkOrange2" | |
536 | "DarkOrange1" | |
537 | "orange4" | |
538 | "orange3" | |
539 | "orange2" | |
540 | "orange1" | |
541 | "LightSalmon4" | |
542 | "LightSalmon3" | |
543 | "LightSalmon2" | |
544 | "LightSalmon1" | |
545 | "salmon4" | |
546 | "salmon3" | |
547 | "salmon2" | |
548 | "salmon1" | |
549 | "brown4" | |
550 | "brown3" | |
551 | "brown2" | |
552 | "brown1" | |
553 | "firebrick4" | |
554 | "firebrick3" | |
555 | "firebrick2" | |
556 | "firebrick1" | |
557 | "chocolate4" | |
558 | "chocolate3" | |
559 | "chocolate2" | |
560 | "chocolate1" | |
561 | "tan4" | |
562 | "tan3" | |
563 | "tan2" | |
564 | "tan1" | |
565 | "wheat4" | |
566 | "wheat3" | |
567 | "wheat2" | |
568 | "wheat1" | |
569 | "burlywood4" | |
570 | "burlywood3" | |
571 | "burlywood2" | |
572 | "burlywood1" | |
573 | "sienna4" | |
574 | "sienna3" | |
575 | "sienna2" | |
576 | "sienna1" | |
577 | "IndianRed4" | |
578 | "IndianRed3" | |
579 | "IndianRed2" | |
580 | "IndianRed1" | |
581 | "RosyBrown4" | |
582 | "RosyBrown3" | |
583 | "RosyBrown2" | |
584 | "RosyBrown1" | |
585 | "DarkGoldenrod4" | |
586 | "DarkGoldenrod3" | |
587 | "DarkGoldenrod2" | |
588 | "DarkGoldenrod1" | |
589 | "goldenrod4" | |
590 | "goldenrod3" | |
591 | "goldenrod2" | |
592 | "goldenrod1" | |
593 | "gold4" | |
594 | "gold3" | |
595 | "gold2" | |
596 | "gold1" | |
597 | "yellow4" | |
598 | "yellow3" | |
599 | "yellow2" | |
600 | "yellow1" | |
601 | "LightYellow4" | |
602 | "LightYellow3" | |
603 | "LightYellow2" | |
604 | "LightYellow1" | |
605 | "LightGoldenrod4" | |
606 | "LightGoldenrod3" | |
607 | "LightGoldenrod2" | |
608 | "LightGoldenrod1" | |
609 | "khaki4" | |
610 | "khaki3" | |
611 | "khaki2" | |
612 | "khaki1" | |
613 | "DarkOliveGreen4" | |
614 | "DarkOliveGreen3" | |
615 | "DarkOliveGreen2" | |
616 | "DarkOliveGreen1" | |
617 | "OliveDrab4" | |
618 | "OliveDrab3" | |
619 | "OliveDrab2" | |
620 | "OliveDrab1" | |
621 | "chartreuse4" | |
622 | "chartreuse3" | |
623 | "chartreuse2" | |
624 | "chartreuse1" | |
625 | "green4" | |
626 | "green3" | |
627 | "green2" | |
628 | "green1" | |
629 | "SpringGreen4" | |
630 | "SpringGreen3" | |
631 | "SpringGreen2" | |
632 | "SpringGreen1" | |
633 | "PaleGreen4" | |
634 | "PaleGreen3" | |
635 | "PaleGreen2" | |
636 | "PaleGreen1" | |
637 | "SeaGreen4" | |
638 | "SeaGreen3" | |
639 | "SeaGreen2" | |
640 | "SeaGreen1" | |
641 | "DarkSeaGreen4" | |
642 | "DarkSeaGreen3" | |
643 | "DarkSeaGreen2" | |
644 | "DarkSeaGreen1" | |
645 | "aquamarine4" | |
646 | "aquamarine3" | |
647 | "aquamarine2" | |
648 | "aquamarine1" | |
649 | "DarkSlateGray4" | |
650 | "DarkSlateGray3" | |
651 | "DarkSlateGray2" | |
652 | "DarkSlateGray1" | |
653 | "cyan4" | |
654 | "cyan3" | |
655 | "cyan2" | |
656 | "cyan1" | |
657 | "turquoise4" | |
658 | "turquoise3" | |
659 | "turquoise2" | |
660 | "turquoise1" | |
661 | "CadetBlue4" | |
662 | "CadetBlue3" | |
663 | "CadetBlue2" | |
664 | "CadetBlue1" | |
665 | "PaleTurquoise4" | |
666 | "PaleTurquoise3" | |
667 | "PaleTurquoise2" | |
668 | "PaleTurquoise1" | |
669 | "LightCyan4" | |
670 | "LightCyan3" | |
671 | "LightCyan2" | |
672 | "LightCyan1" | |
673 | "LightBlue4" | |
674 | "LightBlue3" | |
675 | "LightBlue2" | |
676 | "LightBlue1" | |
677 | "LightSteelBlue4" | |
678 | "LightSteelBlue3" | |
679 | "LightSteelBlue2" | |
680 | "LightSteelBlue1" | |
681 | "SlateGray4" | |
682 | "SlateGray3" | |
683 | "SlateGray2" | |
684 | "SlateGray1" | |
685 | "LightSkyBlue4" | |
686 | "LightSkyBlue3" | |
687 | "LightSkyBlue2" | |
688 | "LightSkyBlue1" | |
689 | "SkyBlue4" | |
690 | "SkyBlue3" | |
691 | "SkyBlue2" | |
692 | "SkyBlue1" | |
693 | "DeepSkyBlue4" | |
694 | "DeepSkyBlue3" | |
695 | "DeepSkyBlue2" | |
696 | "DeepSkyBlue1" | |
697 | "SteelBlue4" | |
698 | "SteelBlue3" | |
699 | "SteelBlue2" | |
700 | "SteelBlue1" | |
701 | "DodgerBlue4" | |
702 | "DodgerBlue3" | |
703 | "DodgerBlue2" | |
704 | "DodgerBlue1" | |
705 | "blue4" | |
706 | "blue3" | |
707 | "blue2" | |
708 | "blue1" | |
709 | "RoyalBlue4" | |
710 | "RoyalBlue3" | |
711 | "RoyalBlue2" | |
712 | "RoyalBlue1" | |
713 | "SlateBlue4" | |
714 | "SlateBlue3" | |
715 | "SlateBlue2" | |
716 | "SlateBlue1" | |
717 | "azure4" | |
718 | "azure3" | |
719 | "azure2" | |
720 | "azure1" | |
721 | "MistyRose4" | |
722 | "MistyRose3" | |
723 | "MistyRose2" | |
724 | "MistyRose1" | |
725 | "LavenderBlush4" | |
726 | "LavenderBlush3" | |
727 | "LavenderBlush2" | |
728 | "LavenderBlush1" | |
729 | "honeydew4" | |
730 | "honeydew3" | |
731 | "honeydew2" | |
732 | "honeydew1" | |
733 | "ivory4" | |
734 | "ivory3" | |
735 | "ivory2" | |
736 | "ivory1" | |
737 | "cornsilk4" | |
738 | "cornsilk3" | |
739 | "cornsilk2" | |
740 | "cornsilk1" | |
741 | "LemonChiffon4" | |
742 | "LemonChiffon3" | |
743 | "LemonChiffon2" | |
744 | "LemonChiffon1" | |
745 | "NavajoWhite4" | |
746 | "NavajoWhite3" | |
747 | "NavajoWhite2" | |
748 | "NavajoWhite1" | |
749 | "PeachPuff4" | |
750 | "PeachPuff3" | |
751 | "PeachPuff2" | |
752 | "PeachPuff1" | |
753 | "bisque4" | |
754 | "bisque3" | |
755 | "bisque2" | |
756 | "bisque1" | |
757 | "AntiqueWhite4" | |
758 | "AntiqueWhite3" | |
759 | "AntiqueWhite2" | |
760 | "AntiqueWhite1" | |
761 | "seashell4" | |
762 | "seashell3" | |
763 | "seashell2" | |
764 | "seashell1" | |
765 | "snow4" | |
766 | "snow3" | |
767 | "snow2" | |
768 | "snow1" | |
769 | "thistle" | |
770 | "MediumPurple" | |
771 | "medium purple" | |
772 | "purple" | |
773 | "BlueViolet" | |
774 | "blue violet" | |
775 | "DarkViolet" | |
776 | "dark violet" | |
777 | "DarkOrchid" | |
778 | "dark orchid" | |
779 | "MediumOrchid" | |
780 | "medium orchid" | |
781 | "orchid" | |
782 | "plum" | |
783 | "violet" | |
784 | "magenta" | |
785 | "VioletRed" | |
786 | "violet red" | |
787 | "MediumVioletRed" | |
788 | "medium violet red" | |
789 | "maroon" | |
790 | "PaleVioletRed" | |
791 | "pale violet red" | |
792 | "LightPink" | |
793 | "light pink" | |
794 | "pink" | |
795 | "DeepPink" | |
796 | "deep pink" | |
797 | "HotPink" | |
798 | "hot pink" | |
799 | "red" | |
800 | "OrangeRed" | |
801 | "orange red" | |
802 | "tomato" | |
803 | "LightCoral" | |
804 | "light coral" | |
805 | "coral" | |
806 | "DarkOrange" | |
807 | "dark orange" | |
808 | "orange" | |
809 | "LightSalmon" | |
810 | "light salmon" | |
811 | "salmon" | |
812 | "DarkSalmon" | |
813 | "dark salmon" | |
814 | "brown" | |
815 | "firebrick" | |
816 | "chocolate" | |
817 | "tan" | |
818 | "SandyBrown" | |
819 | "sandy brown" | |
820 | "wheat" | |
821 | "beige" | |
822 | "burlywood" | |
823 | "peru" | |
824 | "sienna" | |
825 | "SaddleBrown" | |
826 | "saddle brown" | |
827 | "IndianRed" | |
828 | "indian red" | |
829 | "RosyBrown" | |
830 | "rosy brown" | |
831 | "DarkGoldenrod" | |
832 | "dark goldenrod" | |
833 | "goldenrod" | |
834 | "LightGoldenrod" | |
835 | "light goldenrod" | |
836 | "gold" | |
837 | "yellow" | |
838 | "LightYellow" | |
839 | "light yellow" | |
840 | "LightGoldenrodYellow" | |
841 | "light goldenrod yellow" | |
842 | "PaleGoldenrod" | |
843 | "pale goldenrod" | |
844 | "khaki" | |
845 | "DarkKhaki" | |
846 | "dark khaki" | |
847 | "OliveDrab" | |
848 | "olive drab" | |
849 | "ForestGreen" | |
850 | "forest green" | |
851 | "YellowGreen" | |
852 | "yellow green" | |
853 | "LimeGreen" | |
854 | "lime green" | |
855 | "GreenYellow" | |
856 | "green yellow" | |
857 | "MediumSpringGreen" | |
858 | "medium spring green" | |
859 | "chartreuse" | |
860 | "green" | |
861 | "LawnGreen" | |
862 | "lawn green" | |
863 | "SpringGreen" | |
864 | "spring green" | |
865 | "PaleGreen" | |
866 | "pale green" | |
867 | "LightSeaGreen" | |
868 | "light sea green" | |
869 | "MediumSeaGreen" | |
870 | "medium sea green" | |
871 | "SeaGreen" | |
872 | "sea green" | |
873 | "DarkSeaGreen" | |
874 | "dark sea green" | |
875 | "DarkOliveGreen" | |
876 | "dark olive green" | |
877 | "DarkGreen" | |
878 | "dark green" | |
879 | "aquamarine" | |
880 | "MediumAquamarine" | |
881 | "medium aquamarine" | |
882 | "CadetBlue" | |
883 | "cadet blue" | |
884 | "LightCyan" | |
885 | "light cyan" | |
886 | "cyan" | |
887 | "turquoise" | |
888 | "MediumTurquoise" | |
889 | "medium turquoise" | |
890 | "DarkTurquoise" | |
891 | "dark turquoise" | |
892 | "PaleTurquoise" | |
893 | "pale turquoise" | |
894 | "PowderBlue" | |
895 | "powder blue" | |
896 | "LightBlue" | |
897 | "light blue" | |
898 | "LightSteelBlue" | |
899 | "light steel blue" | |
900 | "SteelBlue" | |
901 | "steel blue" | |
902 | "LightSkyBlue" | |
903 | "light sky blue" | |
904 | "SkyBlue" | |
905 | "sky blue" | |
906 | "DeepSkyBlue" | |
907 | "deep sky blue" | |
908 | "DodgerBlue" | |
909 | "dodger blue" | |
910 | "blue" | |
911 | "RoyalBlue" | |
912 | "royal blue" | |
913 | "MediumBlue" | |
914 | "medium blue" | |
915 | "LightSlateBlue" | |
916 | "light slate blue" | |
917 | "MediumSlateBlue" | |
918 | "medium slate blue" | |
919 | "SlateBlue" | |
920 | "slate blue" | |
921 | "DarkSlateBlue" | |
922 | "dark slate blue" | |
923 | "CornflowerBlue" | |
924 | "cornflower blue" | |
925 | "NavyBlue" | |
926 | "navy blue" | |
927 | "navy" | |
928 | "MidnightBlue" | |
929 | "midnight blue" | |
930 | "LightGray" | |
931 | "light gray" | |
932 | "LightGrey" | |
933 | "light grey" | |
934 | "grey" | |
935 | "gray" | |
936 | "LightSlateGrey" | |
937 | "light slate grey" | |
938 | "LightSlateGray" | |
939 | "light slate gray" | |
940 | "SlateGrey" | |
941 | "slate grey" | |
942 | "SlateGray" | |
943 | "slate gray" | |
944 | "DimGrey" | |
945 | "dim grey" | |
946 | "DimGray" | |
947 | "dim gray" | |
948 | "DarkSlateGrey" | |
949 | "dark slate grey" | |
950 | "DarkSlateGray" | |
951 | "dark slate gray" | |
952 | "black" | |
953 | "white" | |
954 | "MistyRose" | |
955 | "misty rose" | |
956 | "LavenderBlush" | |
957 | "lavender blush" | |
958 | "lavender" | |
959 | "AliceBlue" | |
960 | "alice blue" | |
961 | "azure" | |
962 | "MintCream" | |
963 | "mint cream" | |
964 | "honeydew" | |
965 | "seashell" | |
966 | "LemonChiffon" | |
967 | "lemon chiffon" | |
968 | "ivory" | |
969 | "cornsilk" | |
970 | "moccasin" | |
971 | "NavajoWhite" | |
972 | "navajo white" | |
973 | "PeachPuff" | |
974 | "peach puff" | |
975 | "bisque" | |
976 | "BlanchedAlmond" | |
977 | "blanched almond" | |
978 | "PapayaWhip" | |
979 | "papaya whip" | |
980 | "AntiqueWhite" | |
981 | "antique white" | |
982 | "linen" | |
983 | "OldLace" | |
984 | "old lace" | |
985 | "FloralWhite" | |
986 | "floral white" | |
987 | "gainsboro" | |
988 | "WhiteSmoke" | |
989 | "white smoke" | |
990 | "GhostWhite" | |
991 | "ghost white" | |
992 | "snow") | |
993 | "The list of X colors from the `rgb.txt' file. | |
994 | XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp") | |
995 | ||
6b61353c | 996 | ;;; arch-tag: 71dfcd14-cde8-4d66-b05c-85ec94fb23a6 |
1a578e9b | 997 | ;;; mac-win.el ends here |