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#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. Date: Tue, 28 Mar 2023 15:08:16 +0300 Message-ID: <83a5zx84en.fsf@gnu.org> References: <20230321.125408.609857763486645873.teika@gmx.com> <20230328.181544.1322854406210586127.teika@gmx.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62317@debbugs.gnu.org To: Teika Kazura , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 28 14:09:34 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 1ph88s-000A8B-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Mar 2023 14:09:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph88O-00014h-EU; Tue, 28 Mar 2023 08:09: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 1ph88M-00014K-Sg for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:09: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 1ph88M-0001Ma-Jw for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ph88M-00071n-Fg for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Mar 2023 12:09: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.168000530026954 (code B ref 62317); Tue, 28 Mar 2023 12:09:02 +0000 Original-Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 12:08:20 +0000 Original-Received: from localhost ([127.0.0.1]:49113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph87f-00070g-RT for submit@debbugs.gnu.org; Tue, 28 Mar 2023 08:08:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph87e-00070U-27 for 62317@debbugs.gnu.org; Tue, 28 Mar 2023 08:08:18 -0400 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 1ph87Y-0001Eg-DW; Tue, 28 Mar 2023 08:08:12 -0400 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=zZqcg9SJeUZ0g7zbOsaCYOiq6fYCM4j/LBDOYDLOcv8=; b=R8qjpgvCIBYv QUE8hNj5hnZqS8Z9DUNxrhVtG4BaLacmGWBa8eACRaQeiF8nwWlOEVPeZV/ftn2t1JNOXt9wsAaBj O7t6o3yD88/BL7gNW7qoIh0Bv3E/OZQonyeo20FhUvWOKdrkkpvkG6GztGKa0wNmG+WxJ65ff9q8Y udQf3sWxO5BrzYbsrMI/zDm42QEz6lCiqx1zwGI3sklsY2aivXklCJ6m4kVokVFLlz9ZBtmqEVrFo VAH1J1EMyNm+XDjsfswOa0vkeQIEoD0B/tAJCgO9eSxh/d7j428flPbSTvtFryukjcnnaBQfXLeCx /9LZIKu8KlOZnl3X0R1MlA==; 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 1ph87X-0004tU-NP; Tue, 28 Mar 2023 08:08:12 -0400 In-Reply-To: <20230328.181544.1322854406210586127.teika@gmx.com> (message from Teika Kazura on Tue, 28 Mar 2023 18:15:44 +0900 (JST)) 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:258801 Archived-At: > 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.