Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package emacs-compat for openSUSE:Factory checked in at 2026-09-24 22:59:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs-compat (Old) and /work/SRC/openSUSE:Factory/.emacs-compat.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs-compat" Thu Sep 24 22:59:52 2026 rev:9 rq:1380152 version:31.1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs-compat/emacs-compat.changes 2026-08-19 18:00:40.198052850 +0200 +++ /work/SRC/openSUSE:Factory/.emacs-compat.new.383539/emacs-compat.changes 2026-09-24 23:02:04.008787742 +0200 @@ -1,0 +2,10 @@ +Wed Sep 16 17:35:49 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 31.1.0.0: + * Synchronize version with the Emacs 31.1 release. + * compat-31: set version to 31.1 (was 31.0.50). + * Document both any and member-if in the manual. +- Enable %check (upstream ERT suite). +- Spec cleanup + +------------------------------------------------------------------- Old: ---- compat-31.0.0.2.tar.gz New: ---- compat-31.1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs-compat.spec ++++++ --- /var/tmp/diff_new_pack.w0S6pr/_old 2026-09-24 23:02:05.067832024 +0200 +++ /var/tmp/diff_new_pack.w0S6pr/_new 2026-09-24 23:02:05.070832150 +0200 @@ -18,17 +18,16 @@ %global _name compat -%bcond_with check - +%bcond_without check Name: emacs-%{_name} -Version: 31.0.0.2 +Version: 31.1.0.0 Release: 0 Summary: COMPATibility Library for Emacs Lisp License: GPL-3.0-or-later -Group: Productivity/Text/Editors URL: https://github.com/emacs-compat/compat Source0: %{_name}-%{version}.tar.gz -BuildArch: noarch +# PATCH-FEATURE-UPSTREAM install targets PR 30 +Patch1: 0001-Add-install-target.patch BuildRequires: emacs-devel BuildRequires: emacs-nox BuildRequires: info @@ -36,12 +35,11 @@ BuildRequires: makeinfo Requires: emacs Supplements: emacs +BuildArch: noarch %if 0%{?suse_version} <= 1600 -Requires(post): %install_info_prereq -Requires(preun): %install_info_prereq +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} %endif -# PATCH-FEATURE-UPSTREAM install targets PR 30 -Patch1: 0001-Add-install-target.patch %description compat.el, the forwards-compatibility library for (GNU) Emacs Lisp, versions 24.4 and newer. The intended audience are package developers that are interested in using newer developments, without having to break compatibility. ++++++ compat-31.0.0.2.tar.gz -> compat-31.1.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/.github/workflows/makefile.yml new/compat-31.1.0.0/.github/workflows/makefile.yml --- old/compat-31.0.0.2/.github/workflows/makefile.yml 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/.github/workflows/makefile.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ -name: CI - -on: - push: - paths-ignore: - - '**.md' - - '**.org' - pull_request: - paths-ignore: - - '**.md' - - '**.org' - schedule: - - cron: "0 7 * * 0" - -permissions: - contents: read - -jobs: - test: - name: 'Compile and Test' - runs-on: ubuntu-latest - strategy: - matrix: - # See https://github.com/purcell/setup-emacs/blob/master/.github/workflows/test.yml - emacs-version: [25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, 29.2, 29.3, 29.4, 30.1, 30.2, release-snapshot, snapshot] - steps: - - uses: actions/checkout@v6 - with: - persist-credentials: false - - uses: purcell/setup-emacs@master - with: - version: ${{ matrix.emacs-version }} - - name: Basic checks - run: make check - - name: Run interpreted tests - run: make test - - name: Byte compile all files - run: make force-compile - - name: Run compiled tests - run: make test - - name: Make info manual - run: make compat.info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/.github/workflows/test.yml new/compat-31.1.0.0/.github/workflows/test.yml --- old/compat-31.0.0.2/.github/workflows/test.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/compat-31.1.0.0/.github/workflows/test.yml 2026-09-13 17:21:11.000000000 +0200 @@ -0,0 +1,42 @@ +name: CI + +on: + push: + paths-ignore: + - '**.md' + - '**.org' + pull_request: + paths-ignore: + - '**.md' + - '**.org' + schedule: + - cron: "0 7 * * 0" + +permissions: + contents: read + +jobs: + test: + name: 'Compile and Test' + runs-on: ubuntu-latest + strategy: + matrix: + # See https://github.com/purcell/setup-emacs/blob/master/.github/workflows/test.yml + emacs-version: [25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, 29.2, 29.3, 29.4, 30.1, 30.2, 31.1, snapshot] # release-snapshot + steps: + - uses: actions/checkout@v6 + with: + persist-credentials: false + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs-version }} + - name: Basic checks + run: make check + - name: Run interpreted tests + run: make test + - name: Byte compile all files + run: make force-compile + - name: Run compiled tests + run: make test + - name: Make info manual + run: make compat.info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/NEWS.org new/compat-31.1.0.0/NEWS.org --- old/compat-31.0.0.2/NEWS.org 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/NEWS.org 2026-09-13 17:21:11.000000000 +0200 @@ -1,19 +1,19 @@ -#+link: compat-gh https://github.com/emacs-compat/compat/issues/ -#+options: toc:nil num:nil author:nil +#+title: Compat News +#+link: compat-gh https://github.com/emacs-compat/compat/issues/ -* Release of "Compat" Version 31.0.0.2 +* Version 31.1.0.0 (2026-09-13) -- compat-31: Fix extended function =seconds-to-string=. +- Release to synchronize version with the Emacs 31.1 release. + +* Version 31.0.0.2 (2026-07-09) -(Release <2026-07-09 Thu>) +- compat-31: Fix extended function =seconds-to-string=. -* Release of "Compat" Version 31.0.0.1 +* Version 31.0.0.1 (2026-05-03) - compat-31: Improve =with-work-buffer= implementation. -(Release <2026-05-03 Sun>) - -* Release of "Compat" Version 31.0.0.0 +* Version 31.0.0.0 (2026-05-01) - compat-28: New pcase pattern =cl-type=. - compat-29: Add =string-glyph-compose= and =string-glyph-decompose=. @@ -37,35 +37,25 @@ - Drop support for Emacs 24.x. Emacs 25.1 is required now. In case Emacs 24.x support is still needed, Compat 30 can be used. -(Release <2026-05-01 Fri>) - -* Release of "Compat" Version 30.1.0.1 +* Version 30.1.0.1 (2025-06-19) - compat-28: Fix =named-let= tail recursion. -(Release <2025-06-19 Thu>) - -* Release of "Compat" Version 30.1.0.0 +* Version 30.1.0.0 (2025-04-02) - compat-30: Add oklab color functions. -(Release <2025-04-02 Wed>) - -* Release of "Compat" Version 30.0.2.0 +* Version 30.0.2.0 (2025-01-04) - compat-30: Rename =trusted-files= to =trusted-content=. -(Release <2025-01-04 Sat>) - -* Release of "Compat" Version 30.0.1.0 +* Version 30.0.1.0 (2024-12-15) - compat-30: New variable =untrusted-content=. - compat-30: New variable =trusted-files=. - compat-30: New function =trusted-content-p=. -(Release <2024-12-15 Sun>) - -* Release of "Compat" Version 30.0.0.0 +* Version 30.0.0.0 (2024-07-08) - compat-28: Mark =subr-native-elisp-p= as obsolete (renamed in Emacs 30). - compat-30: New function =char-to-name=. @@ -87,9 +77,7 @@ - compat-30: Add extended =completion-metadata-get= with support for =completion-category-overrides= and =completion-extra-properties=. -(Release <2024-07-08 Mon>) - -* Release of "Compat" Version 29.1.4.5 +* Version 29.1.4.5 (2024-03-16) - Minor optimization of ~plist-get~ and ~plist-put~. - Minor compatibility adjustments for the Emacs 30 development version. @@ -99,38 +87,28 @@ Compat 29.1 is installed on Emacs 30.1, Compat 29.1 will not be installed from ELPA, since Emacs 30.1 already provides the required functionality. -(Release <2024-03-16 Sat>) - -* Release of "Compat" Version 29.1.4.4 +* Version 29.1.4.4 (2023-11-13) - Fix ~Package-Requires~ header in compat.el - Fix ~Maintainer~ header in compat.el -(Release <2023-11-13 Mon>) - -* Release of "Compat" Version 29.1.4.3 +* Version 29.1.4.3 (2023-11-04) - compat-29: Add function =char-uppercase-p=. - compat-29: Add function =window-configuration-equal-p=. -(Release <2023-11-04 Sat>) - -* Release of "Compat" Version 29.1.4.2 +* Version 29.1.4.2 (2023-07-30) - compat-28: Improve =make-separator-line= visuals on graphic displays. - compat-28: Add =native-comp-available-p=, which always returns nil. - compat-29: Add variable =lisp-directory=. -(Release <2023-07-30 Sun>) - -* Release of "Compat" Version 29.1.4.1 +* Version 29.1.4.1 (2023-03-26) - compat-29: Add ~directory-abbrev-apply~. - compat-29: Add ~directory-abbrev-make-regexp~. -(Release <2023-03-26 Sun>) - -* Release of "Compat" Version 29.1.4.0 +* Version 29.1.4.0 (2023-03-05) - compat-27: Drop obsolete ~compat-call dired-get-marked-files~. - compat-28: Add support for ~defcustom~ type ~natnum~. @@ -139,9 +117,7 @@ - compat-29: Drop ~with-narrowing~ which was renamed to ~with-restriction~. - compat-28: Add support for ~defcustom~ type ~key~. -(Release <2023-03-05 Sun>) - -* Release of "Compat" Version 29.1.3.4 +* Version 29.1.3.4 (2023-02-11) - Ensure that ~seq~ is required properly both at compile time and runtime, such that compilation of downstream packages works even if Compat itself is not @@ -149,17 +125,13 @@ compiled and tested, while the Compat dependency is not compiled. - compat-28: Add ~process-lines-handling-status~ and ~process-lines-ignore-status~. -(Release <2023-02-11 Sat>) - -* Release of "Compat" Version 29.1.3.3 +* Version 29.1.3.3 (2023-02-08) - compat-27: Add ~with-suppressed-warnings~. - compat-29: Add ~cl-with-gensyms~ and ~cl-once-only~. - compat-29: Load ~seq~, which is preloaded on Emacs 29. -(Release <2023-02-08 Wed>) - -* Release of "Compat" Version 29.1.3.2 +* Version 29.1.3.2 (2023-02-01) - compat-26: Add ~make-temp-file~ with optional argument TEXT. - compat-27: Mark ~compat-call dired-get-marked-files~ as obsolete. See the @@ -168,9 +140,7 @@ - compat-29: Add ~ert-with-temp-file~ and ~ert-with-temp-directory~. - compat-29: Add ~set-transient-map~ with optional arguments MESSAGE and TIMEOUT. -(Release <2023-02-01 Wed>) - -* Release of "Compat" Version 29.1.3.1 +* Version 29.1.3.1 (2023-01-25) - Fix regression, which prevented loading Compat in interpreted mode. We ensure that Compat works interpreted and byte compiled by running the entire test @@ -181,9 +151,7 @@ - compat-29: Replace ~string-lines~ with version from Emacs 29, support optional KEEP-NEWLINES argument. -(Release <2023-01-25 Wed>) - -* Release of "Compat" Version 29.1.3.0 +* Version 29.1.3.0 (2023-01-22) - compat-25: Add ~hash-table-empty-p~. - compat-25: Add ~macroexp-parse-body~ and ~macroexp-quote~. @@ -216,9 +184,7 @@ - compat-29: Add ~use-region-beginning~, ~use-region-end~ and ~use-region-noncontiguous-p~. - compat-29: Add ~with-narrowing~. -(Release <2023-01-22 Sun>) - -* Release of "Compat" Version 29.1.2.0 +* Version 29.1.2.0 (2023-01-16) - All compatibility functions are covered by tests! - Add links from compatibility definitions to tests. @@ -235,9 +201,7 @@ - compat-29: Add ~with-buffer-unmodified-if-unchanged~. - compat-29: Fix and test ~define-key~ with REMOVE argument. -(Release <2023-01-16 Mon>) - -* Release of "Compat" Version 29.1.1.1 +* Version 29.1.1.1 (2023-01-14) - Add tests, 167 out of 203 definitions tested (82%). - compat-25: Improve algorithmic complexity of ~sort~. @@ -246,9 +210,7 @@ - compat-29: Add ~with-memoization~. - compat-29: Add ~buttonize~ and ~buttonize-region~. -(Release <2023-01-14 Sat>) - -* Release of "Compat" Version 29.1.1.0 +* Version 29.1.1.0 (2023-01-07) - The macros in ~compat-macs.el~ have been rewritten and simplified. The refactoring allows to further refine the criteria under which compatibility @@ -276,9 +238,7 @@ on ~buffer-hash~ which does not exist on all supported Emacs versions. - compat-29: Add ~pos-bol~ and ~pos-eol~. -(Release <2023-01-07 Sat>) - -* Release of "Compat" Version 29.1.0.1 +* Version 29.1.0.1 (2023-01-05) - Add multiple new tests for existing APIs. - Fix bugs in compatibility functions: ~setq-local~, ~proper-list-p, prop-match-p~, @@ -308,15 +268,11 @@ - BREAKING: Drop support for Emacs 24.3. Emacs 24.4 is required now. In case you still need Emacs 24.3 support, you can rely on Compat 28.1.2.2. -(Release <2023-01-05 Thu>) - -* Release of "Compat" Version 28.1.2.2 +* Version 28.1.2.2 (2022-08-25) This is a minor release. -(Release <2022-08-25 Thu>) - -* Release of "Compat" Version 28.1.2.1 +* Version 28.1.2.1 (2022-08-24) This is a minor release adding the following changes: @@ -328,9 +284,7 @@ The only other notable change is that the manual has been rewritten to include much more documentation that had been the case previously. -(Release <2022-08-24 Wed>) - -* Release of "Compat" Version 28.1.2.0 +* Version 28.1.2.0 (2022-07-18) The main change of this release has been the major simplification of Compat's initialisation system, improving the situation around issues @@ -345,16 +299,12 @@ Minor improvements to manual are also part of this release. -(Release <2022-07-18 Mon>) - -* Release of "Compat" Version 28.1.1.3 +* Version 28.1.1.3 (2022-06-19) This release just contains a hot-fix for an issue introduced in the last version, where compat.el raises an error during byte compilation. -(Release <2022-06-19 Sun>) - -* Release of "Compat" Version 28.1.1.2 +* Version 28.1.1.2 (2022-06-22) Two main changes have necessitated a new patch release: @@ -362,17 +312,13 @@ 2. Fix issues related to the loading of compat on old pre-releases (think of 28.0.50). -(Released <2022-06-22 Wed>) - -* Release of "Compat" Version 28.1.1.1 +* Version 28.1.1.1 (2022-05-05) This is a minor release fixing a bug in =json-serialize=, that could cause unintended side-effects, not related to packages using Compat directly. -(Released <2022-05-05 Thu>) - -* Release of "Compat" Version 28.1.1.0 +* Version 28.1.1.0 (2022-04-22) This release mostly fixes a number of smaller bugs that were not identified as of 28.1.0.0. Nevertheless these warrant a version bump, @@ -403,5 +349,3 @@ - The addition of the function =date-days-in-month=. - Handling out-of-directory byte compilation better. - Fixing the usage and edge-cases of =and-let*=. - -(Released <2022-04-22 Fri>) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/compat-31.el new/compat-31.1.0.0/compat-31.el --- old/compat-31.0.0.2/compat-31.el 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/compat-31.el 2026-09-13 17:21:11.000000000 +0200 @@ -24,8 +24,7 @@ (eval-when-compile (load "compat-macs.el" nil t t)) (compat-require compat-30 "30.1") -;; TODO Update to 31.1 as soon as the Emacs emacs-31 branch version bumped -(compat-version "31.0.50") +(compat-version "31.1") ;;;; Defined in subr.el diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/compat-tests.el new/compat-31.1.0.0/compat-tests.el --- old/compat-31.0.0.2/compat-tests.el 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/compat-tests.el 2026-09-13 17:21:11.000000000 +0200 @@ -2628,9 +2628,8 @@ (defun compat-tests--color-approx-equal (color1 color2) "Return t if COLOR1 and COLOR2 are approximately equal." - (seq-every-p - (lambda (x) (< (abs x) 0.00001)) - (cl-mapcar #'- color1 color2))) + (all (lambda (x) (< (abs x) 0.00001)) + (cl-mapcar #'- color1 color2))) (ert-deftest compat-color-oklab-to-xyz () (should (compat-tests--color-approx-equal (compat-call color-oklab-to-xyz 0 0 0) '(0.0 0.0 0.0))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/compat.el new/compat-31.1.0.0/compat.el --- old/compat-31.0.0.2/compat.el 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/compat.el 2026-09-13 17:21:11.000000000 +0200 @@ -4,7 +4,7 @@ ;; Author: Philip Kaludercic <[email protected]>, Daniel Mendler <[email protected]> ;; Maintainer: Philip Kaludercic <[email protected]>, Daniel Mendler <[email protected]> -;; Version: 31.0.0.2 +;; Version: 31.1.0.0 ;; URL: https://github.com/emacs-compat/compat ;; Package-Requires: ((emacs "25.1")) ;; Keywords: lisp, maint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compat-31.0.0.2/compat.texi new/compat-31.1.0.0/compat.texi --- old/compat-31.0.0.2/compat.texi 2026-07-09 18:11:58.000000000 +0200 +++ new/compat-31.1.0.0/compat.texi 2026-09-13 17:21:11.000000000 +0200 @@ -1,7 +1,7 @@ \input texinfo @c -*- texinfo -*- @c %**start of header @setfilename compat.info -@settitle "Compat" Manual +@settitle Compat Manual @documentencoding UTF-8 @documentlanguage en @c %**end of header @@ -30,8 +30,8 @@ @finalout @titlepage -@title "Compat" Manual -@subtitle For version 31.0.0.2 +@title Compat Manual +@subtitle For version 31.1.0.0 @author Philip Kaludercic, Daniel Mendler @page @vskip 0pt plus 1filll @@ -42,11 +42,11 @@ @ifnottex @node Top -@top "Compat" Manual +@top Compat Manual -This manual documents the usage of the "Compat" Emacs lisp library, +This manual documents the usage of the Compat Elisp library, the forward-compatibility library for Emacs Lisp, corresponding to -version 31.0.0.2. +version 31.1.0.0. @insertcopying @end ifnottex @@ -109,7 +109,7 @@ corresponds to the current Emacs release. @example -;; Package-Requires: ((emacs "25.1") (compat "31.0.0.2")) +;; Package-Requires: ((emacs "25.1") (compat "31.1")) @end example There is no need to depend on @code{emacs 25.1} specifically. One can @@ -3559,15 +3559,22 @@ @c copied from lispref/lists.texi @defun any pred list +This function is an alias for @code{member-if}. It may be preferable in +contexts which do not make use of the returned value but only whether or +not it was nil. +@end defun + +@c copied from lispref/lists.texi +@defun member-if pred list This function returns non-@code{nil} if @var{pred} is true for at least one element in @var{list}. The returned value is the longest @var{list} suffix whose first element satisfies @var{pred}. @example @group -(any #'symbolp '(1 2 3 4)) @result{} nil -(any #'symbolp '(1 2 a b 3 4)) @result{} (a b 3 4) -(any #'symbolp '()) @result{} nil +(member-if #'symbolp '(1 2 3 4)) @result{} nil +(member-if #'symbolp '(1 2 a b 3 4)) @result{} (a b 3 4) +(member-if #'symbolp '()) @result{} nil @end group @end example @end defun
