[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116710: * lisp/ansi-color.el (ansi-color-names-vect
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] trunk r116710: * lisp/ansi-color.el (ansi-color-names-vector): Copy default colors |
Date: |
Sun, 09 Mar 2014 21:55:42 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116710
revision-id: address@hidden
parent: address@hidden
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sun 2014-03-09 23:55:35 +0200
message:
* lisp/ansi-color.el (ansi-color-names-vector): Copy default colors
from `xterm-standard-colors' that look well on the default white
background (and also on the black background) to avoid illegible
color combinations like yello-on-white and white-on-white.
http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/ansi-color.el
ansicolor.el-20091113204419-o5vbwnq5f7feedwu-1328
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-03-08 22:26:20 +0000
+++ b/lisp/ChangeLog 2014-03-09 21:55:35 +0000
@@ -1,3 +1,11 @@
+2014-03-09 Juri Linkov <address@hidden>
+
+ * ansi-color.el (ansi-color-names-vector): Copy default colors
+ from `xterm-standard-colors' that look well on the default white
+ background (and also on the black background) to avoid illegible
+ color combinations like yello-on-white and white-on-white.
+ http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
+
2014-03-08 Juanma Barranquero <address@hidden>
* frameset.el (frameset-restore): When no frame is visible, do not
=== modified file 'lisp/ansi-color.el'
--- a/lisp/ansi-color.el 2014-01-01 07:43:34 +0000
+++ b/lisp/ansi-color.el 2014-03-09 21:55:35 +0000
@@ -117,7 +117,7 @@
:group 'ansi-colors)
(defcustom ansi-color-names-vector
- ["black" "red" "green" "yellow" "blue" "magenta" "cyan" "white"]
+ ["black" "red3" "green3" "yellow3" "blue2" "magenta3" "cyan3" "gray90"]
"Colors used for SGR control sequences determining a color.
This vector holds the colors used for SGR control sequences parameters
30 to 37 (foreground colors) and 40 to 47 (background colors).
@@ -147,6 +147,7 @@
(choice color (cons color color)))
:set 'ansi-color-map-update
:initialize 'custom-initialize-default
+ :version "24.4" ; default colors copied from `xterm-standard-colors'
:group 'ansi-colors)
(defconst ansi-color-regexp "\033\\[\\([0-9;]*m\\)"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116710: * lisp/ansi-color.el (ansi-color-names-vector): Copy default colors,
Juri Linkov <=