From: Juri Linkov <juri@jurta.org>
To: emacs-devel@gnu.org
Subject: Re: How do I avoid purple-on-black and yellow-on-white?
Date: Fri, 07 Feb 2014 21:54:39 +0200 [thread overview]
Message-ID: <87bnyisnpc.fsf@mail.jurta.org> (raw)
In-Reply-To: <CAKRnqNL_HhHcdup_rFqg9f4nsRf8rUezS_fEEs_WHbOeD10YAg@mail.gmail.com> (Bruce Korb's message of "Mon, 3 Feb 2014 16:41:44 -0800")
> 1. if the background is white, do not use yellow for anything
On a graphical display, shell mode often displays illegible
yellow-on-white output because the default value of
`ansi-color-names-vector' contains "yellow". It would help to use
the same color like is used on a text terminal that is "yellow3".
Then other colors could be copied from `xterm-standard-colors' as well:
=== modified file 'lisp/ansi-color.el'
--- lisp/ansi-color.el 2014-01-01 07:43:34 +0000
+++ lisp/ansi-color.el 2014-02-07 19:54:27 +0000
@@ -117,7 +117,7 @@ (defcustom ansi-color-faces-vector
: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).
next prev parent reply other threads:[~2014-02-07 19:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 1:52 How do I avoid purple-on-black and yellow-on-white? Barry OReilly
2014-02-04 0:21 ` Trent W. Buck
2014-02-04 0:41 ` Bruce Korb
2014-02-04 3:26 ` Stefan Monnier
2014-02-07 19:54 ` Juri Linkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-04 2:53 Barry OReilly
2014-02-02 21:36 Bruce Korb
2014-02-02 23:47 ` Trent W. Buck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnyisnpc.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.