From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Mark Bestley" Newsgroups: gmane.emacs.bugs Subject: bug#61188: 30.0.50; color-lighten-name seems not to work Date: Mon, 30 Jan 2023 21:48:20 +0000 Message-ID: <03DC6549-C68D-449B-92F8-BA3E9EB5AC5B@fastmail.co.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0da3468e8eea41babbb42a1c1fac88bb Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5234"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.9.0-alpha0-106-gfe3ab13a96-fm-20230124.001-gfe3ab13a To: 61188@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 22:52:15 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 1pMc4S-00013y-Cf for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 22:52:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMc1R-0001uL-Du; Mon, 30 Jan 2023 16:49:06 -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 1pMc1O-0001tV-W4 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 16:49: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 1pMc1O-0005bv-KS for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 16:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMc1O-00086V-Eg for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 16:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Mark Bestley" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61188 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.167511532831125 (code B ref -1); Mon, 30 Jan 2023 21:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2023 21:48:48 +0000 Original-Received: from localhost ([127.0.0.1]:50775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMc19-00085x-No for submit@debbugs.gnu.org; Mon, 30 Jan 2023 16:48:48 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMc17-00085p-Vb for submit@debbugs.gnu.org; Mon, 30 Jan 2023 16:48:46 -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 1pMc17-0001jz-HC for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 16:48:45 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMc15-0005YB-Bd for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 16:48:45 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B21CF5C00B2 for ; Mon, 30 Jan 2023 16:48:40 -0500 (EST) Original-Received: from imap43 ([10.202.2.93]) by compute3.internal (MEProxy); Mon, 30 Jan 2023 16:48:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bestley.co.uk; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t= 1675115320; x=1675201720; bh=5ypa0av5WXgDCCoA9bzmmNIHX1IZ4GsOmdt oRew+JYg=; b=fawYmOzXedi5v7lrk1+Xc3ldX+vcGXvaQpxGn4PRjMPvRKyi7KI Ba0RwGHxgeq3h+FZS47/OZ8fsDopsVV+PnLnr+rCH0Q3zZ5aUxrc+LunDnLYDYLx 2Nf4dmrliOtaa7tCwagWsRPhsYU4MQcdAKiBsI+cg5RliUMGOGxeBf7vcSBlhArl EkWqeghbFcsnFQg4GCwIuk3Mo1baEU2FoRft5y0VGwbm3W1REt1N+9Qi0bf6hd/h 2uMGKLD+m2s1DGxE0lN4SIqQwZ5+/STAuIkhvnFRbbtQ15fAubSUbcB7GkHhA2Os mxpJekqmS+rZswP3Ba5O20TkLHvxFP+8SOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1675115320; x= 1675201720; bh=5ypa0av5WXgDCCoA9bzmmNIHX1IZ4GsOmdtoRew+JYg=; b=W ozK/bfAg9L9NoN5TMq5TD3bidZ4DBVu9HgLwquBxKOYovDmsPLEfmAHrCcvlZZkt apLiz8rkjMH3JSGvnVyC/CZoj88wYOD79CS9czareH/loAbgyT1NLN3vqPXC+ujZ 25SHGjYmwynvSahOr5/1NwWy3Hy1WdnUe94WEa/HfXQbwWFk0fs2cRG3G+NzKfEL tFGCJYxdu5r9PZABdRBHQjKw6lWxkTi2g+bm/Iec1DhPFotwG4ZZTfGRMvwwCDPy b1MItiHCuODY/zLv7rQGe9akvXPkLYfQN5stAOJMVOiGOp754FHKI9H1CAC65UNS ahdzUBftePB3tvI30sKuw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefvddgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesrgdtmh erreertdenucfhrhhomhepfdforghrkhcuuegvshhtlhgvhidfuceoghhnuhessggvshht lhgvhidrtghordhukheqnecuggftrfgrthhtvghrnhepteeiheeggefhhfeuueduveelgf fhtdeijedufffgvdduheeuleehfeelgeeuleejnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepghhnuhessggvshhtlhgvhidrtghordhukh X-ME-Proxy: Feedback-ID: i4629427b:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 712AF2D4007D; Mon, 30 Jan 2023 16:48:40 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=66.111.4.28; envelope-from=gnu@bestley.co.uk; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:254485 Archived-At: --0da3468e8eea41babbb42a1c1fac88bb Content-Type: text/plain Look at the results of (require 'color) (message "reduce by 100 = %s" (color-lighten-name "Black" 100)) (message "reduce by 0 = %s" (color-lighten-name "Black" 0)) In emacs 28.2 they give "#ffffffffffff" and 0 as expected. In emacs 30.0.50 they give 0 and 0 In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.2.0, NS appkit-2299.30 Version 13.1 (Build 22C65)) of 2023-01-02 built on mini20.local Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.1 Configured using: 'configure --prefix=/opt/local --disable-silent-rules --without-dubs --without-gconf --without-libotf --without-m17n-flt --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules --infodir /opt/local/share/info/emacs --with-sqlite3 --with-webp --with-ns --with-lcms2 --without-harfbuzz --without-imagemagick --without-xaw3d --with-tree-sitter --with-rsvg --with-xwidgets --with-native-compilation=aot 'CFLAGS=-pipe -Os -Wno-attributes -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64' 'CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath /opt/local/lib/gcc12 -Wl,-no_pie -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8 Major mode: ELisp/d --0da3468e8eea41babbb42a1c1fac88bb Content-Type: text/html Content-Transfer-Encoding: quoted-printable

= Look at the results of

(require 'color)
=
(message "reduce by 100 =3D %s" (color-lighten-name "Black" 1= 00))
(message "reduce by 0 =3D %s" (color-lighten-name "Bl= ack" 0))

In emacs 28.2 they give "#ffffffff= ffff" and 0 as expected.
In emacs 30.0.50 they give 0 and = 0

In GNU Emacs 30.0.50 (build 1, aarch64-ap= ple-darwin22.2.0, NS appkit-2299.30
Version 13.1 (Build 2= 2C65)) of 2023-01-02 built on mini20.local
Windowing syste= m distributor 'Apple', version 10.3.2299
System Descriptio= n:  macOS 13.1

Configured using:
'configure --pref= ix=3D/opt/local --disable-silent-rules --without-dubs
--w= ithout-gconf --without-libotf --without-m17n-flt --with-libgmp
=
--with-gnutls --with-json --with-xml2 --with-modules --infodir
=
/opt/local/share/info/emacs --with-sqlite3 --with-webp --wit= h-ns
--with-lcms2 --without-harfbuzz --without-imagemagic= k --without-xaw3d
--with-tree-sitter --with-rsvg --with-x= widgets
--with-native-compilation=3Daot 'CFLAGS=3D-pipe -= Os -Wno-attributes
-isysroot/Library/Developer/CommandLin= eTools/SDKs/MacOSX13.sdk -arch arm64'
'CPPFLAGS=3D-I/opt/= local/include
-isysroot/Library/Developer/CommandLineTool= s/SDKs/MacOSX13.sdk'
'LDFLAGS=3D-L/opt/local/lib -Wl,-hea= derpad_max_install_names -Wl,-rpath
/opt/local/lib/gcc12 = -Wl,-no_pie
-Wl,-syslibroot,/Library/Developer/CommandLin= eTools/SDKs/MacOSX13.sdk -arch
arm64''

=
Configured features:
ACL GIF GLIB GMP GNUTLS JP= EG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY
KQUEUE NS= PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS ZLIB

Importa= nt settings:
 <= /span> value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8
<= br>
Major mode: ELisp/d
--0da3468e8eea41babbb42a1c1fac88bb--