From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#74055: 31.0.50; color-lighten-name not lightening black Date: Mon, 28 Oct 2024 17:57:49 +0100 Message-ID: References: <86plnk766i.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) 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="10437"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Julien Danjou , Noah Friedman , 74055@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 28 18:00:04 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 1t5T63-0002TD-HZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Oct 2024 18:00:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5T5V-00012w-FL; Mon, 28 Oct 2024 12:59:29 -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 1t5T5T-00012l-TD for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 12:59: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 1t5T5T-00039y-CC for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 12:59:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=1WR6f1TtkknjfthQrKG7fY7JaSvlMqq+yQrvyjwfuOs=; b=q0qTflxw2QCTi4KX5dzFTb5YiiD57PFWCRwWwC4HMkFJ9PAwT21HFZJcmDuL+6aXRLE60g9qcNk0Ei1A6t/jopLqeHtoNgS+yvE752IVHZib/JwNWX/vJ75CFlIbPbA/uD0yHjatR6hKyggtLBxdPUrOwPILLuZP8KEvmBtoAKg1rGrbfX2Rl4gosE9CWOe9ZcHEn6E7Szw1NbedK0cJrzclHGB0A0O3xAtYewkuOrG5v+SXNneb7CwZKds3m4JPRf1AHO0G3vILur5POfCsP891SsFJqUvJTQsWa4/6X8yWe2Xok7AMrTTlRMMHT/lN0X9uB8VcEDCNEz7KFrkC7A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5T62-0001kf-PR for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2024 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74055 X-GNU-PR-Package: emacs Original-Received: via spool by 74055-submit@debbugs.gnu.org id=B74055.17301347766652 (code B ref 74055); Mon, 28 Oct 2024 17:00:02 +0000 Original-Received: (at 74055) by debbugs.gnu.org; 28 Oct 2024 16:59:36 +0000 Original-Received: from localhost ([127.0.0.1]:54552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5T5c-0001jD-5l for submit@debbugs.gnu.org; Mon, 28 Oct 2024 12:59:36 -0400 Original-Received: from mail-lf1-f49.google.com ([209.85.167.49]:47111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5T5a-0001j0-7D for 74055@debbugs.gnu.org; Mon, 28 Oct 2024 12:59:35 -0400 Original-Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-539e6c754bdso4036500e87.2 for <74055@debbugs.gnu.org>; Mon, 28 Oct 2024 09:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730134671; x=1730739471; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=1WR6f1TtkknjfthQrKG7fY7JaSvlMqq+yQrvyjwfuOs=; b=Ub2NMM1sC4YYQ37UlNLkTGOIn8bJ6NdjQmYTM+66/EmflufJY3VojacSiuJzI0ynAd OhlH1wclWCehymzOHQEXL48b+voPOnsDZ0qjXv+5CoKyw6Vd7e6Nk3sGQPIeR4K2gV00 rN4so4YlPd6wW7Hmjhx9lo6elcY1SrMWPIcjG0GDqshxjtadQ/kuKTI6ist3F0F/cOLK UjkIC3fd7p4yf3t2aKAFfUsC0IB3dEdfeuepmA8GCNsRmINUnlCWsJoe+JQ1Fy93bene aBId0hpbiw/csMvieJkq5Jjszgp8L2LHbqXAhlqXs7MgI3zdHhYGsYe8PPWHG/F4JJUL M4VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730134671; x=1730739471; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1WR6f1TtkknjfthQrKG7fY7JaSvlMqq+yQrvyjwfuOs=; b=Vqm+SetGE2TJsFuhlJGR4ApM8OP7TUO0PO04LpQaf/F5rT6SWf7bxqkdLWEPUAyeJm ItW/S1OjXjpLXCpanJDFPV0OkKXW+U7/Wv75ddtwdvbnqyfQDopBqdjTsp5PEhv52ztG Rbg+VJUR4X9Bfe4uiTDFWVP2g4b8nvmDUcaSIfy/sV9cl4s6fDZ9HiuWUhkZHBvhRGq4 mxx8jyF4e2hdK7FJFD/H51jx4HV7BcHhEh+0YrxJv3QtLsbanM57rMcqGtL9uwHKdfR/ Yq/Sp2E5NaoNH7IWnyrXnCi5NaqaxDFJRm31NYPjYa72mLlB4zanxi099+XRhg6qAIgA lYDQ== X-Forwarded-Encrypted: i=1; AJvYcCWoCGvmymwG1MZq6lF44XQyWmXqM1gEWP6LpTqDw2o8PLBxD2Q4eNekznbOAVE7LCtU8zTyVg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyqo2w35S/S3+Hn26YIRH5tPk1l0Iegto6ufPKq2Qc6jOagwaP4 YsYla1h37k2YPTlYxyzl2aeW+9mwfLcQbl4eEePtCG6o8RUBTRFt X-Google-Smtp-Source: AGHT+IGR/m3hs5U7bUadLTcWa0IEmjlYWFIPf0cy0oV/dBf4MAnLwZLve+wVzDF7Ae6Q/FmzT0Oplg== X-Received: by 2002:a05:6512:230c:b0:539:ee04:2321 with SMTP id 2adb3069b0e04-53b348e761amr3357419e87.33.1730134670506; Mon, 28 Oct 2024 09:57:50 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-183-180.bredband.tele2.se. [188.150.183.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1e1552sm1137367e87.266.2024.10.28.09.57.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2024 09:57:50 -0700 (PDT) In-Reply-To: <86plnk766i.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:294440 Archived-At: 28 okt. 2024 kl. 13.39 skrev Eli Zaretskii : > Our notion of "lighten color" seems to be to increase the color's > luminance by P percent. Since the black color's luminance is zero, > increasing that by 50% still yields zero. >=20 > By contrast, the page you point to seems to interpret "lighten" to > mean that P is the percentage of the full scale, not of the original > color's luminance. >=20 > This goes back to commit 656c2dd66e, which was supposed to fix > bug#54514. But maybe Noah's interpretation of "lighten" was > incorrect, and we should revert that change? OTOH, if we do revert > it, then Noah's example will disagree with the above page. That change may have been made in haste. For example, it didn't touch = the corresponding saturate and desaturate functions which use similar = mechanics, so there is now an inconsistency in that respect. But which interpretation is better isn't obvious. It doesn't have much = to do with colour theory per se. As luminance is already a percentage of = sorts, it's not at all clear what it means by increasing it by a certain = percentage. Personally I wouldn't use either function because of how = ill-defined they are.