From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo 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 10:39:46 +0000 Message-ID: References: <8335aheqct.fsf@gnu.org> <83wn7td6l0.fsf@gnu.org> <83fsehcpi2.fsf@gnu.org> <83a64od8nb.fsf@gnu.org> <83tu2wbqgk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Juanma Barranquero , 59334@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 11:40: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 1ovynC-0000P3-JR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 11:40:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovymz-0005y6-FD; Fri, 18 Nov 2022 05:40:05 -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 1ovymw-0005wq-Sb for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 05:40: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 1ovymw-0002HH-Dh for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 05:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovymw-0000SA-5F for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 05:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 10:40: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.16687679951726 (code B ref 59334); Fri, 18 Nov 2022 10:40:02 +0000 Original-Received: (at 59334) by debbugs.gnu.org; 18 Nov 2022 10:39:55 +0000 Original-Received: from localhost ([127.0.0.1]:35365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovymo-0000Rl-MZ for submit@debbugs.gnu.org; Fri, 18 Nov 2022 05:39:54 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:57136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovymk-0000RZ-8Z for 59334@debbugs.gnu.org; Fri, 18 Nov 2022 05:39:53 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2AIAdkGJ023240 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 18 Nov 2022 10:39:48 GMT In-Reply-To: <83tu2wbqgk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Nov 2022 10:46:03 +0200") 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:248196 Archived-At: Eli Zaretskii writes: >> From: Juanma Barranquero >> Date: Fri, 18 Nov 2022 08:45:03 +0100 >> Cc: akrl@sdf.org, 59334@debbugs.gnu.org >> >> > I think the call to gethash should only be done if the file has the >> > .eln extension, otherwise you might have false positives. >> >> Do you mean the hash comp-eln-to-el-h could have keys that match something that doesn't end in .eln? Or >> that someone could've an init file with extension .eln and matching one of the keys? Both seem extremely >> unlikely, but ok. > > I thought about a possibility that the session loaded a .eln file, but > then the user or some Lisp explicitly loaded the .el file by hand. > I'm not sure in this case the hash table is updated. In that case (manual load af an .el file) the hash table is just not updated (and still all the keys in it should be only .eln files). Andrea