aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2014-06-18 11:54:11 +0300
committerJuri Linkov2014-06-18 11:54:11 +0300
commit382ceb2cdbedc06b06d9fb424d83f531339a3311 (patch)
treefd72dadd4e2d56bc3af7cd260d5257b4f45188bd
parent1a63945352257ede0289d37dd8a71e2cfa84f2ea (diff)
downloademacs-382ceb2cdbedc06b06d9fb424d83f531339a3311.tar.gz
emacs-382ceb2cdbedc06b06d9fb424d83f531339a3311.zip
* lisp/vc/ediff-init.el (ediff-current-diff-Ancestor)
(ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B) (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): Add `min-colors 88' version with removed black/white foregrounds. Fixes: debbugs:10181
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/vc/ediff-init.el28
2 files changed, 33 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c8229b6eb23..8b2478533da 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,14 @@
12014-06-18 Juri Linkov <juri@jurta.org> 12014-06-18 Juri Linkov <juri@jurta.org>
2 2
3 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
5 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
6 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7 Add `min-colors 88' version with removed black/white foregrounds.
8 (Bug#10181)
9
102014-06-18 Juri Linkov <juri@jurta.org>
11
3 * vc/diff-mode.el (diff-changed): Empty face definition to use 12 * vc/diff-mode.el (diff-changed): Empty face definition to use
4 `diff-removed' and `diff-added' on tty as well. (Bug#10181) 13 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
5 (diff-context): Use darker color on light background and 14 (diff-context): Use darker color on light background and
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el
index dd0d76485bf..af45acd3c37 100644
--- a/lisp/vc/ediff-init.el
+++ b/lisp/vc/ediff-init.el
@@ -949,7 +949,9 @@ this variable represents.")
949 949
950(defface ediff-current-diff-Ancestor 950(defface ediff-current-diff-Ancestor
951 (if (featurep 'emacs) 951 (if (featurep 'emacs)
952 '((((class color) (min-colors 16)) 952 '((((class color) (min-colors 88))
953 (:background "VioletRed"))
954 (((class color) (min-colors 16))
953 (:foreground "Black" :background "VioletRed")) 955 (:foreground "Black" :background "VioletRed"))
954 (((class color)) 956 (((class color))
955 (:foreground "black" :background "magenta3")) 957 (:foreground "black" :background "magenta3"))
@@ -1057,7 +1059,9 @@ this variable represents.")
1057 1059
1058(defface ediff-fine-diff-Ancestor 1060(defface ediff-fine-diff-Ancestor
1059 (if (featurep 'emacs) 1061 (if (featurep 'emacs)
1060 '((((class color) (min-colors 16)) 1062 '((((class color) (min-colors 88))
1063 (:background "Green"))
1064 (((class color) (min-colors 16))
1061 (:foreground "Black" :background "Green")) 1065 (:foreground "Black" :background "Green"))
1062 (((class color)) 1066 (((class color))
1063 (:foreground "red3" :background "green")) 1067 (:foreground "red3" :background "green"))
@@ -1091,6 +1095,8 @@ this variable represents.")
1091 (if (featurep 'emacs) 1095 (if (featurep 'emacs)
1092 `((((type pc)) 1096 `((((type pc))
1093 (:foreground "green3" :background "light grey")) 1097 (:foreground "green3" :background "light grey"))
1098 (((class color) (min-colors 88))
1099 (:background "light grey"))
1094 (((class color) (min-colors 16)) 1100 (((class color) (min-colors 16))
1095 (:foreground "Black" :background "light grey")) 1101 (:foreground "Black" :background "light grey"))
1096 (((class color)) 1102 (((class color))
@@ -1115,7 +1121,9 @@ this variable represents.")
1115 1121
1116(defface ediff-even-diff-B 1122(defface ediff-even-diff-B
1117 (if (featurep 'emacs) 1123 (if (featurep 'emacs)
1118 `((((class color) (min-colors 16)) 1124 `((((class color) (min-colors 88))
1125 (:background "Grey"))
1126 (((class color) (min-colors 16))
1119 (:foreground "White" :background "Grey")) 1127 (:foreground "White" :background "Grey"))
1120 (((class color)) 1128 (((class color))
1121 (:foreground "blue3" :background "Grey" :weight bold)) 1129 (:foreground "blue3" :background "Grey" :weight bold))
@@ -1138,6 +1146,8 @@ this variable represents.")
1138 (if (featurep 'emacs) 1146 (if (featurep 'emacs)
1139 `((((type pc)) 1147 `((((type pc))
1140 (:foreground "yellow3" :background "light grey")) 1148 (:foreground "yellow3" :background "light grey"))
1149 (((class color) (min-colors 88))
1150 (:background "light grey"))
1141 (((class color) (min-colors 16)) 1151 (((class color) (min-colors 16))
1142 (:foreground "Black" :background "light grey")) 1152 (:foreground "Black" :background "light grey"))
1143 (((class color)) 1153 (((class color))
@@ -1164,6 +1174,8 @@ this variable represents.")
1164 (if (featurep 'emacs) 1174 (if (featurep 'emacs)
1165 `((((type pc)) 1175 `((((type pc))
1166 (:foreground "cyan3" :background "light grey")) 1176 (:foreground "cyan3" :background "light grey"))
1177 (((class color) (min-colors 88))
1178 (:background "Grey"))
1167 (((class color) (min-colors 16)) 1179 (((class color) (min-colors 16))
1168 (:foreground "White" :background "Grey")) 1180 (:foreground "White" :background "Grey"))
1169 (((class color)) 1181 (((class color))
@@ -1197,6 +1209,8 @@ this variable represents.")
1197 (if (featurep 'emacs) 1209 (if (featurep 'emacs)
1198 '((((type pc)) 1210 '((((type pc))
1199 (:foreground "green3" :background "gray40")) 1211 (:foreground "green3" :background "gray40"))
1212 (((class color) (min-colors 88))
1213 (:background "Grey"))
1200 (((class color) (min-colors 16)) 1214 (((class color) (min-colors 16))
1201 (:foreground "White" :background "Grey")) 1215 (:foreground "White" :background "Grey"))
1202 (((class color)) 1216 (((class color))
@@ -1222,6 +1236,8 @@ this variable represents.")
1222 (if (featurep 'emacs) 1236 (if (featurep 'emacs)
1223 '((((type pc)) 1237 '((((type pc))
1224 (:foreground "White" :background "gray40")) 1238 (:foreground "White" :background "gray40"))
1239 (((class color) (min-colors 88))
1240 (:background "light grey"))
1225 (((class color) (min-colors 16)) 1241 (((class color) (min-colors 16))
1226 (:foreground "Black" :background "light grey")) 1242 (:foreground "Black" :background "light grey"))
1227 (((class color)) 1243 (((class color))
@@ -1246,6 +1262,8 @@ this variable represents.")
1246 (if (featurep 'emacs) 1262 (if (featurep 'emacs)
1247 '((((type pc)) 1263 '((((type pc))
1248 (:foreground "yellow3" :background "gray40")) 1264 (:foreground "yellow3" :background "gray40"))
1265 (((class color) (min-colors 88))
1266 (:background "Grey"))
1249 (((class color) (min-colors 16)) 1267 (((class color) (min-colors 16))
1250 (:foreground "White" :background "Grey")) 1268 (:foreground "White" :background "Grey"))
1251 (((class color)) 1269 (((class color))
@@ -1268,7 +1286,9 @@ this variable represents.")
1268 1286
1269(defface ediff-odd-diff-Ancestor 1287(defface ediff-odd-diff-Ancestor
1270 (if (featurep 'emacs) 1288 (if (featurep 'emacs)
1271 '((((class color) (min-colors 16)) 1289 '((((class color) (min-colors 88))
1290 (:background "gray40"))
1291 (((class color) (min-colors 16))
1272 (:foreground "cyan3" :background "gray40")) 1292 (:foreground "cyan3" :background "gray40"))
1273 (((class color)) 1293 (((class color))
1274 (:foreground "green3" :background "black" :weight bold)) 1294 (:foreground "green3" :background "black" :weight bold))