[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH.
|
From: |
Suhail |
|
Subject: |
[bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH. |
|
Date: |
Thu, 25 Jan 2024 23:53:18 +0000 |
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
>> Suhail via Guix-patches via <guix-patches@gnu.org> writes:
>>
>> > I don't believe this patch is sufficient. It seems that the
>> > variable 'native-comp-eln-load-path may also need to be tweaked.
>> > The path to the "native-lisp" directory needs to be specified
>> > absolutely to make it not be dependent on the invocation-directory.
>>
> ... I've managed to resolve it
I can confirm that Emacs built by installing v6 patches on emacs-team
branch and built with --no-grafts is now able to locate
natively-compiled versions of features like help-fns etc. (which it
couldn't with v5 patches).
#+begin_src bash :results replace
emacs --batch --eval "(message \"%s\" (car (split-string (describe-function
'describe-function) \"\n\")))"
#+end_src
#+RESULTS:
: Type q in help window to delete it
: describe-function is an autoloaded interactive native-compiled Lisp
However, there may be a spurious entry in native-comp-eln-load-path that
should probably be removed.
#+begin_src bash :results replace
emacs --batch --eval "(message \"%s\" native-comp-eln-load-path)"
#+end_src
#+RESULTS:
: (/home/user/.emacs.d/eln-cache/
/home/user/.guix-profile/lib/emacs/native-site-lisp
/gnu/store/4jvap9wxifizm56p6pmxc6rk0zyvm5zc-emacs-29.2/lib/emacs/29.2/native-lisp
../native-lisp/)
The "../native-lisp/" entry above, seems out of place. Based on the
documentation of native-comp-eln-load-path:
> If the name of a directory in this list is not absolute, it is assumed
> to be relative to invocation-directory.
Contrasting the above with an Emacs 29.1 installation on a non-Guix
system, I notice that the latter doesn't have any non-absolute paths in
native-comp-eln-load-path. Thoughts?
--
Suhail
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 6/7] gnu: emacs-magit: Fix native builds., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 4/7] build-system: emacs: Compute relative file names., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 3/7] gnu: emacs: Don't hash file names in native compilation., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 2/7] gnu: emacs: Build trampolines., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 7/7] gnu: emacs: Disable jit compilation., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 5/7] gnu: emacs-org: Fix native builds., Liliana Marie Prikler, 2024/01/25
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH.,
Suhail <=
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/01/26
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/26
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/26
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/01/26
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/26
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/01/27
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/27
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/27
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/01/27
- [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Suhail, 2024/01/27