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