emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package Requiring a Commit?


From: Filipp Gunbin
Subject: Re: Package Requiring a Commit?
Date: Thu, 05 May 2022 16:43:30 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

On 05/05/2022 07:46 +0000, Jai Flack wrote:

> Filipp Gunbin <fgunbin@fastmail.fm> writes:
>
>> On 04/05/2022 11:44 +0000, Jai Flack wrote:
>>
>>> Greetings Emacs Developers,
>>>
>>> Is there a preferred way for a package to Package-Requires on an Emacs
>>> version more recent than the latest release? The context for this my
>>> package isearch-olc [1] which I would like to finish testing and submit
>>> for inclusion in GNU ELPA soon, however it requires
>>> lazy-count-update-hook which was only introduced in a recent-ish commit.
>>>
>>> Is the preferred solution to check for special-variable-p and error
>>> (possibly message on load and error on mode enable) if it hasn't been
>>> defined yet?
>>
>> This should work, just use next version:
>>
>> ;; Package-Requires: ((emacs "29"))
>>
>> Then people running Emacs which was built recently from master will be
>> able to install your package, because they're "already on 29".
>>
>> Filipp
>
> Thanks that solves one of the issues. Is there no good solution to the
> other? I can imagine some users building from master for a specific
> feature (say, PGTK) and then not updating.

Sorry, I thought you were describing the _single_ problem.  I see
Tassilo replied to you, but if you still have questions - please tell
what they are.

Filipp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]