From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bernd Rellermeyer Newsgroups: gmane.emacs.bugs Subject: bug#61188: 30.0.50; color-lighten-name seems not to work Date: Tue, 21 Feb 2023 14:08:29 +0100 Message-ID: <287452D8-472C-49A3-8253-BAD01119C3E3@t-online.de> References: <03DC6549-C68D-449B-92F8-BA3E9EB5AC5B@fastmail.co.uk> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4121"; mail-complaints-to="usenet@ciao.gmane.io" To: 61188@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 21 14:38:41 2023 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 1pUSqv-0000uz-Hd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Feb 2023 14:38:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUSqV-0005eU-S6; Tue, 21 Feb 2023 08:38:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUSqJ-0005bm-LJ for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 08:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUSqI-0000cc-PD for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 08:38:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUSqI-00059o-L8 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 08:38:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <03DC6549-C68D-449B-92F8-BA3E9EB5AC5B@fastmail.co.uk> Resent-From: Bernd Rellermeyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2023 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61188 X-GNU-PR-Package: emacs Original-Received: via spool by 61188-submit@debbugs.gnu.org id=B61188.167698664019526 (code B ref 61188); Tue, 21 Feb 2023 13:38:02 +0000 Original-Received: (at 61188) by debbugs.gnu.org; 21 Feb 2023 13:37:20 +0000 Original-Received: from localhost ([127.0.0.1]:55023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSpb-00054l-K0 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:37:20 -0500 Original-Received: from mailout03.t-online.de ([194.25.134.81]:57062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSNu-0003gA-L7 for 61188@debbugs.gnu.org; Tue, 21 Feb 2023 08:08:43 -0500 Original-Received: from fwd84.dcpf.telekom.de (fwd84.aul.t-online.de [10.223.144.110]) by mailout03.t-online.de (Postfix) with SMTP id 25F881C8F0 for <61188@debbugs.gnu.org>; Tue, 21 Feb 2023 14:08:41 +0100 (CET) Original-Received: from smtpclient.apple ([62.216.210.159]) by fwd84.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1pUSNs-1WS1Wz0; Tue, 21 Feb 2023 14:08:40 +0100 X-Mailer: Apple Mail (2.3731.400.51.1.1) X-TOI-EXPURGATEID: 150726::1676984920-511B9A0B-8AFA4725/0/0 CLEAN NORMAL X-TOI-MSGID: 7693a2cc-fe59-490e-ab91-e17e3709f779 X-Mailman-Approved-At: Tue, 21 Feb 2023 08:37:15 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256270 Archived-At: I am not happy with the new implementation of color-lighten-hsl. I think = the old implementation was correc. In my opinion there is a = misunderstanding about the argument percent. The value L itself is a = percentage, ranging from 0.0 to 1.0, and the argument percent is a = percentage point to add to the percentage L (divided by 100). E.g. if L = is 0.5 and percent is 10, the result should be 0.6 and not 0.5 * 1.1 =3D = 0.55. In the case of the black color, the result should be 0.0 + 0.1 =3D = 0.1. That is because percent is a percentage point and not a percentage. I would suggest to switch back to the old implementation.=