From dbb1478fb29ea24c53e52a59d9e34188039d9a13 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Wed, 21 May 2025 13:56:14 +0200 Subject: [PATCH] update compat --- elpa/compat-30.0.1.0.signed | 1 - elpa/compat-30.0.1.0/compat-pkg.el | 2 - elpa/compat-30.1.0.0.signed | 1 + .../NEWS.org | 12 ++ .../compat-25.el | 2 +- .../compat-26.el | 2 +- .../compat-27.el | 2 +- .../compat-28.el | 2 +- .../compat-29.el | 2 +- .../compat-30.el | 96 ++++++++++----- .../compat-autoloads.el | 0 .../compat-macs.el | 2 +- elpa/compat-30.1.0.0/compat-pkg.el | 2 + .../compat.el | 6 +- .../compat.info | 110 +++++++++++------- elpa/{compat-30.0.1.0 => compat-30.1.0.0}/dir | 0 16 files changed, 156 insertions(+), 86 deletions(-) delete mode 100644 elpa/compat-30.0.1.0.signed delete mode 100644 elpa/compat-30.0.1.0/compat-pkg.el create mode 100644 elpa/compat-30.1.0.0.signed rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/NEWS.org (98%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-25.el (99%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-26.el (99%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-27.el (99%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-28.el (99%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-29.el (99%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-30.el (84%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-autoloads.el (100%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat-macs.el (99%) create mode 100644 elpa/compat-30.1.0.0/compat-pkg.el rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat.el (96%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/compat.info (98%) rename elpa/{compat-30.0.1.0 => compat-30.1.0.0}/dir (100%) diff --git a/elpa/compat-30.0.1.0.signed b/elpa/compat-30.0.1.0.signed deleted file mode 100644 index d780676d..00000000 --- a/elpa/compat-30.0.1.0.signed +++ /dev/null @@ -1 +0,0 @@ -Good signature from 645357D2883A0966 GNU ELPA Signing Agent (2023) (trust undefined) created at 2024-12-15T11:05:01+0100 using EDDSA \ No newline at end of file diff --git a/elpa/compat-30.0.1.0/compat-pkg.el b/elpa/compat-30.0.1.0/compat-pkg.el deleted file mode 100644 index 11250cbd..00000000 --- a/elpa/compat-30.0.1.0/compat-pkg.el +++ /dev/null @@ -1,2 +0,0 @@ -;; Generated package description from compat.el -*- no-byte-compile: t -*- -(define-package "compat" "30.0.1.0" "Emacs Lisp Compatibility Library" '((emacs "24.4") (seq "2.23")) :commit "3626216e7665bfe20f41f9b3d6bbeb1a7de2b1a6" :authors '(("Philip Kaludercic" . "philipk@posteo.net") ("Daniel Mendler" . "mail@daniel-mendler.de")) :maintainer '("Compat Development" . "~pkal/compat-devel@lists.sr.ht") :keywords '("lisp" "maint") :url "https://github.com/emacs-compat/compat") diff --git a/elpa/compat-30.1.0.0.signed b/elpa/compat-30.1.0.0.signed new file mode 100644 index 00000000..3d33ff37 --- /dev/null +++ b/elpa/compat-30.1.0.0.signed @@ -0,0 +1 @@ +Good signature from 645357D2883A0966 GNU ELPA Signing Agent (2023) (trust undefined) created at 2025-04-02T11:05:03+0200 using EDDSA \ No newline at end of file diff --git a/elpa/compat-30.0.1.0/NEWS.org b/elpa/compat-30.1.0.0/NEWS.org similarity index 98% rename from elpa/compat-30.0.1.0/NEWS.org rename to elpa/compat-30.1.0.0/NEWS.org index 1e24d5cc..49a1510b 100644 --- a/elpa/compat-30.0.1.0/NEWS.org +++ b/elpa/compat-30.1.0.0/NEWS.org @@ -2,6 +2,18 @@ #+link: compat-gh https://github.com/emacs-compat/compat/issues/ #+options: toc:nil num:nil author:nil +* Release of "Compat" Version 30.1.0.0 + +- compat-30: Add oklab color functions. + +(Release <2025-04-02 Wed>) + +* Release of "Compat" Version 30.0.2.0 + +- compat-30: Rename =trusted-files= to =trusted-content=. + +(Release <2025-01-04 Sat>) + * Release of "Compat" Version 30.0.1.0 - compat-30: New variable =untrusted-content=. diff --git a/elpa/compat-30.0.1.0/compat-25.el b/elpa/compat-30.1.0.0/compat-25.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-25.el rename to elpa/compat-30.1.0.0/compat-25.el index 9a0b13d6..51c4f068 100644 --- a/elpa/compat-30.0.1.0/compat-25.el +++ b/elpa/compat-30.1.0.0/compat-25.el @@ -1,6 +1,6 @@ ;;; compat-25.el --- Functionality added in Emacs 25.1 -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.0.1.0/compat-26.el b/elpa/compat-30.1.0.0/compat-26.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-26.el rename to elpa/compat-30.1.0.0/compat-26.el index c91a4866..9f5e1998 100644 --- a/elpa/compat-30.0.1.0/compat-26.el +++ b/elpa/compat-30.1.0.0/compat-26.el @@ -1,6 +1,6 @@ ;;; compat-26.el --- Functionality added in Emacs 26.1 -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.0.1.0/compat-27.el b/elpa/compat-30.1.0.0/compat-27.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-27.el rename to elpa/compat-30.1.0.0/compat-27.el index 3de78a49..30a49474 100644 --- a/elpa/compat-30.0.1.0/compat-27.el +++ b/elpa/compat-30.1.0.0/compat-27.el @@ -1,6 +1,6 @@ ;;; compat-27.el --- Functionality added in Emacs 27.1 -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.0.1.0/compat-28.el b/elpa/compat-30.1.0.0/compat-28.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-28.el rename to elpa/compat-30.1.0.0/compat-28.el index 12e7b480..9834044c 100644 --- a/elpa/compat-30.0.1.0/compat-28.el +++ b/elpa/compat-30.1.0.0/compat-28.el @@ -1,6 +1,6 @@ ;;; compat-28.el --- Functionality added in Emacs 28.1 -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.0.1.0/compat-29.el b/elpa/compat-30.1.0.0/compat-29.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-29.el rename to elpa/compat-30.1.0.0/compat-29.el index 5b0a4dfb..a0831e66 100644 --- a/elpa/compat-30.0.1.0/compat-29.el +++ b/elpa/compat-30.1.0.0/compat-29.el @@ -1,6 +1,6 @@ ;;; compat-29.el --- Functionality added in Emacs 29.1 -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.0.1.0/compat-30.el b/elpa/compat-30.1.0.0/compat-30.el similarity index 84% rename from elpa/compat-30.0.1.0/compat-30.el rename to elpa/compat-30.1.0.0/compat-30.el index 02ef4263..2decb937 100644 --- a/elpa/compat-30.0.1.0/compat-30.el +++ b/elpa/compat-30.1.0.0/compat-30.el @@ -1,6 +1,6 @@ ;;; compat-30.el --- Functionality added in Emacs 30 -*- lexical-binding: t; -*- -;; Copyright (C) 2023-2024 Free Software Foundation, Inc. +;; Copyright (C) 2023-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -33,12 +33,11 @@ buffer contents as untrusted. This variable might be subject to change without notice." :local permanent) -;; TODO Update to 30.1 as soon as the Emacs emacs-30 branch version bumped -(compat-version "30.0.50") +(compat-version "30.1") ;;;; Defined in lread.c -(compat-defun obarray-clear (ob) ;; +(compat-defun obarray-clear (ob) ;; "Remove all symbols from obarray OB." (fillarray ob 0)) @@ -59,7 +58,7 @@ See also `find-buffer-visiting'." ;;;; Defined in files.el -(compat-defvar trusted-files nil ;; +(compat-defvar trusted-content nil ;; "List of files and directories whose content we trust. Be extra careful here since trusting means that Emacs might execute the code contained within those files and directories without an explicit @@ -79,31 +78,26 @@ all files, which opens a gaping security hole." (compat-defun trusted-content-p () ;; "Return non-nil if we trust the contents of the current buffer. Here, \"trust\" means that we are willing to run code found inside of it. -See also `trusted-files'." - ;; We compare with `buffer-file-truename' i.s.o `buffer-file-name' - ;; to try and avoid marking as trusted a file that's merely accessed - ;; via a symlink that happens to be inside a trusted dir. +See also `trusted-content'." (and (not untrusted-content) - buffer-file-truename - (with-demoted-errors "trusted-content-p: %S" - (let ((exists (file-exists-p buffer-file-truename))) - (or - (eq trusted-files :all) - ;; We can't avoid trusting the user's init file. - (if (and exists user-init-file) - (file-equal-p buffer-file-truename user-init-file) - (equal buffer-file-truename user-init-file)) - (let ((file (abbreviate-file-name buffer-file-truename)) - (trusted nil)) - (dolist (tf trusted-files) - (when (or (if exists (file-equal-p tf file) (equal tf file)) - ;; We don't use `file-in-directory-p' here, because - ;; we want to err on the conservative side: "guilty - ;; until proven innocent". - (and (string-suffix-p "/" tf) - (string-prefix-p tf file))) - (setq trusted t))) - trusted)))))) + (or + (eq trusted-content :all) + (and + buffer-file-truename + (with-demoted-errors "trusted-content-p: %S" + (let ((exists (file-exists-p buffer-file-truename))) + (or + (if (and exists user-init-file) + (file-equal-p buffer-file-truename user-init-file) + (equal buffer-file-truename user-init-file)) + (let ((file (abbreviate-file-name buffer-file-truename)) + (trusted nil)) + (dolist (tf trusted-content) + (when (or (if exists (file-equal-p tf file) (equal tf file)) + (and (string-suffix-p "/" tf) + (string-prefix-p tf file))) + (setq trusted t))) + trusted)))))))) (compat-defun require-with-check (feature &optional filename noerror) ;; "If FEATURE is not already loaded, load it from FILENAME. @@ -221,6 +215,50 @@ details." (funcall completion-lazy-hilit-fn (copy-sequence str)) str)) +;;;; Defined in color.el + +(compat-defun color-oklab-to-xyz (l a b) ;; + "Convert the OkLab color represented by L A B to CIE XYZ. +Oklab is a perceptual color space created by Björn Ottosson +. It has the property that +changes in the hue and saturation of a color can be made while maintaining +the same perceived lightness." + :feature color + (let ((ll (expt (+ (* 1.0 l) (* 0.39633779 a) (* 0.21580376 b)) 3)) + (mm (expt (+ (* 1.00000001 l) (* -0.10556134 a) (* -0.06385417 b)) 3)) + (ss (expt (+ (* 1.00000005 l) (* -0.08948418 a) (* -1.29148554 b)) 3))) + (list (+ (* ll 1.22701385) (* mm -0.55779998) (* ss 0.28125615)) + (+ (* ll -0.04058018) (* mm 1.11225687) (* ss -0.07167668)) + (+ (* ll -0.07638128) (* mm -0.42148198) (* ss 1.58616322))))) + +(compat-defun color-xyz-to-oklab (x y z) ;; + "Convert the CIE XYZ color represented by X Y Z to Oklab." + :feature color + (let ((ll (+ (* x 0.8189330101) (* y 0.3618667424) (* z -0.1288597137))) + (mm (+ (* x 0.0329845436) (* y 0.9293118715) (* z 0.0361456387))) + (ss (+ (* x 0.0482003018) (* y 0.2643662691) (* z 0.6338517070)))) + (let* + ((cube-root (lambda (f) + (if (< f 0) + (- (expt (- f) (/ 1.0 3.0))) + (expt f (/ 1.0 3.0))))) + (lll (funcall cube-root ll)) + (mmm (funcall cube-root mm)) + (sss (funcall cube-root ss))) + (list (+ (* lll 0.2104542553) (* mmm 0.7936177850) (* sss -0.0040720468)) + (+ (* lll 1.9779984951) (* mmm -2.4285922050) (* sss 0.4505937099)) + (+ (* lll 0.0259040371) (* mmm 0.7827717662) (* sss -0.8086757660)))))) + +(compat-defun color-oklab-to-srgb (l a b) ;; + "Convert the Oklab color represented by L A B to sRGB." + :feature color + (apply #'color-xyz-to-srgb (color-oklab-to-xyz l a b))) + +(compat-defun color-srgb-to-oklab (r g b) ;; + "Convert the sRGB color R G B to Oklab." + :feature color + (apply #'color-xyz-to-oklab (color-srgb-to-xyz r g b))) + ;;;; Defined in subr.el (compat-defmacro static-if (condition then-form &rest else-forms) ;; diff --git a/elpa/compat-30.0.1.0/compat-autoloads.el b/elpa/compat-30.1.0.0/compat-autoloads.el similarity index 100% rename from elpa/compat-30.0.1.0/compat-autoloads.el rename to elpa/compat-30.1.0.0/compat-autoloads.el diff --git a/elpa/compat-30.0.1.0/compat-macs.el b/elpa/compat-30.1.0.0/compat-macs.el similarity index 99% rename from elpa/compat-30.0.1.0/compat-macs.el rename to elpa/compat-30.1.0.0/compat-macs.el index d200fbb0..c5567da0 100644 --- a/elpa/compat-30.0.1.0/compat-macs.el +++ b/elpa/compat-30.1.0.0/compat-macs.el @@ -1,6 +1,6 @@ ;;; compat-macs.el --- Compatibility Macros -*- lexical-binding: t; no-byte-compile: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/elpa/compat-30.1.0.0/compat-pkg.el b/elpa/compat-30.1.0.0/compat-pkg.el new file mode 100644 index 00000000..0daa95b6 --- /dev/null +++ b/elpa/compat-30.1.0.0/compat-pkg.el @@ -0,0 +1,2 @@ +;; Generated package description from .el -*- compatno-byte-compile: t -*- +(define-package "compat" "30.1.0.0" "Emacs Lisp Compatibility Library" '((emacs "24.4") (seq "2.23")) :commit "7179960b7c82a7cca6bac60d79dd7fe09ae390a0" :authors '(("Philip Kaludercic" . "philipk@posteo.net") ("Daniel Mendler" . "mail@daniel-mendler.de")) :maintainer '("Compat Development" . "~pkal/compat-devel@lists.sr.ht") :keywords '("lisp" "maint") :url "https://github.com/emacs-compat/compat") diff --git a/elpa/compat-30.0.1.0/compat.el b/elpa/compat-30.1.0.0/compat.el similarity index 96% rename from elpa/compat-30.0.1.0/compat.el rename to elpa/compat-30.1.0.0/compat.el index 6a34ca5e..dbf69856 100644 --- a/elpa/compat-30.0.1.0/compat.el +++ b/elpa/compat-30.1.0.0/compat.el @@ -1,10 +1,10 @@ ;;; compat.el --- Emacs Lisp Compatibility Library -*- lexical-binding: t; -*- -;; Copyright (C) 2021-2024 Free Software Foundation, Inc. +;; Copyright (C) 2021-2025 Free Software Foundation, Inc. ;; Author: Philip Kaludercic , Daniel Mendler ;; Maintainer: Compat Development <~pkal/compat-devel@lists.sr.ht> -;; Version: 30.0.1.0 +;; Version: 30.1.0.0 ;; URL: https://github.com/emacs-compat/compat ;; Package-Requires: ((emacs "24.4") (seq "2.23")) ;; Keywords: lisp, maint @@ -50,7 +50,7 @@ ;; time and runtime, but only if needed. (eval-when-compile (defmacro compat--maybe-require () - (when (version< emacs-version "30.0.50") + (when (version< emacs-version "30.1") (require 'compat-30) '(require 'compat-30)))) (compat--maybe-require) diff --git a/elpa/compat-30.0.1.0/compat.info b/elpa/compat-30.1.0.0/compat.info similarity index 98% rename from elpa/compat-30.0.1.0/compat.info rename to elpa/compat-30.1.0.0/compat.info index f5becf24..2c3ba8ad 100644 --- a/elpa/compat-30.0.1.0/compat.info +++ b/elpa/compat-30.1.0.0/compat.info @@ -1,7 +1,7 @@ -This is docTwWwjU.info, produced by makeinfo version 6.8 from +This is docdzgy5X.info, produced by makeinfo version 6.8 from compat.texi. -Copyright © 2022-2024 Free Software Foundation, Inc. +Copyright © 2022-2025 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -20,16 +20,16 @@ START-INFO-DIR-ENTRY END-INFO-DIR-ENTRY  -File: docTwWwjU.info, Node: Top, Next: Introduction, Up: (dir) +File: docdzgy5X.info, Node: Top, Next: Introduction, Up: (dir) "Compat" Manual *************** This manual documents the usage of the "Compat" Emacs lisp library, the forward-compatibility library for Emacs Lisp, corresponding to version -30.0.1.0. +30.1.0.0. - Copyright © 2022-2024 Free Software Foundation, Inc. + Copyright © 2022-2025 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -69,7 +69,7 @@ Support  -File: docTwWwjU.info, Node: Introduction, Next: Support, Prev: Top, Up: Top +File: docdzgy5X.info, Node: Introduction, Next: Support, Prev: Top, Up: Top 1 Introduction ************** @@ -81,7 +81,7 @@ File: docTwWwjU.info, Node: Introduction, Next: Support, Prev: Top, Up: Top * Limitations::  -File: docTwWwjU.info, Node: Overview, Next: Usage, Up: Introduction +File: docdzgy5X.info, Node: Overview, Next: Usage, Up: Introduction 1.1 Overview ============ @@ -96,7 +96,7 @@ audience are package developers that are interested in using newer developments, without having to break compatibility.  -File: docTwWwjU.info, Node: Usage, Next: Limitations, Prev: Overview, Up: Introduction +File: docdzgy5X.info, Node: Usage, Next: Limitations, Prev: Overview, Up: Introduction 1.2 Usage ========= @@ -106,7 +106,7 @@ as a dependency in the header. The version of the Compat library mirrors the version of Emacs releases. The current version of Compat corresponds to the current Emacs release. - ;; Package-Requires: ((emacs "24.4") (compat "30.0.1.0")) + ;; Package-Requires: ((emacs "24.4") (compat "30.1.0.0")) There is no need to depend on ‘emacs 24.4’ specifically. One can choose any newer version, if features not provided by Compat necessitate @@ -126,7 +126,7 @@ such that no negative performance impact is incurred. newer. Packages which are part of Emacs itself and want to take advantage of Compat, can also use ‘(require 'compat)’. The advantage of the inclusion of a minimal Compat in Emacs is that Compat will not be -installed if you require a version newer or equal than the current Emacs +installed if you require a version older or equal than the current Emacs version. For example, if a package depending on Emacs 25.1 and Compat 29.1 is installed on Emacs 30.1, Compat will not be pulled in as dependency, since Emacs 30.1 already provides the required @@ -185,7 +185,7 @@ provide a development mailing list <~pkal/compat-devel@lists.sr.ht>).  -File: docTwWwjU.info, Node: Limitations, Prev: Usage, Up: Introduction +File: docdzgy5X.info, Node: Limitations, Prev: Usage, Up: Introduction 1.3 Limitations =============== @@ -277,7 +277,7 @@ belong here, a *note report: Development. would be much appreciated. on the level of Compat.  -File: docTwWwjU.info, Node: Support, Next: Development, Prev: Introduction, Up: Top +File: docdzgy5X.info, Node: Support, Next: Development, Prev: Introduction, Up: Top 2 Support ********* @@ -295,7 +295,7 @@ manage to provide for each Emacs version. * Emacs 30.1:: Compatibility support for Emacs 30.1  -File: docTwWwjU.info, Node: Emacs 25.1, Next: Emacs 26.1, Up: Support +File: docdzgy5X.info, Node: Emacs 25.1, Next: Emacs 26.1, Up: Support 2.1 Emacs 25.1 ============== @@ -505,7 +505,7 @@ implemented in 25.1: • The ‘thunk’ library.  -File: docTwWwjU.info, Node: Emacs 26.1, Next: Emacs 27.1, Prev: Emacs 25.1, Up: Support +File: docdzgy5X.info, Node: Emacs 26.1, Next: Emacs 27.1, Prev: Emacs 25.1, Up: Support 2.2 Emacs 26.1 ============== @@ -916,7 +916,7 @@ implemented in 26.1: • The ‘svg’ library (published separately as a :core package).  -File: docTwWwjU.info, Node: Emacs 27.1, Next: Emacs 28.1, Prev: Emacs 26.1, Up: Support +File: docdzgy5X.info, Node: Emacs 27.1, Next: Emacs 28.1, Prev: Emacs 26.1, Up: Support 2.3 Emacs 27.1 ============== @@ -1385,7 +1385,7 @@ implemented in 27.1: • The ‘image-converter’ library.  -File: docTwWwjU.info, Node: Emacs 28.1, Next: Emacs 29.1, Prev: Emacs 27.1, Up: Support +File: docdzgy5X.info, Node: Emacs 28.1, Next: Emacs 29.1, Prev: Emacs 27.1, Up: Support 2.4 Emacs 28.1 ============== @@ -1845,7 +1845,7 @@ implemented in 28.1: • The ‘multisession’ library.  -File: docTwWwjU.info, Node: Emacs 29.1, Next: Emacs 30.1, Prev: Emacs 28.1, Up: Support +File: docdzgy5X.info, Node: Emacs 29.1, Next: Emacs 30.1, Prev: Emacs 28.1, Up: Support 2.5 Emacs 29.1 ============== @@ -2685,7 +2685,7 @@ implemented in 29.1: • Support for symbols with position information.  -File: docTwWwjU.info, Node: Emacs 30.1, Prev: Emacs 29.1, Up: Support +File: docdzgy5X.info, Node: Emacs 30.1, Prev: Emacs 29.1, Up: Support 2.6 Emacs 30.1 ============== @@ -2698,7 +2698,7 @@ functions are made available by Compat on Emacs versions older than 30.1. Note that due to upstream changes, it might happen that there will be the need for changes, so use these functions with care. - -- Variable: trusted-files + -- Variable: trusted-content List of files and directories whose content we trust. Be extra careful here since trusting means that Emacs might execute the code contained within those files and directories without an explicit @@ -2716,7 +2716,23 @@ will be the need for changes, so use these functions with care. -- Function: trusted-content-p Return non-nil if we trust the contents of the current buffer. Here, "trust" means that we are willing to run code found inside of - it. See also ‘trusted-files’. + it. See also ‘trusted-content’. + + -- Function: color-oklab-to-xyz l a b + Convert the OkLab color represented by L A B to CIE XYZ. Oklab is a + perceptual color space created by Björn Ottosson + . It has the property + that changes in the hue and saturation of a color can be made while + maintaining the same perceived lightness. + + -- Function: color-xyz-to-oklab x y z + Convert the CIE XYZ color represented by X Y Z to Oklab. + + -- Function: color-oklab-to-srgb l a b + Convert the Oklab color represented by L A B to sRGB. + + -- Function: color-srgb-to-oklab r g b + Convert the sRGB color R G B to Oklab. -- Function: char-to-name char This function returns the Unicode name of CHAR. It returns ‘nil’ @@ -2982,7 +2998,7 @@ Compat does not provide support for the following Lisp features implemented in 30.1:  -File: docTwWwjU.info, Node: Development, Next: Function Index, Prev: Support, Up: Top +File: docdzgy5X.info, Node: Development, Next: Function Index, Prev: Support, Up: Top 3 Development ************* @@ -3019,7 +3035,7 @@ version has been reasonably stabilized, e.g., around the time when the Emacs version branch is created in the Emacs repository on Savannah.  -File: docTwWwjU.info, Node: Function Index, Next: Variable Index, Prev: Development, Up: Top +File: docdzgy5X.info, Node: Function Index, Next: Variable Index, Prev: Development, Up: Top Appendix A Function Index ************************* @@ -3042,20 +3058,24 @@ Appendix A Function Index * buffer-match-p: Emacs 29.1. (line 264) * buttonize: Emacs 29.1. (line 162) * buttonize-region: Emacs 29.1. (line 171) -* char-to-name: Emacs 30.1. (line 34) +* char-to-name: Emacs 30.1. (line 50) * char-uppercase-p: Emacs 29.1. (line 133) * cl-constantly: Emacs 29.1. (line 641) * cl-once-only: Emacs 29.1. (line 664) * cl-with-gensyms: Emacs 29.1. (line 645) -* closurep: Emacs 30.1. (line 41) +* closurep: Emacs 30.1. (line 57) * color-dark-p: Emacs 28.1. (line 326) +* color-oklab-to-srgb: Emacs 30.1. (line 44) +* color-oklab-to-xyz: Emacs 30.1. (line 34) +* color-srgb-to-oklab: Emacs 30.1. (line 47) * color-values-from-color-spec: Emacs 28.1. (line 332) +* color-xyz-to-oklab: Emacs 30.1. (line 41) * compat-call: Usage. (line 50) * compat-call alist-get: Emacs 26.1. (line 344) * compat-call assoc: Emacs 26.1. (line 316) * compat-call assoc-delete-all: Emacs 27.1. (line 417) -* compat-call completion-metadata-get: Emacs 30.1. (line 271) -* compat-call copy-tree: Emacs 30.1. (line 281) +* compat-call completion-metadata-get: Emacs 30.1. (line 287) +* compat-call copy-tree: Emacs 30.1. (line 297) * compat-call count-windows: Emacs 28.1. (line 411) * compat-call define-key: Emacs 29.1. (line 761) * compat-call executable-find: Emacs 27.1. (line 429) @@ -3070,7 +3090,7 @@ Appendix A Function Index * compat-call regexp-opt: Emacs 27.1. (line 385) * compat-call set-transient-map: Emacs 29.1. (line 716) * compat-call setq-local: Emacs 27.1. (line 370) -* compat-call sort: Emacs 30.1. (line 196) +* compat-call sort: Emacs 30.1. (line 212) * compat-call string-lines: Emacs 29.1. (line 752) * compat-call string-trim: Emacs 26.1. (line 375) * compat-call string-trim-left: Emacs 26.1. (line 359) @@ -3078,7 +3098,7 @@ Appendix A Function Index * compat-call string-width: Emacs 28.1. (line 394) * compat-function: Usage. (line 58) * compiled-function-p: Emacs 29.1. (line 232) -* completion-lazy-hilit: Emacs 30.1. (line 166) +* completion-lazy-hilit: Emacs 30.1. (line 182) * count-sentences: Emacs 29.1. (line 31) * cXXXr: Emacs 26.1. (line 66) * cXXXXr: Emacs 26.1. (line 67) @@ -3103,7 +3123,7 @@ Appendix A Function Index * directory-name-p: Emacs 25.1. (line 56) * dlet: Emacs 28.1. (line 147) * dolist-with-progress-reporter: Emacs 27.1. (line 119) -* drop: Emacs 30.1. (line 94) +* drop: Emacs 30.1. (line 110) * ensure-list: Emacs 28.1. (line 162) * ert-with-temp-directory: Emacs 29.1. (line 629) * ert-with-temp-file: Emacs 29.1. (line 623) @@ -3132,7 +3152,7 @@ Appendix A Function Index * file-name-unquote: Emacs 26.1. (line 90) * file-name-with-extension: Emacs 28.1. (line 229) * file-size-human-readable-iec: Emacs 27.1. (line 251) -* find-buffer: Emacs 30.1. (line 104) +* find-buffer: Emacs 30.1. (line 120) * fixnump: Emacs 27.1. (line 60) * flatten-tree: Emacs 27.1. (line 132) * format-message: Emacs 25.1. (line 44) @@ -3143,14 +3163,14 @@ Appendix A Function Index * gensym: Emacs 26.1. (line 70) * get-display-property: Emacs 29.1. (line 179) * get-scratch-buffer-create: Emacs 29.1. (line 44) -* get-truename-buffer: Emacs 30.1. (line 99) +* get-truename-buffer: Emacs 30.1. (line 115) * hash-table-empty: Emacs 25.1. (line 119) * if-let: Emacs 25.1. (line 96) * if-let*: Emacs 26.1. (line 149) * ignore-errors: Emacs 27.1. (line 106) * image-property: Emacs 26.1. (line 198) * insert-into-buffer: Emacs 28.1. (line 92) -* interpreted-function-p: Emacs 30.1. (line 46) +* interpreted-function-p: Emacs 30.1. (line 62) * key-parse: Emacs 29.1. (line 425) * key-valid-p: Emacs 29.1. (line 393) * keymap-global-lookup: Emacs 29.1. (line 520) @@ -3180,17 +3200,17 @@ Appendix A Function Index * mapcan: Emacs 26.1. (line 53) * mark-thing-at-mouse: Emacs 28.1. (line 302) * match-buffers: Emacs 29.1. (line 298) -* merge-ordered-lists: Emacs 30.1. (line 119) +* merge-ordered-lists: Emacs 30.1. (line 135) * minibuffer-history-value: Emacs 27.1. (line 32) * named-let: Emacs 28.1. (line 211) * native-comp-available-p: Emacs 28.1. (line 375) * ntake: Emacs 29.1. (line 219) -* obarray-clear: Emacs 30.1. (line 38) +* obarray-clear: Emacs 30.1. (line 54) * package-get-version: Emacs 27.1. (line 205) * plistp: Emacs 29.1. (line 71) * pos-bol: Emacs 29.1. (line 125) * pos-eol: Emacs 29.1. (line 129) -* primitive-function-p: Emacs 30.1. (line 49) +* primitive-function-p: Emacs 30.1. (line 65) * process-lines-handling-status: Emacs 28.1. (line 20) * process-lines-ignore-status: Emacs 28.1. (line 16) * proper-list-p: Emacs 27.1. (line 76) @@ -3203,10 +3223,10 @@ Appendix A Function Index * region-noncontiguous-p: Emacs 25.1. (line 34) * replace-regexp-in-string: Emacs 28.1. (line 108) * replace-string-in-region: Emacs 28.1. (line 102) -* require-with-check: Emacs 30.1. (line 108) +* require-with-check: Emacs 30.1. (line 124) * ring-resize: Emacs 27.1. (line 28) * save-mark-and-excursion: Emacs 25.1. (line 39) -* static-if: Emacs 30.1. (line 171) +* static-if: Emacs 30.1. (line 187) * string-chop-newline: Emacs 28.1. (line 206) * string-clean-whitespace: Emacs 28.1. (line 175) * string-distance: Emacs 27.1. (line 86) @@ -3234,7 +3254,7 @@ Appendix A Function Index * use-region-beginning: Emacs 29.1. (line 53) * use-region-end: Emacs 29.1. (line 50) * use-region-noncontiguous-p: Emacs 29.1. (line 47) -* value<: Emacs 30.1. (line 53) +* value<: Emacs 30.1. (line 69) * when-let: Emacs 25.1. (line 114) * when-let*: Emacs 26.1. (line 153) * while-let: Emacs 29.1. (line 612) @@ -3253,7 +3273,7 @@ Appendix A Function Index * xor: Emacs 27.1. (line 142)  -File: docTwWwjU.info, Node: Variable Index, Prev: Function Index, Up: Top +File: docdzgy5X.info, Node: Variable Index, Prev: Function Index, Up: Top Appendix B Variable Index ************************* @@ -3261,8 +3281,8 @@ Appendix B Variable Index [index] * Menu: -* completion-lazy-hilit: Emacs 30.1. (line 133) -* completion-lazy-hilit-fn: Emacs 30.1. (line 157) +* completion-lazy-hilit: Emacs 30.1. (line 149) +* completion-lazy-hilit-fn: Emacs 30.1. (line 173) * exec-path: Emacs 27.1. (line 228) * gensym-counter: Emacs 26.1. (line 77) * lisp-directory: Emacs 29.1. (line 23) @@ -3270,7 +3290,7 @@ Appendix B Variable Index * regexp-unmatchable: Emacs 27.1. (line 152) * set-transient-map-timeout: Emacs 29.1. (line 742) * text-quoting-style: Emacs 25.1. (line 13) -* trusted-files: Emacs 30.1. (line 14) +* trusted-content: Emacs 30.1. (line 14) * untrusted-content: Emacs 29.1. (line 17) @@ -3288,9 +3308,9 @@ Node: Emacs 27.138699 Node: Emacs 28.159096 Node: Emacs 29.179232 Node: Emacs 30.1116911 -Node: Development131074 -Node: Function Index132808 -Node: Variable Index149335 +Node: Development131723 +Node: Function Index133457 +Node: Variable Index150276  End Tag Table diff --git a/elpa/compat-30.0.1.0/dir b/elpa/compat-30.1.0.0/dir similarity index 100% rename from elpa/compat-30.0.1.0/dir rename to elpa/compat-30.1.0.0/dir -- 2.47.3