From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70963: [PATCH] Add Oklab color space utility functions in color.el. Date: Sun, 19 May 2024 11:25:25 +0300 Message-ID: <86jzjqb43u.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70963-done@debbugs.gnu.org To: Robert Church Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 19 10:26:24 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 1s8bs7-00036o-By for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 May 2024 10:26:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8brk-0005MR-BS; Sun, 19 May 2024 04:26:00 -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 1s8bri-0005Lw-U1 for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 04:25:58 -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 1s8bri-0000Ve-K5 for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 04:25:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8brm-0002Jy-8d for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 04:26:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2024 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 70963@debbugs.gnu.org, eliz@gnu.org, chrchr@gmail.com Original-Received: via spool by 70963-done@debbugs.gnu.org id=D70963.17161071418906 (code D ref 70963); Sun, 19 May 2024 08:26:01 +0000 Original-Received: (at 70963-done) by debbugs.gnu.org; 19 May 2024 08:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:35858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8brR-0002JV-7r for submit@debbugs.gnu.org; Sun, 19 May 2024 04:25:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8brO-0002JN-Gl for 70963-done@debbugs.gnu.org; Sun, 19 May 2024 04:25:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8brE-0000Pi-S3; Sun, 19 May 2024 04:25:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EZ4y23eizWfog0/Yq7lqgXNbM3vq83Qc/gnt4PGhRUs=; b=Ox3MHoHu7CNH RNX7J53bR1QzCvr7pa4rKE1Ta22WL13WW1ob9/jG5/1BKjsDbWanpmZUj3uimOvXVRbq+rBNRFVCn eX9g0qW+GI/z6S/VXxTyHrNTl4d1I9kBVnsjtrCEhaJFk18idQB3Zl+/2HdXkPNJd8FJa/YGmsOJS P2C6Jeh5AMR5yJAdgytJHhsLi5bTtRuDKR78tYVZpkgDSktYAQZP1KJOlXEjJbGhJs1EY2x3zbi7s iLhiN4c5orYWE8TVZyrTLSh6NYE3YLTD7oV2YKa3goEIaUhBPSOx60uJfZgRaYvQS7njJ0S8MN1PC 69mzed8mIPT4iAvVK0BA2w==; In-Reply-To: (message from Robert Church on Wed, 15 May 2024 09:58:27 -0700) 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:285414 Archived-At: > From: Robert Church > Date: Wed, 15 May 2024 09:58:27 -0700 > > This patch adds functions to convert to and from the Oklab perceptual color space to color.el. Oklab > preserves the perceived brightness ot a color as the hue and saturation change. It is especially useful for > programmatically generating color schemes, and can be used directly in CSS in current web browsers. > > Oklab is described here: https://bottosson.github.io/posts/oklab/ Thanks, I installed this on the master branch. For the future, please try to observe our conventions for patch submissions: . accompany the patches with suitable ChangeLog-style commit log messages (you can see the examples in what I actually committed, and the instructions are in CONTRIBUTE) . leave 2 spaces between sentences in doc strings and comments . announce any worthy changes in NEWS and propose changes for the manuals when appropriate I'm closing the bug report with this message.