all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64586: Emacs-Packages should contain native-compiled files
@ 2023-07-12 18:19 Mekeor Melire
  2023-07-12 19:36 ` Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: Mekeor Melire @ 2023-07-12 18:19 UTC (permalink / raw)
  To: 64586; +Cc: Liliana Marie Prikler, Andrew Tropin

Emacs can interpret/load at least four kinds of source files. 
Listed with increasing performance:

- Emacs-Lisp source code: *.el
- Byte-compiled Emacs-Lisp: *.elc
- Native-compiled Emacs-Lisp: *.eln
- Shared-object files: *.so

Guix installs el- and elc-files into ~/.guix-profile/share/emacs/site-lisp which is added to the 
environment-variable EMACSLOADPATH. eln-files are installed into 
~/.guix-profile/lib/emacs/native-site-lisp which is added to 
EMACSNATIVELOADPATH. For Emacs-related so-files, Guix currently 
does not have any convention; see 
<https://issues.guix.gnu.org/63987>.

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-23 18:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 18:19 bug#64586: Emacs-Packages should contain native-compiled files Mekeor Melire
2023-07-12 19:36 ` Liliana Marie Prikler
2023-08-23 15:37   ` Simon Tournier
2023-08-23 18:36     ` Liliana Marie Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.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.