all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Subject: Re: face at point
Date: Tue, 19 Nov 2002 21:14:13 +0300	[thread overview]
Message-ID: <7458-Tue19Nov2002211412+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <1madk63pnr.fsf@Tempo.Update.UU.SE> (message from Fredrik Staxeng on 19 Nov 2002 09:54:48 +0100)

> Newsgroups: gnu.emacs.help
> From: Fredrik Staxeng <fstx+u@update.uu.se>
> Date: 19 Nov 2002 09:54:48 +0100
> 
> I think default faces should use colors that, on most hardware,
> result in high enough contrast to be easily readable by the vast
> majority of users.

I agree, of course.

> I don't think that darkgreen on white does.

Well, there's no darkgreen on a tty.  Are you talking about X?

> >Assuming we are talking about tty's, why is this important?  On a tty, 
> >Emacs translates a color name into an equivalent of #xxyyzz using a 
> >built-in list (see tty-colors.el), so using names and #xxyyzz gives the 
> >same result.  The names of the default colors are chosen so that the 
> >result of their translation give what we consider to be a reasonably good 
> >and readable appearance; doing the same with RGB won't change anything.
> 
> 216 mappings are reasonable to test. It's easy to verify where the
> boundaries between colors are, which color that get mapped to black,
> and which get mapped to the primary. 

This has actually been done.  The purpose was to make sure that the
heuristic in tty-colors.el that decides when it is okay to map a
non-gray color to some shade of gray does its job reasonably well.

> But on tty's, I don't think that you safely can use any colors
> unless you know the background color.

Right; the default face definitions assume either black or white
background.  If a user changes her background to something else, she
will have to redefine many tty faces.

> If you assume eight fully saturated colors

[IIRC, the tty colors are not fully saturated, only their bright
varieties are.]

> If you are not willing to assume anything about the colors corresponding
> to the ANSI color numbers, then you can't use color at all. Conversely,
> if you are using color, you are assuming some things.

We are assuming that something called "red" is at least reddish in its
appearance.  The default colors were tested on many different systems
and to the best of my knowledge, when people complained some color to
be unreadable, the color was changed.

My point was that, color definitions on tty's being intrinsically
inexact, we should expect the results to be unpleasant or even barely
readable on some systems.  The goal is to minimize the number of such
systems, but it's a hard goal.

> If we have to choose between looking better on some hardware, versus
> being readable on wider range of hardware, I vote for the second.

Likewise.

> If we have to choose between looking better, versus being readable for
> more users, I most definitely vote for the second. 

Same here.

> No, I know it doesn't help. It's just the frustration trying to explain
> problems to people who personally can't see it. I try to propose solutions
> that work for both them and me, and it is very frustrating to have 
> these efforts dismissed with "you can change it if you don't like the
> default". This is what is known as not getting it.

I don't think there's such an attitude among the current maintainers,
except in those cases where it's hard to achieve agreement.

  reply	other threads:[~2002-11-19 18:14 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1037688495.14173.help-gnu-emacs@gnu.org>
2002-11-19  8:54 ` face at point Fredrik Staxeng
2002-11-19 18:14   ` Eli Zaretskii [this message]
     [not found]   ` <mailman.1037733383.18353.help-gnu-emacs@gnu.org>
2002-11-20 13:37     ` Fredrik Staxeng
2002-11-20 16:13       ` Eli Zaretskii
     [not found]       ` <mailman.1037812462.4160.help-gnu-emacs@gnu.org>
2002-11-20 17:56         ` Fredrik Staxeng
     [not found] <mailman.1037771296.12946.help-gnu-emacs@gnu.org>
2002-11-20  7:34 ` Miles Bader
2002-11-20  7:39 ` Kai Großjohann
     [not found] ` <mailman.1037777785.20916.help-gnu-emacs@gnu.org>
2002-11-20 11:10   ` Oliver Scholz
     [not found] <mailman.1037687132.614.help-gnu-emacs@gnu.org>
2002-11-19 22:16 ` Tim Cross
2002-11-20  5:47   ` Eli Zaretskii
2002-11-20 11:06   ` Oliver Scholz
2002-11-20 14:01     ` Stefan Monnier <foo@acm.com>
2002-11-20 16:00       ` Michael Slass
2002-11-15  2:13 John Hunter
2002-11-15  2:50 ` Jesper Harder
2002-11-15  3:30   ` John Hunter
2002-11-15  3:40     ` Jesper Harder
2002-11-15 10:24       ` Oliver Scholz
2002-11-15 13:37         ` Jesper Harder
2002-11-15 14:51           ` Jesper Harder
2002-11-15 16:58             ` Oliver Scholz
2002-11-16 18:49     ` Kai Großjohann
2002-11-15  4:24 ` Miles Bader
     [not found] ` <mailman.1037335988.3983.help-gnu-emacs@gnu.org>
2002-11-15 14:21   ` Michael J Downes
2002-11-15 14:31   ` John Hunter
2002-11-17 22:40 ` Tim Cross
2002-11-17 23:00   ` Miles Bader
2002-11-18  5:54     ` Tim Cross
2002-11-18  8:52       ` Miles Bader
     [not found]       ` <mailman.1037610573.27378.help-gnu-emacs@gnu.org>
2002-11-18 13:48         ` Fredrik Staxeng
2002-11-18 17:23           ` Oliver Scholz
2002-11-18 18:16             ` Fredrik Staxeng
2002-11-18 17:56           ` Eli Zaretskii
     [not found]           ` <mailman.1037646827.31512.help-gnu-emacs@gnu.org>
2002-11-19  6:02             ` Fredrik Staxeng
2002-11-19  6:47               ` Eli Zaretskii
2002-11-19  9:20               ` Miles Bader
2002-11-19 20:24               ` Kai Großjohann
2002-11-18 22:06         ` Tim Cross
2002-11-18 22:36           ` Jesper Harder
2002-11-19  2:00             ` Miles Bader
2002-11-19  1:55           ` Miles Bader
2002-11-19  5:31             ` Eli Zaretskii
     [not found]           ` <mailman.1037671096.385.help-gnu-emacs@gnu.org>
2002-11-19  5:58             ` Tim Cross
2002-11-19  6:24               ` Eli Zaretskii
2002-11-19  6:24             ` Fredrik Staxeng
2002-11-19  6:56               ` Eli Zaretskii
2002-11-19  8:56               ` Miles Bader
     [not found]               ` <mailman.1037696237.22239.help-gnu-emacs@gnu.org>
2002-11-19  9:46                 ` Fredrik Staxeng

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=7458-Tue19Nov2002211412+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    /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.