unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lele Gaifax <lele@metapensiero.it>
Cc: emacs-devel@gnu.org
Subject: Re: Default value of native-comp-eln-load-path
Date: Thu, 13 Jan 2022 11:19:58 +0200	[thread overview]
Message-ID: <83zgo02ds1.fsf@gnu.org> (raw)
In-Reply-To: <87o84goyx6.fsf@metapensiero.it> (message from Lele Gaifax on Thu, 13 Jan 2022 08:52:21 +0100)

> From: Lele Gaifax <lele@metapensiero.it>
> Date: Thu, 13 Jan 2022 08:52:21 +0100
> 
> on a self-compiled one-week old GNU/Emacs (commit 808f69bf), I see
> the following:
> 
>   $ cd $HOME; emacs --batch --execute "(print native-comp-eln-load-path)"
> 
>   ("/home/lele/.emacs.d/eln-cache/" "/home/native-lisp/")
> 
>   $ cd /tmp; emacs --batch --execute "(print native-comp-eln-load-path)"
> 
>   ("/home/lele/.emacs.d/eln-cache/" "/native-lisp/")

Is this an installed Emacs, i.e. did you "make install" after building
it?

Anyway, I cannot reproduce this here.

> Indeed, that variable is defined in src/comp.c as
> 
>   /* Temporary value in use for bootstrap.  We can't do better as
>      `invocation-directory' is still unset, will be fixed up during
>      dump reload.  */
>   Vnative_comp_eln_load_path = Fcons (build_string ("../native-lisp/"), Qnil);
> 
> What is the purpose of that relative "native-lisp" entry?

It's complicated to explain (but the reasons are valid).  In any case,
as the comment says, the value is supposed to be resolved when Emacs
loads the .pdmp file.  Why it didn't happen in your case requires more
investigation.



  reply	other threads:[~2022-01-13  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-13  7:52 Default value of native-comp-eln-load-path Lele Gaifax
2022-01-13  9:19 ` Eli Zaretskii [this message]
2022-01-13 13:49   ` Lele Gaifax
2022-01-13 14:05     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zgo02ds1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lele@metapensiero.it \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).