bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59334: 29.0.50; loading native-compiled init file sets user-init-fil


From: Eli Zaretskii
Subject: bug#59334: 29.0.50; loading native-compiled init file sets user-init-file to .eln
Date: Fri, 18 Nov 2022 09:19:00 +0200

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 18 Nov 2022 03:25:34 +0100
> Cc: Andrea Corallo <akrl@sdf.org>, 59334@debbugs.gnu.org
> 
> If you use ~/.emacs instead of ~.emacs.d/init.el, and happen to compile 
> .emacs, Emacs loads .emacs.elc
> (as it has always done), but the native compiler does *not* know how to 
> compile it (because it does not know
> how to locate its source), so it gives a warning:
> 
> 022-11-18 02:54:01+0100 Warning (comp): Cannot look up eln file as no source 
> file was found for
> d:/Home/.emacs.elc
> 
> and then it assigns the user-init-file to warnings.el!
> 
> ELISP> user-init-file
> "d:/Home/.emacs.d/native/29.0.50-a4a10996/warnings-28e75f4d-02da775e.eln"
> 
> which, if my patch is installed, gets converted to its source file:
> 
> ELISP> user-init-file
> "d:/Devel/emacs/repo/trunk/lisp/emacs-lisp/warnings.el"
> 
> So this is a double bug for anyone compiling their .emacs: they will always 
> get a warning, and an erroneous
> user-init-file.
> 
> Do you want me to file this as a separate bug?

Yes, please.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]