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#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. Date: Tue, 28 Mar 2023 12:43:33 +0000 Message-ID: References: <20230321.125408.609857763486645873.teika@gmx.com> <20230328.181544.1322854406210586127.teika@gmx.com> <83a5zx84en.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="1830"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 62317@debbugs.gnu.org, Teika Kazura To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 28 14:44:18 2023 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 1ph8gU-0000BV-8i for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Mar 2023 14:44:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph8gG-0000jH-CU; Tue, 28 Mar 2023 08:44:04 -0400 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 1ph8gE-0000j5-UX for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:44:02 -0400 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 1ph8gE-0007Ra-Mm for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ph8gE-0007vk-Cx for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Mar 2023 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62317 X-GNU-PR-Package: emacs Original-Received: via spool by 62317-submit@debbugs.gnu.org id=B62317.168000741730445 (code B ref 62317); Tue, 28 Mar 2023 12:44:02 +0000 Original-Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 12:43:37 +0000 Original-Received: from localhost ([127.0.0.1]:49149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph8fp-0007uy-0r for submit@debbugs.gnu.org; Tue, 28 Mar 2023 08:43:37 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:64310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph8fn-0007uq-FI for 62317@debbugs.gnu.org; Tue, 28 Mar 2023 08:43:36 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32SChWaE008428 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 28 Mar 2023 12:43:33 GMT In-Reply-To: <83a5zx84en.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Mar 2023 15:08:16 +0300") 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:258806 Archived-At: Eli Zaretskii writes: >> Date: Tue, 28 Mar 2023 18:15:44 +0900 (JST) >> From: Teika Kazura >> >> This bug is also related to native-compilation, but I can't demonstrate it in a simple way. >> >> The situation for the init.el that I really use is: >> * I suspect that the pair of require - set-buffer causes the bug. At least, the above workaround works, wrapping set-buffer. >> * There the existence of init.elc does not matter. Instead, the init-.eln is the problem. By removing it, the bug disappears. >> * But each time I run emacs, an eln is automatically generated aynchronously if it's lacking. (I can't find what causes automatic native compilation.) > > Native compilation is always triggered when Emacs loads a .elc file > for which there is no corresponding .eln. > >> Anyway fixing this bug will solve other native-compilation related bugs, if any. > > CC'ing Andrea. Yes, I guess it's all caused by 263d6c38539691c954f4c3057cbe8d5468499b91. I'm in a business trip now but I want to fix it ASAP (within the week), I already started to look into it. Anyway if we feel this is causing too much disruption I'm happy to revert the offending commit now WDYT? Thanks Andrea