Commit | Line | Data |
---|---|---|
e8af40ee | 1 | ;;; mac-win.el --- support for "Macintosh windows" |
1a578e9b AC |
2 | |
3 | ;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. | |
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 | ||
1a578e9b AC |
107 | ;; This variable specifies the Unix program to call (as a process) to |
108 | ;; deteremine the amount of free space on a file system (defaults to | |
109 | ;; df). If it is not set to nil, ls-lisp will not work correctly | |
110 | ;; unless an external application df is implemented on the Mac. | |
591b63b4 AC |
111 | (require 'dired) |
112 | ||
1a578e9b AC |
113 | (setq dired-free-space-program nil) |
114 | ||
115 | ;; Set this so that Emacs calls subprocesses with "sh" as shell to | |
116 | ;; expand filenames Note no subprocess for the shell is actually | |
117 | ;; started (see run_mac_command in sysdep.c). | |
118 | (setq shell-file-name "sh") | |
119 | ||
120 | ;; X Window emulation in macterm.c is not complete enough to start a | |
121 | ;; frame without a minibuffer properly. Call this to tell ediff | |
122 | ;; library to use a single frame. | |
e0f712ba | 123 | ; (ediff-toggle-multiframe) |
1a578e9b | 124 | |
1a578e9b AC |
125 | ;; Setup to use the Mac clipboard. The functions mac-cut-function and |
126 | ;; mac-paste-function are defined in mac.c. | |
127 | (set-selection-coding-system 'compound-text-mac) | |
128 | ||
129 | (setq interprogram-cut-function | |
130 | '(lambda (str push) | |
131 | (mac-cut-function | |
132 | (encode-coding-string str selection-coding-system t) push))) | |
133 | ||
134 | (setq interprogram-paste-function | |
135 | '(lambda () | |
136 | (decode-coding-string | |
137 | (mac-paste-function) selection-coding-system t))) | |
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 AC |
180 | |
181 | (define-ccl-program ccl-encode-mac-roman-font | |
182 | `(0 | |
dfc064f2 KH |
183 | (if (r0 != ,(charset-id 'ascii)) |
184 | (if (r0 == ,(charset-id 'latin-iso8859-1)) | |
185 | (translate-character mac-roman-encoder r0 r1) | |
186 | ((r1 <<= 7) | |
187 | (r1 |= r2) | |
188 | (translate-character mac-roman-encoder r0 r1))))) | |
189 | "CCL program for Mac Roman font") | |
1a578e9b AC |
190 | |
191 | (setq font-ccl-encoder-alist | |
192 | (cons '("mac-roman" . ccl-encode-mac-roman-font) | |
193 | font-ccl-encoder-alist)) | |
194 | ||
dfc064f2 KH |
195 | ;; Create a fontset that uses mac-roman font. With this fontset, |
196 | ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1, | |
197 | ;; and mule-unicode-xxxx-yyyy) are displayed by a mac-roman font. | |
198 | ||
1a578e9b AC |
199 | (if (fboundp 'new-fontset) |
200 | (progn | |
201 | (create-fontset-from-fontset-spec | |
202 | "-etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac, | |
dfc064f2 KH |
203 | ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman") |
204 | (let ((monaco-font '("monaco" . "mac-roman"))) | |
205 | (map-char-table | |
206 | (function | |
207 | (lambda (key val) | |
208 | (or (generic-char-p key) | |
209 | (memq (char-charset key) | |
210 | '(ascii eight-bit-control eight-bit-graphic)) | |
211 | (set-fontset-font "fontset-mac" key monaco-font)))) | |
212 | (get 'mac-roman-encoder 'translation-table))))) | |
1a578e9b AC |
213 | |
214 | ;; To display filenames in Chinese or Japanese, replace mac-roman with | |
215 | ;; big5 or sjis | |
216 | (setq file-name-coding-system 'mac-roman) | |
217 | ||
e0f712ba AC |
218 | ;; If Emacs is started from the Finder, change the default directory |
219 | ;; to the user's home directory. | |
220 | (if (string= default-directory "/") | |
221 | (cd "~")) | |
222 | ||
223 | ;; Tell Emacs to use pipes instead of pty's for processes because the | |
224 | ;; latter sometimes lose characters. Pty support is compiled in since | |
225 | ;; ange-ftp will not work without it. | |
226 | (setq process-connection-type nil) | |
227 | ||
1a578e9b AC |
228 | ;; (prefer-coding-system 'mac-roman) |
229 | ||
1a578e9b AC |
230 | ;; |
231 | ;; Available colors | |
232 | ;; | |
233 | ||
234 | (defvar x-colors '("LightGreen" | |
235 | "light green" | |
236 | "DarkRed" | |
237 | "dark red" | |
238 | "DarkMagenta" | |
239 | "dark magenta" | |
240 | "DarkCyan" | |
241 | "dark cyan" | |
242 | "DarkBlue" | |
243 | "dark blue" | |
244 | "DarkGray" | |
245 | "dark gray" | |
246 | "DarkGrey" | |
247 | "dark grey" | |
248 | "grey100" | |
249 | "gray100" | |
250 | "grey99" | |
251 | "gray99" | |
252 | "grey98" | |
253 | "gray98" | |
254 | "grey97" | |
255 | "gray97" | |
256 | "grey96" | |
257 | "gray96" | |
258 | "grey95" | |
259 | "gray95" | |
260 | "grey94" | |
261 | "gray94" | |
262 | "grey93" | |
263 | "gray93" | |
264 | "grey92" | |
265 | "gray92" | |
266 | "grey91" | |
267 | "gray91" | |
268 | "grey90" | |
269 | "gray90" | |
270 | "grey89" | |
271 | "gray89" | |
272 | "grey88" | |
273 | "gray88" | |
274 | "grey87" | |
275 | "gray87" | |
276 | "grey86" | |
277 | "gray86" | |
278 | "grey85" | |
279 | "gray85" | |
280 | "grey84" | |
281 | "gray84" | |
282 | "grey83" | |
283 | "gray83" | |
284 | "grey82" | |
285 | "gray82" | |
286 | "grey81" | |
287 | "gray81" | |
288 | "grey80" | |
289 | "gray80" | |
290 | "grey79" | |
291 | "gray79" | |
292 | "grey78" | |
293 | "gray78" | |
294 | "grey77" | |
295 | "gray77" | |
296 | "grey76" | |
297 | "gray76" | |
298 | "grey75" | |
299 | "gray75" | |
300 | "grey74" | |
301 | "gray74" | |
302 | "grey73" | |
303 | "gray73" | |
304 | "grey72" | |
305 | "gray72" | |
306 | "grey71" | |
307 | "gray71" | |
308 | "grey70" | |
309 | "gray70" | |
310 | "grey69" | |
311 | "gray69" | |
312 | "grey68" | |
313 | "gray68" | |
314 | "grey67" | |
315 | "gray67" | |
316 | "grey66" | |
317 | "gray66" | |
318 | "grey65" | |
319 | "gray65" | |
320 | "grey64" | |
321 | "gray64" | |
322 | "grey63" | |
323 | "gray63" | |
324 | "grey62" | |
325 | "gray62" | |
326 | "grey61" | |
327 | "gray61" | |
328 | "grey60" | |
329 | "gray60" | |
330 | "grey59" | |
331 | "gray59" | |
332 | "grey58" | |
333 | "gray58" | |
334 | "grey57" | |
335 | "gray57" | |
336 | "grey56" | |
337 | "gray56" | |
338 | "grey55" | |
339 | "gray55" | |
340 | "grey54" | |
341 | "gray54" | |
342 | "grey53" | |
343 | "gray53" | |
344 | "grey52" | |
345 | "gray52" | |
346 | "grey51" | |
347 | "gray51" | |
348 | "grey50" | |
349 | "gray50" | |
350 | "grey49" | |
351 | "gray49" | |
352 | "grey48" | |
353 | "gray48" | |
354 | "grey47" | |
355 | "gray47" | |
356 | "grey46" | |
357 | "gray46" | |
358 | "grey45" | |
359 | "gray45" | |
360 | "grey44" | |
361 | "gray44" | |
362 | "grey43" | |
363 | "gray43" | |
364 | "grey42" | |
365 | "gray42" | |
366 | "grey41" | |
367 | "gray41" | |
368 | "grey40" | |
369 | "gray40" | |
370 | "grey39" | |
371 | "gray39" | |
372 | "grey38" | |
373 | "gray38" | |
374 | "grey37" | |
375 | "gray37" | |
376 | "grey36" | |
377 | "gray36" | |
378 | "grey35" | |
379 | "gray35" | |
380 | "grey34" | |
381 | "gray34" | |
382 | "grey33" | |
383 | "gray33" | |
384 | "grey32" | |
385 | "gray32" | |
386 | "grey31" | |
387 | "gray31" | |
388 | "grey30" | |
389 | "gray30" | |
390 | "grey29" | |
391 | "gray29" | |
392 | "grey28" | |
393 | "gray28" | |
394 | "grey27" | |
395 | "gray27" | |
396 | "grey26" | |
397 | "gray26" | |
398 | "grey25" | |
399 | "gray25" | |
400 | "grey24" | |
401 | "gray24" | |
402 | "grey23" | |
403 | "gray23" | |
404 | "grey22" | |
405 | "gray22" | |
406 | "grey21" | |
407 | "gray21" | |
408 | "grey20" | |
409 | "gray20" | |
410 | "grey19" | |
411 | "gray19" | |
412 | "grey18" | |
413 | "gray18" | |
414 | "grey17" | |
415 | "gray17" | |
416 | "grey16" | |
417 | "gray16" | |
418 | "grey15" | |
419 | "gray15" | |
420 | "grey14" | |
421 | "gray14" | |
422 | "grey13" | |
423 | "gray13" | |
424 | "grey12" | |
425 | "gray12" | |
426 | "grey11" | |
427 | "gray11" | |
428 | "grey10" | |
429 | "gray10" | |
430 | "grey9" | |
431 | "gray9" | |
432 | "grey8" | |
433 | "gray8" | |
434 | "grey7" | |
435 | "gray7" | |
436 | "grey6" | |
437 | "gray6" | |
438 | "grey5" | |
439 | "gray5" | |
440 | "grey4" | |
441 | "gray4" | |
442 | "grey3" | |
443 | "gray3" | |
444 | "grey2" | |
445 | "gray2" | |
446 | "grey1" | |
447 | "gray1" | |
448 | "grey0" | |
449 | "gray0" | |
450 | "thistle4" | |
451 | "thistle3" | |
452 | "thistle2" | |
453 | "thistle1" | |
454 | "MediumPurple4" | |
455 | "MediumPurple3" | |
456 | "MediumPurple2" | |
457 | "MediumPurple1" | |
458 | "purple4" | |
459 | "purple3" | |
460 | "purple2" | |
461 | "purple1" | |
462 | "DarkOrchid4" | |
463 | "DarkOrchid3" | |
464 | "DarkOrchid2" | |
465 | "DarkOrchid1" | |
466 | "MediumOrchid4" | |
467 | "MediumOrchid3" | |
468 | "MediumOrchid2" | |
469 | "MediumOrchid1" | |
470 | "plum4" | |
471 | "plum3" | |
472 | "plum2" | |
473 | "plum1" | |
474 | "orchid4" | |
475 | "orchid3" | |
476 | "orchid2" | |
477 | "orchid1" | |
478 | "magenta4" | |
479 | "magenta3" | |
480 | "magenta2" | |
481 | "magenta1" | |
482 | "VioletRed4" | |
483 | "VioletRed3" | |
484 | "VioletRed2" | |
485 | "VioletRed1" | |
486 | "maroon4" | |
487 | "maroon3" | |
488 | "maroon2" | |
489 | "maroon1" | |
490 | "PaleVioletRed4" | |
491 | "PaleVioletRed3" | |
492 | "PaleVioletRed2" | |
493 | "PaleVioletRed1" | |
494 | "LightPink4" | |
495 | "LightPink3" | |
496 | "LightPink2" | |
497 | "LightPink1" | |
498 | "pink4" | |
499 | "pink3" | |
500 | "pink2" | |
501 | "pink1" | |
502 | "HotPink4" | |
503 | "HotPink3" | |
504 | "HotPink2" | |
505 | "HotPink1" | |
506 | "DeepPink4" | |
507 | "DeepPink3" | |
508 | "DeepPink2" | |
509 | "DeepPink1" | |
510 | "red4" | |
511 | "red3" | |
512 | "red2" | |
513 | "red1" | |
514 | "OrangeRed4" | |
515 | "OrangeRed3" | |
516 | "OrangeRed2" | |
517 | "OrangeRed1" | |
518 | "tomato4" | |
519 | "tomato3" | |
520 | "tomato2" | |
521 | "tomato1" | |
522 | "coral4" | |
523 | "coral3" | |
524 | "coral2" | |
525 | "coral1" | |
526 | "DarkOrange4" | |
527 | "DarkOrange3" | |
528 | "DarkOrange2" | |
529 | "DarkOrange1" | |
530 | "orange4" | |
531 | "orange3" | |
532 | "orange2" | |
533 | "orange1" | |
534 | "LightSalmon4" | |
535 | "LightSalmon3" | |
536 | "LightSalmon2" | |
537 | "LightSalmon1" | |
538 | "salmon4" | |
539 | "salmon3" | |
540 | "salmon2" | |
541 | "salmon1" | |
542 | "brown4" | |
543 | "brown3" | |
544 | "brown2" | |
545 | "brown1" | |
546 | "firebrick4" | |
547 | "firebrick3" | |
548 | "firebrick2" | |
549 | "firebrick1" | |
550 | "chocolate4" | |
551 | "chocolate3" | |
552 | "chocolate2" | |
553 | "chocolate1" | |
554 | "tan4" | |
555 | "tan3" | |
556 | "tan2" | |
557 | "tan1" | |
558 | "wheat4" | |
559 | "wheat3" | |
560 | "wheat2" | |
561 | "wheat1" | |
562 | "burlywood4" | |
563 | "burlywood3" | |
564 | "burlywood2" | |
565 | "burlywood1" | |
566 | "sienna4" | |
567 | "sienna3" | |
568 | "sienna2" | |
569 | "sienna1" | |
570 | "IndianRed4" | |
571 | "IndianRed3" | |
572 | "IndianRed2" | |
573 | "IndianRed1" | |
574 | "RosyBrown4" | |
575 | "RosyBrown3" | |
576 | "RosyBrown2" | |
577 | "RosyBrown1" | |
578 | "DarkGoldenrod4" | |
579 | "DarkGoldenrod3" | |
580 | "DarkGoldenrod2" | |
581 | "DarkGoldenrod1" | |
582 | "goldenrod4" | |
583 | "goldenrod3" | |
584 | "goldenrod2" | |
585 | "goldenrod1" | |
586 | "gold4" | |
587 | "gold3" | |
588 | "gold2" | |
589 | "gold1" | |
590 | "yellow4" | |
591 | "yellow3" | |
592 | "yellow2" | |
593 | "yellow1" | |
594 | "LightYellow4" | |
595 | "LightYellow3" | |
596 | "LightYellow2" | |
597 | "LightYellow1" | |
598 | "LightGoldenrod4" | |
599 | "LightGoldenrod3" | |
600 | "LightGoldenrod2" | |
601 | "LightGoldenrod1" | |
602 | "khaki4" | |
603 | "khaki3" | |
604 | "khaki2" | |
605 | "khaki1" | |
606 | "DarkOliveGreen4" | |
607 | "DarkOliveGreen3" | |
608 | "DarkOliveGreen2" | |
609 | "DarkOliveGreen1" | |
610 | "OliveDrab4" | |
611 | "OliveDrab3" | |
612 | "OliveDrab2" | |
613 | "OliveDrab1" | |
614 | "chartreuse4" | |
615 | "chartreuse3" | |
616 | "chartreuse2" | |
617 | "chartreuse1" | |
618 | "green4" | |
619 | "green3" | |
620 | "green2" | |
621 | "green1" | |
622 | "SpringGreen4" | |
623 | "SpringGreen3" | |
624 | "SpringGreen2" | |
625 | "SpringGreen1" | |
626 | "PaleGreen4" | |
627 | "PaleGreen3" | |
628 | "PaleGreen2" | |
629 | "PaleGreen1" | |
630 | "SeaGreen4" | |
631 | "SeaGreen3" | |
632 | "SeaGreen2" | |
633 | "SeaGreen1" | |
634 | "DarkSeaGreen4" | |
635 | "DarkSeaGreen3" | |
636 | "DarkSeaGreen2" | |
637 | "DarkSeaGreen1" | |
638 | "aquamarine4" | |
639 | "aquamarine3" | |
640 | "aquamarine2" | |
641 | "aquamarine1" | |
642 | "DarkSlateGray4" | |
643 | "DarkSlateGray3" | |
644 | "DarkSlateGray2" | |
645 | "DarkSlateGray1" | |
646 | "cyan4" | |
647 | "cyan3" | |
648 | "cyan2" | |
649 | "cyan1" | |
650 | "turquoise4" | |
651 | "turquoise3" | |
652 | "turquoise2" | |
653 | "turquoise1" | |
654 | "CadetBlue4" | |
655 | "CadetBlue3" | |
656 | "CadetBlue2" | |
657 | "CadetBlue1" | |
658 | "PaleTurquoise4" | |
659 | "PaleTurquoise3" | |
660 | "PaleTurquoise2" | |
661 | "PaleTurquoise1" | |
662 | "LightCyan4" | |
663 | "LightCyan3" | |
664 | "LightCyan2" | |
665 | "LightCyan1" | |
666 | "LightBlue4" | |
667 | "LightBlue3" | |
668 | "LightBlue2" | |
669 | "LightBlue1" | |
670 | "LightSteelBlue4" | |
671 | "LightSteelBlue3" | |
672 | "LightSteelBlue2" | |
673 | "LightSteelBlue1" | |
674 | "SlateGray4" | |
675 | "SlateGray3" | |
676 | "SlateGray2" | |
677 | "SlateGray1" | |
678 | "LightSkyBlue4" | |
679 | "LightSkyBlue3" | |
680 | "LightSkyBlue2" | |
681 | "LightSkyBlue1" | |
682 | "SkyBlue4" | |
683 | "SkyBlue3" | |
684 | "SkyBlue2" | |
685 | "SkyBlue1" | |
686 | "DeepSkyBlue4" | |
687 | "DeepSkyBlue3" | |
688 | "DeepSkyBlue2" | |
689 | "DeepSkyBlue1" | |
690 | "SteelBlue4" | |
691 | "SteelBlue3" | |
692 | "SteelBlue2" | |
693 | "SteelBlue1" | |
694 | "DodgerBlue4" | |
695 | "DodgerBlue3" | |
696 | "DodgerBlue2" | |
697 | "DodgerBlue1" | |
698 | "blue4" | |
699 | "blue3" | |
700 | "blue2" | |
701 | "blue1" | |
702 | "RoyalBlue4" | |
703 | "RoyalBlue3" | |
704 | "RoyalBlue2" | |
705 | "RoyalBlue1" | |
706 | "SlateBlue4" | |
707 | "SlateBlue3" | |
708 | "SlateBlue2" | |
709 | "SlateBlue1" | |
710 | "azure4" | |
711 | "azure3" | |
712 | "azure2" | |
713 | "azure1" | |
714 | "MistyRose4" | |
715 | "MistyRose3" | |
716 | "MistyRose2" | |
717 | "MistyRose1" | |
718 | "LavenderBlush4" | |
719 | "LavenderBlush3" | |
720 | "LavenderBlush2" | |
721 | "LavenderBlush1" | |
722 | "honeydew4" | |
723 | "honeydew3" | |
724 | "honeydew2" | |
725 | "honeydew1" | |
726 | "ivory4" | |
727 | "ivory3" | |
728 | "ivory2" | |
729 | "ivory1" | |
730 | "cornsilk4" | |
731 | "cornsilk3" | |
732 | "cornsilk2" | |
733 | "cornsilk1" | |
734 | "LemonChiffon4" | |
735 | "LemonChiffon3" | |
736 | "LemonChiffon2" | |
737 | "LemonChiffon1" | |
738 | "NavajoWhite4" | |
739 | "NavajoWhite3" | |
740 | "NavajoWhite2" | |
741 | "NavajoWhite1" | |
742 | "PeachPuff4" | |
743 | "PeachPuff3" | |
744 | "PeachPuff2" | |
745 | "PeachPuff1" | |
746 | "bisque4" | |
747 | "bisque3" | |
748 | "bisque2" | |
749 | "bisque1" | |
750 | "AntiqueWhite4" | |
751 | "AntiqueWhite3" | |
752 | "AntiqueWhite2" | |
753 | "AntiqueWhite1" | |
754 | "seashell4" | |
755 | "seashell3" | |
756 | "seashell2" | |
757 | "seashell1" | |
758 | "snow4" | |
759 | "snow3" | |
760 | "snow2" | |
761 | "snow1" | |
762 | "thistle" | |
763 | "MediumPurple" | |
764 | "medium purple" | |
765 | "purple" | |
766 | "BlueViolet" | |
767 | "blue violet" | |
768 | "DarkViolet" | |
769 | "dark violet" | |
770 | "DarkOrchid" | |
771 | "dark orchid" | |
772 | "MediumOrchid" | |
773 | "medium orchid" | |
774 | "orchid" | |
775 | "plum" | |
776 | "violet" | |
777 | "magenta" | |
778 | "VioletRed" | |
779 | "violet red" | |
780 | "MediumVioletRed" | |
781 | "medium violet red" | |
782 | "maroon" | |
783 | "PaleVioletRed" | |
784 | "pale violet red" | |
785 | "LightPink" | |
786 | "light pink" | |
787 | "pink" | |
788 | "DeepPink" | |
789 | "deep pink" | |
790 | "HotPink" | |
791 | "hot pink" | |
792 | "red" | |
793 | "OrangeRed" | |
794 | "orange red" | |
795 | "tomato" | |
796 | "LightCoral" | |
797 | "light coral" | |
798 | "coral" | |
799 | "DarkOrange" | |
800 | "dark orange" | |
801 | "orange" | |
802 | "LightSalmon" | |
803 | "light salmon" | |
804 | "salmon" | |
805 | "DarkSalmon" | |
806 | "dark salmon" | |
807 | "brown" | |
808 | "firebrick" | |
809 | "chocolate" | |
810 | "tan" | |
811 | "SandyBrown" | |
812 | "sandy brown" | |
813 | "wheat" | |
814 | "beige" | |
815 | "burlywood" | |
816 | "peru" | |
817 | "sienna" | |
818 | "SaddleBrown" | |
819 | "saddle brown" | |
820 | "IndianRed" | |
821 | "indian red" | |
822 | "RosyBrown" | |
823 | "rosy brown" | |
824 | "DarkGoldenrod" | |
825 | "dark goldenrod" | |
826 | "goldenrod" | |
827 | "LightGoldenrod" | |
828 | "light goldenrod" | |
829 | "gold" | |
830 | "yellow" | |
831 | "LightYellow" | |
832 | "light yellow" | |
833 | "LightGoldenrodYellow" | |
834 | "light goldenrod yellow" | |
835 | "PaleGoldenrod" | |
836 | "pale goldenrod" | |
837 | "khaki" | |
838 | "DarkKhaki" | |
839 | "dark khaki" | |
840 | "OliveDrab" | |
841 | "olive drab" | |
842 | "ForestGreen" | |
843 | "forest green" | |
844 | "YellowGreen" | |
845 | "yellow green" | |
846 | "LimeGreen" | |
847 | "lime green" | |
848 | "GreenYellow" | |
849 | "green yellow" | |
850 | "MediumSpringGreen" | |
851 | "medium spring green" | |
852 | "chartreuse" | |
853 | "green" | |
854 | "LawnGreen" | |
855 | "lawn green" | |
856 | "SpringGreen" | |
857 | "spring green" | |
858 | "PaleGreen" | |
859 | "pale green" | |
860 | "LightSeaGreen" | |
861 | "light sea green" | |
862 | "MediumSeaGreen" | |
863 | "medium sea green" | |
864 | "SeaGreen" | |
865 | "sea green" | |
866 | "DarkSeaGreen" | |
867 | "dark sea green" | |
868 | "DarkOliveGreen" | |
869 | "dark olive green" | |
870 | "DarkGreen" | |
871 | "dark green" | |
872 | "aquamarine" | |
873 | "MediumAquamarine" | |
874 | "medium aquamarine" | |
875 | "CadetBlue" | |
876 | "cadet blue" | |
877 | "LightCyan" | |
878 | "light cyan" | |
879 | "cyan" | |
880 | "turquoise" | |
881 | "MediumTurquoise" | |
882 | "medium turquoise" | |
883 | "DarkTurquoise" | |
884 | "dark turquoise" | |
885 | "PaleTurquoise" | |
886 | "pale turquoise" | |
887 | "PowderBlue" | |
888 | "powder blue" | |
889 | "LightBlue" | |
890 | "light blue" | |
891 | "LightSteelBlue" | |
892 | "light steel blue" | |
893 | "SteelBlue" | |
894 | "steel blue" | |
895 | "LightSkyBlue" | |
896 | "light sky blue" | |
897 | "SkyBlue" | |
898 | "sky blue" | |
899 | "DeepSkyBlue" | |
900 | "deep sky blue" | |
901 | "DodgerBlue" | |
902 | "dodger blue" | |
903 | "blue" | |
904 | "RoyalBlue" | |
905 | "royal blue" | |
906 | "MediumBlue" | |
907 | "medium blue" | |
908 | "LightSlateBlue" | |
909 | "light slate blue" | |
910 | "MediumSlateBlue" | |
911 | "medium slate blue" | |
912 | "SlateBlue" | |
913 | "slate blue" | |
914 | "DarkSlateBlue" | |
915 | "dark slate blue" | |
916 | "CornflowerBlue" | |
917 | "cornflower blue" | |
918 | "NavyBlue" | |
919 | "navy blue" | |
920 | "navy" | |
921 | "MidnightBlue" | |
922 | "midnight blue" | |
923 | "LightGray" | |
924 | "light gray" | |
925 | "LightGrey" | |
926 | "light grey" | |
927 | "grey" | |
928 | "gray" | |
929 | "LightSlateGrey" | |
930 | "light slate grey" | |
931 | "LightSlateGray" | |
932 | "light slate gray" | |
933 | "SlateGrey" | |
934 | "slate grey" | |
935 | "SlateGray" | |
936 | "slate gray" | |
937 | "DimGrey" | |
938 | "dim grey" | |
939 | "DimGray" | |
940 | "dim gray" | |
941 | "DarkSlateGrey" | |
942 | "dark slate grey" | |
943 | "DarkSlateGray" | |
944 | "dark slate gray" | |
945 | "black" | |
946 | "white" | |
947 | "MistyRose" | |
948 | "misty rose" | |
949 | "LavenderBlush" | |
950 | "lavender blush" | |
951 | "lavender" | |
952 | "AliceBlue" | |
953 | "alice blue" | |
954 | "azure" | |
955 | "MintCream" | |
956 | "mint cream" | |
957 | "honeydew" | |
958 | "seashell" | |
959 | "LemonChiffon" | |
960 | "lemon chiffon" | |
961 | "ivory" | |
962 | "cornsilk" | |
963 | "moccasin" | |
964 | "NavajoWhite" | |
965 | "navajo white" | |
966 | "PeachPuff" | |
967 | "peach puff" | |
968 | "bisque" | |
969 | "BlanchedAlmond" | |
970 | "blanched almond" | |
971 | "PapayaWhip" | |
972 | "papaya whip" | |
973 | "AntiqueWhite" | |
974 | "antique white" | |
975 | "linen" | |
976 | "OldLace" | |
977 | "old lace" | |
978 | "FloralWhite" | |
979 | "floral white" | |
980 | "gainsboro" | |
981 | "WhiteSmoke" | |
982 | "white smoke" | |
983 | "GhostWhite" | |
984 | "ghost white" | |
985 | "snow") | |
986 | "The list of X colors from the `rgb.txt' file. | |
987 | XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp") | |
988 | ||
989 | ;;; mac-win.el ends here |