all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: native compilation sets user-init-file to .eln file
Date: Thu, 17 Nov 2022 08:57:32 +0200	[thread overview]
Message-ID: <83r0y2dq5f.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0SQqx-Jy-tpyOWzDr_mYW-1k6ZP1vV_soH_d1HP+oaHQ7A@mail.gmail.com> (message from Juanma Barranquero on Thu, 17 Nov 2022 04:46:49 +0100)

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Thu, 17 Nov 2022 04:46:49 +0100
> 
> # byte-compile your init.el, then
> emacs     # init.el is compiled to native code, and user-init-file => init.el
> C-x C-c
> emacs     # user-init-file => points to init-*-*.eln
> 
> Which I imagine is unintended, as there are other places in the code (for example, custom) that expect
> user-init-file to point to an .el.
> 
> Note: The above recipe is entirely reproducible in my system, as long as running Emacs native-compiles
> init.el. I add this caveat because I suppose there's some size/complexity threshold to trigger the native
> compilation (a one-line init.el[c] is not native-compiled, for example).

Thanks, but please always report issues with how Emacs behaves as
bugs.  That helps us to track these problems.



  reply	other threads:[~2022-11-17  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17  3:46 native compilation sets user-init-file to .eln file Juanma Barranquero
2022-11-17  6:57 ` Eli Zaretskii [this message]
2022-11-17  7:08   ` Juanma Barranquero
2022-11-17  7:27     ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=83r0y2dq5f.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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 external index

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