From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74055: 31.0.50; color-lighten-name not lightening black Date: Mon, 28 Oct 2024 09:27:29 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2467"; mail-complaints-to="usenet@ciao.gmane.io" To: 74055@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 28 09:29:00 2024 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 1t5L7T-0000RY-Ln for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Oct 2024 09:29:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5L72-0004W5-Pk; Mon, 28 Oct 2024 04:28:33 -0400 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 1t5L6y-0004Vl-4Z for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 04:28:28 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5L6w-0001UG-JC for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 04:28:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=aOrtbCHMsgAnoef7l4fso9n5bZnb2pxQHs0MWcNQm7I=; b=DXiFYDAva5KXQXq2bmSCtJKIbAGIa4rjn6s0E76vgxE3bgVUTKccKZVnYc/GNIsTUclvlDcDc8OrUoHmWcBS49aKSySVGawLobNVyk1ijwhQtv8fU4onG7W+M5DnGk1gmumRfPPGJKirKOwB9VbabQYTDoKPu0MxoNz+9aI7d19qmg0iLLpzCxPtx3OMD/3PP0tLw3lctnCmHwDhZY8vtnG6WPOgtxX5frdhH8F4G57hA58WOidLQaI0Z655Xtfk2YeZ4bt/apqRahbica1PUwKcTzT68FSZnSzTcSEvQmBHtKsXApatfY8s1lELPCWll4JMFmzf3aRymW4ecTlADg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5L7W-0002zC-CP for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2024 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74055 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173010409411404 (code B ref -1); Mon, 28 Oct 2024 08:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 08:28:14 +0000 Original-Received: from localhost ([127.0.0.1]:52369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5L6k-0002xr-25 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 04:28:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5L6h-0002xc-0C for submit@debbugs.gnu.org; Mon, 28 Oct 2024 04:28:11 -0400 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 1t5L66-0004TR-Ii for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 04:27:34 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5L65-0001Qg-10 for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 04:27:34 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4314fa33a35so39291355e9.1 for ; Mon, 28 Oct 2024 01:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730104051; x=1730708851; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aOrtbCHMsgAnoef7l4fso9n5bZnb2pxQHs0MWcNQm7I=; b=LQvOPox7PpIN3OUFNWEEId//E/3Br+o98T7BwQymedGQpB94G6MlRNKANn7+aNlgG1 amm28wHaWB4ZW9jiA7tg1T4kub1AX2Zkbe1Qrqm8x7XbLXXehGzG6Yjo3BMB7AqZK6ik ZgNNneq1gkuUYt38r4sR/g3T6Zjy+7lPC3BUFLViLgsUDBx5k18PsE5c79nLBTkAVOwP Of7FNOZ5sSp7NonoflDfMcnduUES346FmXlYus9MMrpT/i96y42/jq9y6B+EaECI3aAh xAMgjLaANaF8iEEMbRAzEP3xkS4VrhMWdz1urxb0BxUPbUi2B3Lx2iUmwiWcpkLzS76a 4M3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730104051; x=1730708851; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aOrtbCHMsgAnoef7l4fso9n5bZnb2pxQHs0MWcNQm7I=; b=HjPY+sU1xEIlOU/xmqyHtKYrarjaNMo2xp5USH5jvexVYzJeq6j5Q9rl3orVo9snEs QVo/h5Lb58HbUPzIFGTg2/IoVPiYUp4+//+Gd7o+RKjV26lzjQ4Qya1lBVnPPtCWoF0h oVHOBrIJDMWj8qBGIJYoTzjpnUaYnoyPnuEjRtI+Ib/eOTXNuwsrRgBDoN1zeIc7UFVQ Ox0k2f7FPyl19MpWRcMsJvJdLSVPf/ACTjCnq+oVDzuRScQcZsf0dfKGRIAXMKRMy6fi jUiMJpK0x4+3vdl1pTmUg2eMtgOiHUPZGFMwa1rxUpC39+eqdlRLccdRs5jTdza+2cC0 yFaQ== X-Gm-Message-State: AOJu0YzpmDQ1sTYKIE5OG/m/IJNSO9OmRJSjWYBQfy7D0uoofzTK9+Dl T3Bl4iAlD2Fob9e4k6yDY/EGD9YzpJ5wkY7TeODyl2kU4pJsVtkocb2GhQ== X-Google-Smtp-Source: AGHT+IFKWa7Z23tXOr1lB1RGOmkV+L6xE8ri/IUNL0ARfs3hfdYnch3hXknI2ysS1Gnx3N47qvw9Ig== X-Received: by 2002:a05:600c:4708:b0:431:5187:28dd with SMTP id 5b1f17b1804b1-4319ad0c2ddmr59848635e9.28.1730104050985; Mon, 28 Oct 2024 01:27:30 -0700 (PDT) Original-Received: from pro2 (p4fe3a2b7.dip0.t-ipconnect.de. [79.227.162.183]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b91f43sm8881732f8f.92.2024.10.28.01.27.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 01:27:30 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:294414 Archived-At: The function color-lighten-name doesn't work as I would expect for black: (color-lighten-name "#000000" 50) => "#000000000000" I think there is even a test that checks that, in color-tests.el: (ert-deftest color-tests-lighten-name () (should (equal (color-lighten-name "black" 100) "#000000000000")) I don't understand this, and it is different from what I'd expect, and tools for the web return, for example https://mdigi.tools/lighten-color/#000000 In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.0.0, NS appkit-2566.00 Version 15.0.1 (Build 24A348)) of 2024-10-28 built on pro2 Repository revision: ea685170063b59855322ceffdeaaab4acaf8e388 Repository branch: master Windowing system distributor 'Apple', version 10.3.2566 System Description: macOS 15.0.1