aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-04-15 18:31:09 +0000
committerEli Zaretskii2002-04-15 18:31:09 +0000
commitaef1692217530e39fb3497a756d9fe809a3fef7f (patch)
treea1eba6d7cc3cc5ec28630bce0b06ca4ece111afa
parent54ef70a20c8247f84e3b178e9bf6db10c4abd126 (diff)
downloademacs-aef1692217530e39fb3497a756d9fe809a3fef7f.tar.gz
emacs-aef1692217530e39fb3497a756d9fe809a3fef7f.zip
(ediff-current-diff-face-A)
(ediff-current-diff-face-B, ediff-current-diff-face-C) (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A) (ediff-fine-diff-face-B, ediff-fine-diff-face-C) (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A) (ediff-even-diff-face-B, ediff-even-diff-face-C) (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A) (ediff-odd-diff-face-B, ediff-odd-diff-face-C) (ediff-odd-diff-face-Ancestor): Add special color definitions for tty and MS-DOS displays.
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/ediff-init.el84
2 files changed, 69 insertions, 28 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 518c7fee87d..7baa9808f67 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,16 @@
12002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * ediff-init.el (ediff-current-diff-face-A)
4 (ediff-current-diff-face-B, ediff-current-diff-face-C)
5 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
6 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
7 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
8 (ediff-even-diff-face-B, ediff-even-diff-face-C)
9 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
10 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
11 (ediff-odd-diff-face-Ancestor): Add special color definitions for
12 tty and MS-DOS displays.
13
12002-04-15 Andrew Innes <andrewi@gnu.org> 142002-04-15 Andrew Innes <andrewi@gnu.org>
2 15
3 * facemenu.el: Require wid-edit. 16 * facemenu.el: Require wid-edit.
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el
index dd4e6ac7a19..ad59b18d3fd 100644
--- a/lisp/ediff-init.el
+++ b/lisp/ediff-init.el
@@ -902,8 +902,9 @@ to temp files when Ediff needs to find fine differences."
902 902
903 903
904(defface ediff-current-diff-face-A 904(defface ediff-current-diff-face-A
905 '((((class color)) (:foreground "firebrick" :background "pale green")) 905 '((((type tty)) (:foreground "blue3" :background "yellow3"))
906 (t (:inverse-video t))) 906 (((class color)) (:foreground "firebrick" :background "pale green"))
907 (t (:inverse-video t)))
907 "Face for highlighting the selected difference in buffer A." 908 "Face for highlighting the selected difference in buffer A."
908 :group 'ediff-highlighting) 909 :group 'ediff-highlighting)
909;; An internal variable. Ediff takes the face from here. When unhighlighting, 910;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -924,8 +925,10 @@ this variable represents.")
924 925
925 926
926(defface ediff-current-diff-face-B 927(defface ediff-current-diff-face-B
927 '((((class color)) (:foreground "DarkOrchid" :background "Yellow")) 928 '((((type tty)) (:foreground "magenta3" :background "yellow3"
928 (t (:inverse-video t))) 929 :weight bold))
930 (((class color)) (:foreground "DarkOrchid" :background "Yellow"))
931 (t (:inverse-video t)))
929 "Face for highlighting the selected difference in buffer B." 932 "Face for highlighting the selected difference in buffer B."
930 :group 'ediff-highlighting) 933 :group 'ediff-highlighting)
931;; An internal variable. Ediff takes the face from here. When unhighlighting, 934;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -945,8 +948,9 @@ this variable represents.")
945 948
946 949
947(defface ediff-current-diff-face-C 950(defface ediff-current-diff-face-C
948 '((((class color)) (:foreground "Navy" :background "Pink")) 951 '((((type tty)) (:foreground "cyan3" :background "yellow3" :weight bold))
949 (t (:inverse-video t))) 952 (((class color)) (:foreground "Navy" :background "Pink"))
953 (t (:inverse-video t)))
950 "Face for highlighting the selected difference in buffer C." 954 "Face for highlighting the selected difference in buffer C."
951 :group 'ediff-highlighting) 955 :group 'ediff-highlighting)
952;; An internal variable. Ediff takes the face from here. When unhighlighting, 956;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -966,7 +970,8 @@ this variable represents.")
966 970
967 971
968(defface ediff-current-diff-face-Ancestor 972(defface ediff-current-diff-face-Ancestor
969 '((((class color)) (:foreground "Black" :background "VioletRed")) 973 '((((type tty)) (:foreground "black" :background "magenta3"))
974 (((class color)) (:foreground "Black" :background "VioletRed"))
970 (t (:inverse-video t))) 975 (t (:inverse-video t)))
971 "Face for highlighting the selected difference in buffer Ancestor." 976 "Face for highlighting the selected difference in buffer Ancestor."
972 :group 'ediff-highlighting) 977 :group 'ediff-highlighting)
@@ -987,7 +992,8 @@ this variable represents.")
987 992
988 993
989(defface ediff-fine-diff-face-A 994(defface ediff-fine-diff-face-A
990 '((((class color)) (:foreground "Navy" :background "sky blue")) 995 '((((type tty)) (:foreground "white" :background "sky blue" :weight bold))
996 (((class color)) (:foreground "Navy" :background "sky blue"))
991 (t (:underline t :stipple "gray3"))) 997 (t (:underline t :stipple "gray3")))
992 "Face for highlighting the refinement of the selected diff in buffer A." 998 "Face for highlighting the refinement of the selected diff in buffer A."
993 :group 'ediff-highlighting) 999 :group 'ediff-highlighting)
@@ -1001,8 +1007,9 @@ this variable represents.")
1001(ediff-hide-face 'ediff-fine-diff-face-A) 1007(ediff-hide-face 'ediff-fine-diff-face-A)
1002 1008
1003(defface ediff-fine-diff-face-B 1009(defface ediff-fine-diff-face-B
1004 '((((class color)) (:foreground "Black" :background "cyan")) 1010 '((((type tty)) (:foreground "magenta3" :background "cyan3"))
1005 (t (:underline t :stipple "gray3"))) 1011 (((class color)) (:foreground "Black" :background "cyan"))
1012 (t (:underline t :stipple "gray3")))
1006 "Face for highlighting the refinement of the selected diff in buffer B." 1013 "Face for highlighting the refinement of the selected diff in buffer B."
1007 :group 'ediff-highlighting) 1014 :group 'ediff-highlighting)
1008;; An internal variable. Ediff takes the face from here. When unhighlighting, 1015;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1015,7 +1022,10 @@ this variable represents.")
1015(ediff-hide-face 'ediff-fine-diff-face-B) 1022(ediff-hide-face 'ediff-fine-diff-face-B)
1016 1023
1017(defface ediff-fine-diff-face-C 1024(defface ediff-fine-diff-face-C
1018 '((((class color)) (:foreground "Black" :background "Turquoise")) 1025 '((((type tty)) (:foreground "yellow3" :background "Turquoise"
1026 :weight bold))
1027 (((type pc)) (:foreground "white" :background "Turquoise"))
1028 (((class color)) (:foreground "Black" :background "Turquoise"))
1019 (t (:underline t :stipple "gray3"))) 1029 (t (:underline t :stipple "gray3")))
1020 "Face for highlighting the refinement of the selected diff in buffer C." 1030 "Face for highlighting the refinement of the selected diff in buffer C."
1021 :group 'ediff-highlighting) 1031 :group 'ediff-highlighting)
@@ -1029,8 +1039,9 @@ this variable represents.")
1029(ediff-hide-face 'ediff-fine-diff-face-C) 1039(ediff-hide-face 'ediff-fine-diff-face-C)
1030 1040
1031(defface ediff-fine-diff-face-Ancestor 1041(defface ediff-fine-diff-face-Ancestor
1032 '((((class color)) (:foreground "Black" :background "Green")) 1042 '((((type tty)) (:foreground "red3" :background "green"))
1033 (t (:underline t :stipple "gray3"))) 1043 (((class color)) (:foreground "Black" :background "Green"))
1044 (t (:underline t :stipple "gray3")))
1034 "Face for highlighting the refinement of the selected diff in the ancestor buffer. 1045 "Face for highlighting the refinement of the selected diff in the ancestor buffer.
1035At present, this face is not used and no fine differences are computed for the 1046At present, this face is not used and no fine differences are computed for the
1036ancestor buffer." 1047ancestor buffer."
@@ -1054,8 +1065,11 @@ this variable represents.")
1054 (t "Stipple"))) 1065 (t "Stipple")))
1055 1066
1056(defface ediff-even-diff-face-A 1067(defface ediff-even-diff-face-A
1057 `((((class color)) (:foreground "Black" :background "light grey")) 1068 `((((type tty)) (:foreground "red3" :background "light grey"
1058 (t (:italic t :stipple ,stipple-pixmap))) 1069 :weight bold))
1070 (((type pc)) (:foreground "green3" :background "light grey"))
1071 (((class color)) (:foreground "Black" :background "light grey"))
1072 (t (:italic t :stipple ,stipple-pixmap)))
1059 "Face for highlighting even-numbered non-current differences in buffer A." 1073 "Face for highlighting even-numbered non-current differences in buffer A."
1060 :group 'ediff-highlighting) 1074 :group 'ediff-highlighting)
1061;; An internal variable. Ediff takes the face from here. When unhighlighting, 1075;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1068,8 +1082,9 @@ this variable represents.")
1068(ediff-hide-face 'ediff-even-diff-face-A) 1082(ediff-hide-face 'ediff-even-diff-face-A)
1069 1083
1070(defface ediff-even-diff-face-B 1084(defface ediff-even-diff-face-B
1071 `((((class color)) (:foreground "White" :background "Grey")) 1085 `((((type tty)) (:foreground "blue3" :background "Grey" :weight bold))
1072 (t (:italic t :stipple ,stipple-pixmap))) 1086 (((class color)) (:foreground "White" :background "Grey"))
1087 (t (:italic t :stipple ,stipple-pixmap)))
1073 "Face for highlighting even-numbered non-current differences in buffer B." 1088 "Face for highlighting even-numbered non-current differences in buffer B."
1074 :group 'ediff-highlighting) 1089 :group 'ediff-highlighting)
1075;; An internal variable. Ediff takes the face from here. When unhighlighting, 1090;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1082,8 +1097,11 @@ this variable represents.")
1082(ediff-hide-face 'ediff-even-diff-face-B) 1097(ediff-hide-face 'ediff-even-diff-face-B)
1083 1098
1084(defface ediff-even-diff-face-C 1099(defface ediff-even-diff-face-C
1085 `((((class color)) (:foreground "Black" :background "light grey")) 1100 `((((type tty)) (:foreground "yellow3" :background "light grey"
1086 (t (:italic t :stipple ,stipple-pixmap))) 1101 :weight bold))
1102 (((type pc)) (:foreground "yellow3" :background "light grey"))
1103 (((class color)) (:foreground "Black" :background "light grey"))
1104 (t (:italic t :stipple ,stipple-pixmap)))
1087 "Face for highlighting even-numbered non-current differences in buffer C." 1105 "Face for highlighting even-numbered non-current differences in buffer C."
1088 :group 'ediff-highlighting) 1106 :group 'ediff-highlighting)
1089;; An internal variable. Ediff takes the face from here. When unhighlighting, 1107;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1096,7 +1114,10 @@ this variable represents.")
1096(ediff-hide-face 'ediff-even-diff-face-C) 1114(ediff-hide-face 'ediff-even-diff-face-C)
1097 1115
1098(defface ediff-even-diff-face-Ancestor 1116(defface ediff-even-diff-face-Ancestor
1099 `((((class color)) (:foreground "White" :background "Grey")) 1117 `((((type tty)) (:foreground "cyan3" :background "light grey"
1118 :weight bold))
1119 (((type pc)) (:foreground "cyan3" :background "light grey"))
1120 (((class color)) (:foreground "White" :background "Grey"))
1100 (t (:italic t :stipple ,stipple-pixmap))) 1121 (t (:italic t :stipple ,stipple-pixmap)))
1101 "Face for highlighting even-numbered non-current differences in the ancestor buffer." 1122 "Face for highlighting even-numbered non-current differences in the ancestor buffer."
1102 :group 'ediff-highlighting) 1123 :group 'ediff-highlighting)
@@ -1117,8 +1138,10 @@ this variable represents.")
1117 (Ancestor . ediff-even-diff-face-Ancestor))) 1138 (Ancestor . ediff-even-diff-face-Ancestor)))
1118 1139
1119(defface ediff-odd-diff-face-A 1140(defface ediff-odd-diff-face-A
1120 '((((class color)) (:foreground "White" :background "Grey")) 1141 '((((type tty)) (:foreground "red3" :background "black" :weight bold))
1121 (t (:italic t :stipple "gray1"))) 1142 (((type pc)) (:foreground "green3" :background "gray40"))
1143 (((class color)) (:foreground "White" :background "Grey"))
1144 (t (:italic t :stipple "gray1")))
1122 "Face for highlighting odd-numbered non-current differences in buffer A." 1145 "Face for highlighting odd-numbered non-current differences in buffer A."
1123 :group 'ediff-highlighting) 1146 :group 'ediff-highlighting)
1124;; An internal variable. Ediff takes the face from here. When unhighlighting, 1147;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1132,8 +1155,10 @@ this variable represents.")
1132 1155
1133 1156
1134(defface ediff-odd-diff-face-B 1157(defface ediff-odd-diff-face-B
1135 '((((class color)) (:foreground "Black" :background "light grey")) 1158 '((((type tty)) (:foreground "cyan3" :background "black" :weight bold))
1136 (t (:italic t :stipple "gray1"))) 1159 (((type pc)) (:foreground "White" :background "gray40"))
1160 (((class color)) (:foreground "Black" :background "light grey"))
1161 (t (:italic t :stipple "gray1")))
1137 "Face for highlighting odd-numbered non-current differences in buffer B." 1162 "Face for highlighting odd-numbered non-current differences in buffer B."
1138 :group 'ediff-highlighting) 1163 :group 'ediff-highlighting)
1139;; An internal variable. Ediff takes the face from here. When unhighlighting, 1164;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1146,8 +1171,10 @@ this variable represents.")
1146(ediff-hide-face 'ediff-odd-diff-face-B) 1171(ediff-hide-face 'ediff-odd-diff-face-B)
1147 1172
1148(defface ediff-odd-diff-face-C 1173(defface ediff-odd-diff-face-C
1149 '((((class color)) (:foreground "White" :background "Grey")) 1174 '((((type tty)) (:foreground "yellow3" :background "black" :weight bold))
1150 (t (:italic t :stipple "gray1"))) 1175 (((type pc)) (:foreground "yellow3" :background "gray40"))
1176 (((class color)) (:foreground "White" :background "Grey"))
1177 (t (:italic t :stipple "gray1")))
1151 "Face for highlighting odd-numbered non-current differences in buffer C." 1178 "Face for highlighting odd-numbered non-current differences in buffer C."
1152 :group 'ediff-highlighting) 1179 :group 'ediff-highlighting)
1153;; An internal variable. Ediff takes the face from here. When unhighlighting, 1180;; An internal variable. Ediff takes the face from here. When unhighlighting,
@@ -1160,8 +1187,9 @@ this variable represents.")
1160(ediff-hide-face 'ediff-odd-diff-face-C) 1187(ediff-hide-face 'ediff-odd-diff-face-C)
1161 1188
1162(defface ediff-odd-diff-face-Ancestor 1189(defface ediff-odd-diff-face-Ancestor
1163 '((((class color)) (:foreground "Black" :background "light grey")) 1190 '((((type tty)) (:foreground "green3" :background "black" :weight bold))
1164 (t (:italic t :stipple "gray1"))) 1191 (((class color)) (:foreground "cyan3" :background "gray40"))
1192 (t (:italic t :stipple "gray1")))
1165 "Face for highlighting odd-numbered non-current differences in the ancestor buffer." 1193 "Face for highlighting odd-numbered non-current differences in the ancestor buffer."
1166 :group 'ediff-highlighting) 1194 :group 'ediff-highlighting)
1167;; An internal variable. Ediff takes the face from here. When unhighlighting, 1195;; An internal variable. Ediff takes the face from here. When unhighlighting,