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