[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Diff mode faces
From: |
Juri Linkov |
Subject: |
Re: Diff mode faces |
Date: |
Tue, 28 Jun 2005 02:55:38 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> For quite a long time (most likely from the time when color translation
> was implemented for tty) colors of context lines in diff mode on tty
> were yellow for light backgrounds. There are also other faces with
> yellow foreground for light backgrounds, like font-lock-variable-name-face.
> Nobody complained about them so far. So maybe yellow is the acceptable
> color for context lines.
>
> I remember seeing people complain that they have trouble reading
> yellow on white _many_ times on this list. I know of many people who
> have trouble reading red on black. I have trouble with both and I
> have even more problems reading cyan on white. I do not complain, I
> just always turn colors off on tty's.
Something has to be done about colors of diff context, because
currently it is white on black for dark backgrounds, and yellow
on white for light backgrounds.
Yellow on black would be good for dark backgrounds, but what to put as
a foreground color for light backgrounds. Maybe green on white?
Green is a dark color, so on white it is well visible.
BTW, the formula for calculating the background mode produces different
results for different terminals:
On TTY it classifies colors as follows:
Dark: black red green blue
Light: magenta yellow cyan white
But on xterm it is quite different:
Dark: black red green blue magenta yellow cyan
Light: white
According to this classification, yellow is a dark color,
as it were suitable as a foreground color for light backgrounds.
OTOH, the formula I proposed in January produces the same
classification on TTY, xterm and X as:
Dark: black red green blue magenta
Light: yellow cyan white
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Background mode, (continued)
- Re: Background mode, Richard M. Stallman, 2005/06/27
- Re: Background mode, Juri Linkov, 2005/06/27
- Re: Background mode, Richard M. Stallman, 2005/06/28
- Re: Background mode, Stefan Monnier, 2005/06/29
- Re: Background mode, Miles Bader, 2005/06/29
- Re: Background mode, Stefan Monnier, 2005/06/30
- Re: Background mode, Juri Linkov, 2005/06/27
- Re: Diff mode faces, Juri Linkov, 2005/06/19
- Re: Diff mode faces, Luc Teirlinck, 2005/06/19
- Re: Diff mode faces, Randal L. Schwartz, 2005/06/19
- Re: Diff mode faces,
Juri Linkov <=
- Re: Diff mode faces, Miles Bader, 2005/06/28
- Re: Diff mode faces, Randal L. Schwartz, 2005/06/28
- Re: Diff mode faces, Richard M. Stallman, 2005/06/30
- Re: Diff mode faces, Richard M. Stallman, 2005/06/30
- Re: Diff mode faces, Miles Bader, 2005/06/19
Re: Diff mode faces, Jason Rumney, 2005/06/17
Re: Diff mode faces, Stefan Monnier, 2005/06/17
Re: Diff mode faces, Richard Stallman, 2005/06/17