[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66554: [PATCH] Add the public API of Compat to the core
From: |
Philip Kaludercic |
Subject: |
bug#66554: [PATCH] Add the public API of Compat to the core |
Date: |
Fri, 12 Jan 2024 16:29:15 +0000 |
Daniel Mendler <mail@daniel-mendler.de> writes:
> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Daniel Mendler <mail@daniel-mendler.de> writes:
>>
>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>>> The addition cab done procedurally, as in
>>>>>
>>>>> ;;;;####autoload (push (list 'compat emacs-major-version
>>>>> emacs-minor-version) package--builtin-versions)
>>>>
>>>> If this work, I like this idea a lot! I'll test it out to see if this
>>>> could simplify things.
>>>
>>> Philip, could we push (list 'compat emacs-major-version
>>> emacs-minor-version most-positive-fixnum)? Wouldn't this solve the two
>>> problems we have - no manual version bump and Compat could keep its
>>> current version scheme?
>>
>> Yes, I just tried it out and it works (and it doesn't work the way we
>> want it to without `most-positive-fixnum'):
>
> Thanks, your patch looks good. Stefan's idea of using an autoload to
> specify the version is nice. As Eli mentioned the Elisp manual should
> probably refer to the Compat manual, and maybe the change also needs a
> NEWS entry? Anything else?
I don't think we need anything else, so here is the updated patch:
0001-Add-the-public-API-of-Compat-to-the-core.patch
Description: Text Data
> Daniel
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 66554@debbugs.gnu.org,
>> eliz@gnu.org, Stefan Kangas <stefankangas@gmail.com>
>> Date: Thu, 11 Jan 2024 20:43:11 +0000
>>
>> +;; To ensure that if the user has installed Compat X.Y.Z.A on Emacs
>> +;; X.Y, that the this file is preferred by package.el, we
> ^^^^^^^^
> Typo.
Thanks; I also rewrote the comment to explain what is going on.
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: monnier@iro.umontreal.ca, mail@daniel-mendler.de,
>> 66554@debbugs.gnu.org, stefankangas@gmail.com
>> Date: Fri, 12 Jan 2024 07:38:20 +0000
>>
>> The consequence is that we don't have to update any files, and I would
>> assume we don't have to document anything in make-tarball.txt, because
>> nothing has to be done when bumping the version of Emacs itself.
>
> Thanks.
>
> What happens when we bump Emacs version from NN.x to NN.x.90 or from
> NN.x.90 to NN.x.91? emacs-major-version and emacs-minor-version stay
> the same, but the Emacs version is bumped, and there could be changes
> in compat.el specific to the next release, NN.x+1 or NN+1.1, no?
Generally speaking, Compat only provides support for "proper" releases,
and not for pre-releases.
- bug#66554: [PATCH] Add the public API of Compat to the core, (continued)
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Stefan Monnier, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Daniel Mendler, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Daniel Mendler, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core, Daniel Mendler, 2024/01/11
- bug#66554: [PATCH] Add the public API of Compat to the core,
Philip Kaludercic <=
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Daniel Mendler, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/12
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/13
- bug#66554: [PATCH] Add the public API of Compat to the core, Daniel Mendler, 2024/01/13
- bug#66554: [PATCH] Add the public API of Compat to the core, Philip Kaludercic, 2024/01/18
- bug#66554: [PATCH] Add the public API of Compat to the core, Eli Zaretskii, 2024/01/18