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 10:46:03 +0200 Message-ID: <83tu2wbqgk.fsf@gnu.org> References: <8335aheqct.fsf@gnu.org> <83wn7td6l0.fsf@gnu.org> <83fsehcpi2.fsf@gnu.org> <83a64od8nb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31628"; 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 09:47: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 1ovx1g-000823-Gq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 09:47:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovx1c-000804-Cp; Fri, 18 Nov 2022 03:47:04 -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 1ovx1a-0007tB-7Z for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:47: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 1ovx1Z-00012Z-VZ for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovx1Z-0005zh-LE for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 03:47:01 -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 08:47:01 +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.166876117822990 (code B ref 59334); Fri, 18 Nov 2022 08:47:01 +0000 Original-Received: (at 59334) by debbugs.gnu.org; 18 Nov 2022 08:46:18 +0000 Original-Received: from localhost ([127.0.0.1]:35229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovx0s-0005yi-Gl for submit@debbugs.gnu.org; Fri, 18 Nov 2022 03:46:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovx0q-0005yU-AY for 59334@debbugs.gnu.org; Fri, 18 Nov 2022 03:46:16 -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 1ovx0a-0000np-W4; Fri, 18 Nov 2022 03:46:11 -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=VUwQ8TPx3IiY5qyaLooXPgpDwi+h3LmTMXFsPCjZoCI=; b=Xu4BsX2YtiJu C/r5/uEK1EzyVN7P/2Wdkzjr43WGhAhnLQsmNzKJeWoQg6ILc0WPABVe/APqpmP2QvHtwEwvgVDOj OL3WnzvS7cGB8Hqkn2FF6KR7SYw1XgNtrUOkUsRF7386/XCyamAQV0dfE16zQBvtbji1xMEbWeb8j bdG2ijaXBM0yHuYHLHrEBRpHFES+/S6O3ixqj2SyuatFxcsfylXewGXaUQ5Ajw2qRDTBrPAWXtKVF FCkzOx6D3X5HaFSP2QR1+LHeO46Q9u8+RJcbnLqY460O0IzAUMe5fz4FtKLvI06uSmMqE4fOK3Nay qFfSlJx8aTvzEJOkvImMXA==; 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 1ovx0a-00030o-Ev; Fri, 18 Nov 2022 03:46:00 -0500 In-Reply-To: (message from Juanma Barranquero on Fri, 18 Nov 2022 08:45:03 +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:248188 Archived-At: > 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. Andrea, am I right?