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