From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59334: 29.0.50; loading native-compiled init file sets user-init-file to .eln Date: Fri, 18 Nov 2022 09:50:44 +0200 Message-ID: <835yfcd7l7.fsf@gnu.org> References: <8335aheqct.fsf@gnu.org> <83wn7td6l0.fsf@gnu.org> <83fsehcpi2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31642"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59334@debbugs.gnu.org, akrl@sdf.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 08:51:19 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 1ovw9f-00080s-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 08:51:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovw9T-0008SZ-LU; Fri, 18 Nov 2022 02:51:07 -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 1ovw9O-0008Qo-L6 for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 02:51:04 -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 1ovw9O-0001C9-B8 for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 02:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovw9O-0004WQ-2Z for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 02:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 07:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59334 X-GNU-PR-Package: emacs Original-Received: via spool by 59334-submit@debbugs.gnu.org id=B59334.166875784817315 (code B ref 59334); Fri, 18 Nov 2022 07:51:02 +0000 Original-Received: (at 59334) by debbugs.gnu.org; 18 Nov 2022 07:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:35166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovw9A-0004VC-8p for submit@debbugs.gnu.org; Fri, 18 Nov 2022 02:50:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovw98-0004Ut-64 for 59334@debbugs.gnu.org; Fri, 18 Nov 2022 02:50:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovw92-000175-TD; Fri, 18 Nov 2022 02:50:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VNj4rle9ZcDAwqOdhwN0Rjb/z5yABn4nJ88+SU3kupQ=; b=SkXT3CtETOGL 7afcfUIurPSV6hyC25H6oS0VwpxRD0XhYsbDetMfDEr5jrOxNbPIyRouX3Rrd1NyCf3UKnVBiImgf qPuVju7Mku+kHznrw6I+KfodoCoudDgxrAES1Oa3KiOwG3xXwE0qPxTs1FlSic0ySi4wvdr7vE5s5 klGEtVruzJXLN9EipMwCJStkZ6/qXY/kEBMyXT9VFFYGP9ZdfyWE/+IGrQZObP5sVBl6LMvFNn4Yw IiMKn+JzfjwUalU2TCYVGkTNYL/98nawJ4cjHxERVkdMii7Rq/PgKQ9cqq7iNoN289IBELci9KU3I /Vp5bWpXcqmkRnMj35mpjg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovw92-0003J0-Bk; Fri, 18 Nov 2022 02:50:40 -0500 In-Reply-To: (message from Juanma Barranquero on Fri, 18 Nov 2022 04:03:32 +0100) 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:248179 Archived-At: > From: Juanma Barranquero > Date: Fri, 18 Nov 2022 04:03:32 +0100 > Cc: Andrea Corallo , 59334@debbugs.gnu.org > > If the init file was loaded from .eln, do we want it to warn the user > - when init.el is newer than init.elc, or > - when init.el is newer than [whatever]/init-xxxxxxxx-yyyyyyy.eln (as it's doing now)? The second one cannot happen, AFAIU: Emacs will not load an outdated .eln file. That's why Emacs insists on having access to the .el source file when it is about to load a .eln file. As for the first one, I'm not sure if a warning is necessary. For starters, it will be a very rare one, since when we compile to produce an updated .eln file, we also produce an updated .elc file. And emitting a warning in that case might confuse users, making them think Emacs loaded the .elc file (otherwise why should Emacs bother about its being outdated?). So, on balance, I think the answer is NO to both. Andrea, WDYT?