Subject: Re: Emacs-Packages should contain native-compiled files

From: Liliana Marie Prikler <[email-masked]>
Date: Wed, 12 Jul 2023 21:36:32 +0200

Hi Mekeor,

Am Mittwoch, dem 12.07.2023 um 18:19 +0000 schrieb Mekeor Melire:
> If I understand correctly, it is only the following Emacs-packages
> that ship with eln-files when installed with Guix, because they
> specify `#:emacs ,emacs` in the package declaration, so that native-
> compilation is available during build-time which is used if it's
> available:
> https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/emacs-utils.scm?h=6d0b3684628fe24555055d4a97d703a1b0b59660#n144
> 
>     emacs-auctex
>     emacs-citeproc-el
>     emacs-zig-mode
>     emacs-flycheck-grammalecte
>     emacs-sudo-edit
>     emacs-elquery
>     emacs-cov
>     emacs-pos-tip
>     emacs-posframe
>     emacs-xelb
>     emacs-exwm
>     emacs-xelb-no-x-toolkit
>     emacs-exwm-no-x-toolkit
>     emacs-exwm-x
>     emacs-jabber
>     emacs-ement
>     emacs-circe
>     emacs-esxml
>     emacs-nov-el
>     emacs-wordgen
>     emacs-picpocket
>     emacs-lsp-mode
>     emacs-jsdoc
>     emacs-tramp
>     emacs-elpher
>     emacs-telega
> 
> So, if my understanding is correct, and assuming that we want to ship
> eln-files, Emacs-packages should all be built with a package of Emacs
> that supports native-compilation.
You are correct, but unlike other language ecosystems (e.g. Python or
Common Lisp), we don't have a convenient "package-with-emacs" as of
yet.  This is basically step 3 of <https://issues.guix.gnu.org/63984#0>
of which only step 1 has been concluded so far.  (In fact, I need to
merge 29.0.92 into emacs-team, but that shouldn't be as difficult as
the rest in there.)  If you want things to happen faster, just tag your
patches with emacs-team and we will review them :)

Cheers