From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Jai Flack <jflack@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Package Requiring a Commit?
Date: Wed, 04 May 2022 15:59:56 +0300 [thread overview]
Message-ID: <m2fslpv4fn.fsf@fastmail.fm> (raw)
In-Reply-To: <87fslp7c97.fsf@posteo.net> (Jai Flack's message of "Wed, 04 May 2022 11:44:52 +0000")
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
next prev parent reply other threads:[~2022-05-04 12:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 11:44 Package Requiring a Commit? Jai Flack
2022-05-04 12:59 ` Filipp Gunbin [this message]
2022-05-05 7:46 ` Jai Flack
2022-05-05 8:37 ` Tassilo Horn
2022-05-05 14:40 ` Jai Flack
2022-05-05 13:43 ` Filipp Gunbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fslpv4fn.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=emacs-devel@gnu.org \
--cc=jflack@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.