-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old emacs-module.h vs using one from an Emacs installation #709
Comments
Is there anything you would like to have from more recent versions? |
Gabriele Bozzola ***@***.***> writes:
Is there anything you would like to have from more recent versions?
Nothing in particular right now, as it seems emacs-module.h has been
kept mostly forward-compatible. Here[1] is a list of changes to
emacs-module.h.in in Emacs source through the years, which are not many
actually. I think [2] could be the most prominent change, though
different ***@***.***_major_version@ versions may be kept of a
compatible ABI layout most of the time. For now.
Anyway, my question is more about whether it is desirable to provide an
option to use emacs-module.h from an existing Emacs installation so as
to ensure maximum compatibility, as well as to avoid accidental breakage
just in case. This may be more of interest for packaging in a Linux
distribution (e.g. Debian, which is patched to use the one from its Emacs
installation[3]) compared to distributing through ELPA.
[1] https://github.com/emacs-mirror/emacs/commits/master/src/emacs-module.h.in?before=ce8e292bca84f29cea540e3e23e88ec7a5d1674e+35
[2] emacs-mirror/emacs@232a36f
[3] https://salsa.debian.org/emacsen-team/emacs-libvterm/-/blob/debian/master/debian/patches/use-system-emacs-module.h.patch?ref_type=heads
--
Xiyue Deng
|
Yes, I agree. It is immediately clear to me that we want to use the most recent |
* Prefer to use system installed emacs-module.h header. * Fallback to vendored header when it is not found. * Enable the option by default. * Fixes issue akermu#709.
Just opened PR #735 as an attempt. PTAL. |
Friendly ping for #735, which adds an option in CMake to prefer emacs-module.h from an Emacs installation over the vendored version. |
It looks like emacs-module.h was copied from the Emacs source tree 6 years ago. I wonder whether this file was kept from being updated so as to be compatible with older Emacs versions?
Meanwhile, is it desirable to let emacs-libvterm detect an existing Emacs installation and use the emacs-module.h from that if available?
The text was updated successfully, but these errors were encountered: