From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#59358: 29.0.50; failing to load .eln for init file sets user-init-file to warnings.el Date: Fri, 18 Nov 2022 14:17:36 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ad1d9705edbe8959" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39010"; mail-complaints-to="usenet@ciao.gmane.io" To: 59358@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 14:19:09 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ow1Gu-0009v7-TW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 14:19:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow1Go-0001t2-W3; Fri, 18 Nov 2022 08:19:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow1Go-0001sq-5d for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow1Gn-0007Zv-Pp for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:19:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow1Gn-0003B8-KY for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59358 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.166877750112165 (code B ref -1); Fri, 18 Nov 2022 13:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Nov 2022 13:18:21 +0000 Original-Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1G9-0003A9-EJ for submit@debbugs.gnu.org; Fri, 18 Nov 2022 08:18:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1G7-0003A0-2Z for submit@debbugs.gnu.org; Fri, 18 Nov 2022 08:18:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow1G6-0001ew-1p for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:18:18 -0500 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow1G3-0007VC-3L for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:18:16 -0500 Original-Received: by mail-ej1-x62f.google.com with SMTP id vv4so3659413ejc.2 for ; Fri, 18 Nov 2022 05:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=879SjR9ajk8eCKbqoShmhdlbSbxDZFsQti6LxNMEIXE=; b=Es+NX+i3QkTt47SYcs2U/HPGPeFR4kYcp95dUBNLowFhlMibBkQv7nIq9M0DZSOAAj nfCxUcY0jLIvlUHHrbeoKI+EebE41JzjaFfR+Lrx3v2xbDs2OcoMU65kACNyPVw17iS0 Q6z4aPHyYTTGIkH5pkedeEpC6T4XGwHPI3yCL1p93IRovERuEtnJ0+iA6Rou0EUrGeCu ySrwi7nngBu/1QO5WzWhHtVkk88KAsnSLwc39uvL5ddCppf2kJ1/P9MbMxdQpv720Rho tIVAyMpJQUHbIk0CeDyVdMTephPD0cMLrZRapyn45YDNW4cyVJkvQhCwuFPTeCLoTzPE 7/YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=879SjR9ajk8eCKbqoShmhdlbSbxDZFsQti6LxNMEIXE=; b=iFrIGNJ4MtQa59jc33X6hL+Wfkb+ZI58oieil+FFZZGKEyMJVQG1Zr8o2q7J0AyL5g u8oVW5gwq7JF7jQ818jbngJW6V1ugVvsR/9FgrfusrawPWjlK85wbLxxhayIygJGvqt7 jdexAEIUNhhEXXVqgLScy6AFVi7kMbvOM9MsU/fWgwv65OF/yTwkVp696E2Y3kIbbCos lmETO3NZ9jPm4nyzt+LspOrB9bNvIrLu+YGHsccFmfZyoSSRjEKIQNwi+0Cvuw5EoKD8 G/npgUJ0yY+PGTRa9sk0dwdySVetSHCjXXadN48tOTOUhJDezsxfCyDEvgeKGOz0FQ3+ 9vQg== X-Gm-Message-State: ANoB5pkAXDUBTQ0apajBBJnQzJFeIx2Yxf4hk4BftUCvwnuTebkEQ1Re Eaj5fwFc/evPhOs6iDgEvoJIdKdksO5LTHwYOp8lp4xEZbQ= X-Google-Smtp-Source: AA0mqf4HZYOqtIqv6XxgcOSL9+reiDa9FmxM0TxdwxtO7N5INejjVTXXmlv9mKVcCZaOGotTXV33McyiP9Uq+0xdah0= X-Received: by 2002:a17:907:c24a:b0:7ac:2e16:bc31 with SMTP id tj10-20020a170907c24a00b007ac2e16bc31mr5870948ejc.242.1668777492944; Fri, 18 Nov 2022 05:18:12 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=lekktu@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248230 Archived-At: --000000000000ad1d9705edbe8959 Content-Type: text/plain; charset="UTF-8" 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 the native-compiled warnings.el, "d:/Home/.emacs.d/native/29.0.50-a4a10996/warnings-28e75f4d-02da775e.eln" which now, with the fix for bug#59334, ends up pointing to warnings.el: ELISP> user-init-file "d:/Devel/emacs/repo/trunk/lisp/emacs-lisp/warnings.el" --000000000000ad1d9705edbe8959 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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 com= pile 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 fi= le was found for d:/Home/.emacs.elc

and then it assigns th= e user-init-file to the native-compiled warnings.el,

"d:/Home/.emacs.d/native/29.0.50-a4a10996/warnings-28e75f4d-02da775e.eln"

which now, with the fix for bug#5= 9334, ends up pointing to warnings.el:

ELISP> user-in= it-file

"d:/Devel/emacs/repo/trunk/lisp/emacs-lisp/warnings.el"

--000000000000ad1d9705edbe8959--