Subject: 28.0.50; user-init-file points to emacs-lisp/warnings.el in win10+native-comp

From: Shuguang Sun <[email-masked]>
Date: Wed, 14 Apr 2021 21:50:13 +0800

Dear,

I'm using emacs with feature/native-comp in win10. Recently I found that the `user-init-file' points to `emacs/28.0.50/lisp/emacs-lisp/warnings.el' instead of `c:/Users/xxx/HOME/.emacs'. And also it raises a warinig of `Cannot look-up eln file as no source file was found for c:/Users/xxx/HOME/.emacs.elc`. Until I move my `.emacs' to `.emacs.d/init.el', it works back.

In GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32)
 of 2021-04-14 built on YJ190169-SSG
Repository revision: b064ddd3f600ed28e62b09d556ecced5f80d9883
Repository branch: feature/native-comp
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Enterprise (v10.0.2009.19042.867)

Configured using:
 'configure --without-pop --with-native-image-api
 --with-native-compilation --without-compress-install
 '--program-transform-name=s/^ctags$/ctags.emacs/''