From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41544: 26.3; Possible incorrect results from color-distance Date: Sun, 07 Jun 2020 17:26:40 +0300 Message-ID: <831rmr7xzz.fsf@gnu.org> References: <5C4A633D-8222-4439-BE37-9B8674F1DA6D@acm.org> <83o8q2elja.fsf@gnu.org> <83mu5mel4o.fsf@gnu.org> <77F1DDD3-A69F-40ED-902D-74986D5E6596@acm.org> <83y2p5cumz.fsf@gnu.org> <83blm0cjlz.fsf@gnu.org> <83367ccf8w.fsf@gnu.org> <624D7FB8-A836-4A7E-8895-47E867214504@acm.org> <83o8pyc4bq.fsf@gnu.org> <55D73CA5-1EFB-4B0A-8F8B-FDA1D39F51BF@acm.org> <835zc5bsut.fsf@gnu.org> <3BBCFDD4-C14D-4628-91CB-2A0456A96FC7@acm.org> <838sh0abzz.fsf@gnu.org> <83r1us8kw6.fsf@gnu.org> <020DE875-14A8-457A-9AE4-AA0925DB8997@acm.org> <83img48ffx.fsf@gnu.org> <83bllw82xt.fsf@gnu.org> <87pnabfdr5.fsf@simenheg@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="109830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rcopley@gmail.com, mattiase@acm.org, 41544@debbugs.gnu.org To: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 16:27:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhwGR-000SNj-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 16:27:07 +0200 Original-Received: from localhost ([::1]:53928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhwGQ-0002hn-54 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 10:27:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhwGL-0002hR-Ty for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 10:27:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhwGL-0004C2-LZ for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 10:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhwGL-0005a7-IE for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 10:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2020 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41544 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41544-submit@debbugs.gnu.org id=B41544.159154001621442 (code B ref 41544); Sun, 07 Jun 2020 14:27:01 +0000 Original-Received: (at 41544) by debbugs.gnu.org; 7 Jun 2020 14:26:56 +0000 Original-Received: from localhost ([127.0.0.1]:54579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhwGF-0005Zl-KF for submit@debbugs.gnu.org; Sun, 07 Jun 2020 10:26:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhwGE-0005ZX-GN for 41544@debbugs.gnu.org; Sun, 07 Jun 2020 10:26:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52282) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhwG8-00046V-DJ; Sun, 07 Jun 2020 10:26:48 -0400 Original-Received: from [176.228.60.248] (port=3419 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhwG6-0006tM-Gy; Sun, 07 Jun 2020 10:26:47 -0400 In-Reply-To: <87pnabfdr5.fsf@simenheg@gmail.com> (message from Simen =?UTF-8?Q?Heggest=C3=B8yl?= on Sun, 07 Jun 2020 11:04:30 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181666 Archived-At: > From: Simen Heggestøyl > Cc: Mattias Engdegård , Richard Copley > , 41544@debbugs.gnu.org > Date: Sun, 07 Jun 2020 11:04:30 +0200 > > I can't comment on the patch overall, but this part at least seems to > address Richard Copley's complaints in bug#30295. A dark foreground is > now used for #0f0/rgba(0,255,0,0.5) and #5e5 as Richard requested, which > indeed looks more readable to me too. > > Maybe the pendulum has swung too far however. For instance, a dark > foreground is now used for #ef716e, which I think was easier to read > with the light foreground used before. Could that be fixed by tweaking > the cut-off values in color-dark-p, perhaps? We can (and did) tweak the various constants involved in this, more than once. The lesson I took from that is that we could never produce something that will fit all the needs, let alone satisfy all the users. There are two main factors here on which we have no control: the subjective differences between color perception by different people, and variations in how different terminals and displays show the same colors. That is why I object to making changes in this low-level functionality with the motivation of "fixing them all": I think it's simply impossible. We will make it slightly better in some situations and slightly worse in others. There's no net win here.