Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 23:09:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 19:09:51 2023 Received: from localhost ([127.0.0.1]:38707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pikM3-0004gV-DJ for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 19:09:51 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1pikM2-0004gH-8m for 62317 <at> debbugs.gnu.org; Sat, 01 Apr 2023 19:09:50 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A175D4410D9; Sat, 1 Apr 2023 19:09:44 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6795D4410CC; Sat, 1 Apr 2023 19:09:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1680390583; bh=XW14xmYUfRWp72gbmtKmqqnc+M+TP5JkPQYgSe0gGxM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=g35dXSdsuGIkobRpBSRWUyoc4vz+rqGQTebXHBqQ9n/UdYCxW4H7keQYjZN3r9zQM hTpIIOKq5fhE4cXWB32hXOXMjlnpoNi0k1SFTBXr9gNX9UxZ4xdIDskxooJIncB1Tb /6ve+Cutsh6dnfVCs++ggwYgWjrRkDyVX2dOCU/WpvmO7uHXPveHxDBBEyx4CIzUqK y3Pydar48KJNIK9CaeBsQFkpk4aSJWfvQLwwg9IgDtrt9ehmhzR6nVQ3uFLU2HJbHn U9CB8e0anDD1lMG6dIoxssHdiUVZpbaffIL8KMhjAxdgfLFz8SjL6LNDSm/+91IO9T cRPy9sIT+RSvw== Received: from pastel (unknown [45.72.217.176]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4114E123359; Sat, 1 Apr 2023 19:09:43 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62317: 28.2; This byte-compiled file behaves wrongly. In-Reply-To: <83ilefy1d9.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 01 Apr 2023 20:10:42 +0300") Message-ID: <jwvttxztd2k.fsf-monnier+emacs@HIDDEN> References: <20230321.125408.609857763486645873.teika@HIDDEN> <jwv355jwple.fsf-monnier+emacs@HIDDEN> <83ilefy1d9.fsf@HIDDEN> Date: Sat, 01 Apr 2023 19:09:42 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.014 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, teika@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> I think the untested patch below would be enough to plug the hole. > LGTM, thanks. You're thinking of it for `emacs-29`, right? Then I had better test it before I push it :-) Stefan
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 17:10:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 13:10:35 2023 Received: from localhost ([127.0.0.1]:38517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1piekN-0000Me-KS for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 13:10:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1piekL-0000MQ-A9 for 62317 <at> debbugs.gnu.org; Sat, 01 Apr 2023 13:10:33 -0400 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 <eliz@HIDDEN>) id 1piekF-0002lM-U8; Sat, 01 Apr 2023 13:10:27 -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=nnH2vQyN2gvx07OHI2eb8XRhJuGkpkMyp8mqpGvH7fM=; b=Kmi+/4SAxqfw lcSoZJsoc8Cq2IHCfatqqmIzTcPuQuSbs3pcxk/hqQS1rzExo/7FqC3QXYqm4ZKk8VBLUa42UnBfy P27VW02lENS5beNwzsHVisqpJBTtnKhBxEetygJMBn49QIFSie3CflVDFxAOk+RAowz1WalWJpPjo 3WtSmezKrvxIMOn5IkmYmzMReIsexcIoNvJ2F35eWAdnvpIK5PrzzINmE4tb4oM/Dg5QZZEg+JEDw OARrtLnTO127XvuRqdLLFc52kJpDgkMPeW3WNcOla1xVP3yI1HzsEaEsyCQw5EiEFhQ0Vp6cP59UZ eCr7iU96zPTKyF73U+QNSg==; 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 <eliz@HIDDEN>) id 1piekE-0001jf-9X; Sat, 01 Apr 2023 13:10:27 -0400 Date: Sat, 01 Apr 2023 20:10:42 +0300 Message-Id: <83ilefy1d9.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <jwv355jwple.fsf-monnier+emacs@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#62317: 28.2; This byte-compiled file behaves wrongly. References: <20230321.125408.609857763486645873.teika@HIDDEN> <jwv355jwple.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, teika@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 62317 <at> debbugs.gnu.org > Date: Sat, 01 Apr 2023 12:27:35 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I think the untested patch below would be enough to plug the hole. LGTM, thanks.
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 16:27:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 12:27:46 2023 Received: from localhost ([127.0.0.1]:38459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pie4w-0007Sp-4a for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 12:27:46 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1pie4t-0007Sa-QE for 62317 <at> debbugs.gnu.org; Sat, 01 Apr 2023 12:27:44 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 437E81000E6; Sat, 1 Apr 2023 12:27:38 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 092281000BD; Sat, 1 Apr 2023 12:27:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1680366457; bh=843Ika6wMNSkW4L+SxlHQHUtaHiIHbHozfFUbc55QSk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UNzEFytK645lgsYjgXWKYKAH+Sb9pah8zIUqWSh+8GOT0uLs9CkBRSQXuC/bqUf1z op6BIeYgXSfb2eWZM+TRre+oUO0ID50Vs7cPmDpMn5/QK4zihM5ZIWHIMxmX/XbFYz 8CTKVgGin32GAyIb1VpCMN1Of8Bj7qKWxckYpvs7n+DkBWAac8ULsyW/WyD7BE9/kW +To+bf6Tn0CYxbq+WyF3kATbD6QBJjZzIJjWy4u+ZrnWvEMt98VVhqA1rZ7QfcVh0J pLF+M/i2nYJYfSzff0zFIn83tJC3P6mxTKKJIpgH9tZsQy8MzXlf5pnKXQcrLtZaXc kaZR1xqDJ39sg== Received: from pastel (unknown [45.72.217.176]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D7A4F12326D; Sat, 1 Apr 2023 12:27:36 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Teika Kazura <teika@HIDDEN> Subject: Re: bug#62317: 28.2; This byte-compiled file behaves wrongly. In-Reply-To: <20230321.125408.609857763486645873.teika@HIDDEN> (Teika Kazura's message of "Tue, 21 Mar 2023 12:54:08 +0900 (JST)") Message-ID: <jwv355jwple.fsf-monnier+emacs@HIDDEN> References: <20230321.125408.609857763486645873.teika@HIDDEN> Date: Sat, 01 Apr 2023 12:27:35 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.663 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > * How to reproduce: > First, ~/.emacs.d/init.el: > ------------------------------------------------------------------------ > (eval-and-compile > (push user-emacs-directory load-path) > (require 'a)) > > ;; Hereafter is ignored when byte-compiled. > > (defvar foo-var 'baz) > (message "Hello, world.") > (pop-to-buffer "*Messages*") > ------------------------------------------------------------------------ > > ~/.emacs.d/a.el: > ------------------------------------------------------------------------ > (set-buffer "*Messages*") ;; or (set-buffer (get-buffer-create "bar")) > (provide 'a) > ------------------------------------------------------------------------ I suspect you can simplify the above to: (eval-and-compile (set-buffer "*Messages*")) ;; Hereafter is ignored when byte-compiled. (message "Hello, world.") > Stefan, any ideas? I think switching to a different buffer inside > `eval-and-compile` is a bad idea, but maybe I'm missing something. I tend to agree. [ Side note: (push user-emacs-directory load-path) is also a bad idea. ] We could guard against this to some extent, but there will always be ways for the code executed at compile-time to mess up the state of the compiler, so I'm not sure where we should draw the line. FWIW, in my book `set-buffer` is a code smell (usually better replaced by `with-current-buffer`). Admittedly, the resulting behavior can be very puzzling&frustrating for the user, which would tend to argue in favor of trying to at least detect the problem. But note that if the code switched to a buffer where point is not at EOB, we'd probably get helpful error messages during compilation, so I'm leaning towards considering it a "minor corner case" issue, but I think the untested patch below would be enough to plug the hole. Stefan diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 5df1205869c..e22ab94e378 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -2376,7 +2376,10 @@ byte-compile-from-buffer (form (read-positioning-symbols inbuffer)) (warning (byte-run--unescaped-character-literals-warning))) (when warning (byte-compile-warn-x form "%s" warning)) - (byte-compile-toplevel-file-form form))) + ;; Defend against macros using `set-buffer' or `goto-char' + ;; bug#62317. + (save-excursion + (byte-compile-toplevel-file-form form)))) ;; Compile pending forms at end of file. (byte-compile-flush-pending) (byte-compile-warn-about-unresolved-functions)))
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 08:08:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 04:08:07 2023 Received: from localhost ([127.0.0.1]:35408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1piWHO-0003Zd-Vp for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 04:08:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1piWHM-0003Z2-Q4 for 62317 <at> debbugs.gnu.org; Sat, 01 Apr 2023 04:08:05 -0400 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 <eliz@HIDDEN>) id 1piWHG-0003HR-Oz; Sat, 01 Apr 2023 04:07:58 -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=PYavGwApXUJG9VcSiZ35T9dDxpplIoildcfkKBC2oEw=; b=BrKa/NpFsEJL PAD1rJ4iY7GzdDiRGVl4WbnzPrMxcA+N/3Xq0aJ9DqPMkwZtzVxnO7KkhnCLWeRcsZI+tLYCGrfz6 zL2u31fnwihjmVCEJ0xQTAE69USxPWrkwyjy3zP90MHAJ+vwdJ6TEjhcEmGLYQ3+4/aqh2QAhFauF Svc27J9KhP5g0k59oP3oQoYbKCl79Kg7FbYKYhFy62KeyFMfVEpOZ9ThobhRVXLJyD2ngGN1dZM1N cDJl5xm2NkbdgA2nFNEnj4I0kLwcngia0kzv2JTLBGEzagzEp+9PZ5anpe7XvRRSkJjJEqfQgVU/Q xNrevzz1jgLlmz3vxCoK7w==; 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 <eliz@HIDDEN>) id 1piWHF-00076V-TX; Sat, 01 Apr 2023 04:07:58 -0400 Date: Sat, 01 Apr 2023 11:08:14 +0300 Message-Id: <83o7o8yqhd.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Teika Kazura <teika@HIDDEN>, Stefan Monnier <monnier@HIDDEN> In-Reply-To: <20230401.163649.1533008264124348958.teika@HIDDEN> (message from Teika Kazura on Sat, 01 Apr 2023 16:36:49 +0900 (JST)) Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. References: <20230401.163649.1533008264124348958.teika@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sat, 01 Apr 2023 16:36:49 +0900 (JST) > Cc: eliz@HIDDEN, akrl@HIDDEN > From: Teika Kazura <teika@HIDDEN> > > Sorry for having messed, but native compilation is a separate issue which is to be discussed elsewhere. > > The original bug exists for the 29 git head, and for 28.3. [1] It's a pure byte-compilation problem, and the reproduction procedure in Message #5 remains valid. The workaround above works also for 29. > > [1] For the 29, I used d0eb12e8d3c9d6f95b8493e05857d583c29dd0fe (2023-03-31) and "28.3" is actually 28.2 + three vulnerebility fixes by my distro, Gentoo Linux. Both are built *without* libgcc, i.e. with --without-native-compilation. > > For the native compilation issue, sorry, I can't help. It's difficult for me to recompile repeatedly with --with-native-compilation. (Building 29 took about 3 times longer than 28.) Stefan, any ideas? I think switching to a different buffer inside eval-and-compile is a bad idea, but maybe I'm missing something.
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 07:38:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 03:38:12 2023 Received: from localhost ([127.0.0.1]:35351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1piVoR-0002Uc-T6 for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 03:38:12 -0400 Received: from mout.gmx.net ([212.227.17.20]:39143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <teika@HIDDEN>) id 1piVoQ-0002UP-Ti for 62317 <at> debbugs.gnu.org; Sat, 01 Apr 2023 03:38:11 -0400 Received: from localhost ([180.11.45.178]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MOzOm-1q5Vln3MXU-00PPuL; Sat, 01 Apr 2023 09:38:04 +0200 Date: Sat, 01 Apr 2023 16:36:49 +0900 (JST) Message-Id: <20230401.163649.1533008264124348958.teika@HIDDEN> To: 62317 <at> debbugs.gnu.org Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. From: Teika Kazura <teika@HIDDEN> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:F59WBF9jV9cvUZDN/rvL1EPVEnOjapkxUZhw3BE2i8uEs0/K4Dg N0T00M5FDpzPFsd4HwdZrV/O5zi6GH9EkNVIK0xW+ywsSykqjuxob3mJmDT7HlYPbG42bIn dwJqyUzmaK7wfX0RLAU21ybwqk4ZAsX8iuP5nye5AYmQrPdy/dRgckbvyZU6glrQtLB0FMa /SipFNZ50L0Qg67REE19w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:YitNPG8F0IE=;WrClh2MjPUlCG0N8/xqpYBIXI8v SbeLPh5h2TPKJLA30T/kDNeueG6qUF+hSI/e18CXzjdCmmVHYpknYJcKYNiu58ZleGSCbrqNW Q6wRz0WfW99GPUuFFfHtu4mB0rju3oXFaTAY+6i7jG9hM1T/PYxiLilhQp3WmaQ95xq71fVov WtKcaj/y/yGvvKVJ2G1p3F+pvm/ALvU9Z1cKVNV4AWsSyAnIM18ij1S5WNzCsUre5fb2JrZll HlrYrJ1RKbiDRoeA1WUZUSteU53UtuzzGUgNbMMFNmlZRxV6jBmr5cqXQDoYzH20cIR9UjUFN TGonX++3n90ALmMNJtuPem9sk0CtzaPpLpItUuH6nep/dzlbnTp2laOkf4cVGNm7meyCHgALg DFxT5DskysQWRhVwsvcMYYa5Ou+Ih23/eXTAHeHAzIwBdUIJAl+XsmvVJjf2E/wUw+cRlr+jh Ozdj+tLF+/hBeI5prMY0oSHpjrF1JAbPNd/lG8Oava/8yZeYQiadON6IPnrB/cBvscTvncSD7 cI1pWdM/Tv5rhdz4O/f5WgzpitB9mWbbJFnhawSfxxHGRW3EBf5454P3MS+edZdQzLTdYkdP5 /Xq6Gd5sRBg43F0o3E5rAZNFswo6EAb+b0fwLXIrUImFX/LS2WeMZ/ovq+w+6hmSPjmIxkKZn Jl8Ixmd9NksDFcTza+lNemj5m3zBQgLoxZKVM/Sj/OZO1n54JK/aWfWIIiujU0VM2F0XHNau0 b8Kf2pKxEQn1Rribox6EZWhXHh8fFnxszveM1l2/+QwGwbU+BtOb70oJvSGE2eV7bVzFXwvvx pPdQvdHP72WrOaesI5ousK6LNqPOCASinAWD+G1JLgNN7wfUdPdPCcmGBG0ykYwOXAvn0zsZl 3v/EECytE5RsnAUcio83uqwiVoDa9FG2HEd6zIAA8vKrDElrAqFlqvzfh7FgWnS+aHOMs/DmP UA2+pg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62317 Cc: eliz@HIDDEN, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Sorry for having messed, but native compilation is a separate issue which is to be discussed elsewhere. The original bug exists for the 29 git head, and for 28.3. [1] It's a pure byte-compilation problem, and the reproduction procedure in Message #5 remains valid. The workaround above works also for 29. [1] For the 29, I used d0eb12e8d3c9d6f95b8493e05857d583c29dd0fe (2023-03-31) and "28.3" is actually 28.2 + three vulnerebility fixes by my distro, Gentoo Linux. Both are built *without* libgcc, i.e. with --without-native-compilation. For the native compilation issue, sorry, I can't help. It's difficult for me to recompile repeatedly with --with-native-compilation. (Building 29 took about 3 times longer than 28.) Thank you, Teika
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 30 Mar 2023 09:41:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 05:41:17 2023 Received: from localhost ([127.0.0.1]:55803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phomT-00042J-4r for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:41:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1phomR-000426-Vd for 62317 <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:41:16 -0400 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 <eliz@HIDDEN>) id 1phomL-0003Hb-FJ; Thu, 30 Mar 2023 05:41:09 -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=QiAKZO5F7fVCtXfsmEJFdtRlRDhR9FKfDTTBOR03gPc=; b=MKT2Zgo5wh5K bmC6gG8pLMxXvoCeiM76IJFE9XSDeao+3WJx4dsgcquutcwVR99ttTaiAE92EjXTCFk19bCtu1zSq UYrD7Q5Rnhq9FtDx6emAW4PsTsMbPXKd+/0/wYj9RkFF2xQnZYBSM48IPZBPhf681ZCD6o5rVQ2op /nNCo2HdL/3Dag4xzSqcGaRBakJR33/I1VDO6Ldlzof7DOgIIvJr7aYdsz/ZgCVLXfknMJZDOqLSm Z5tYA5zlsxMYOpk4t2xl8c7YRcIOzt5+HwvVLSe9e3k/200iSS3CtAn1afR12b5WHlo4AiHiRpvFD 9C/tgUqh1XDxShGlbXmCeg==; 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 <eliz@HIDDEN>) id 1phomK-0001vN-OS; Thu, 30 Mar 2023 05:41:09 -0400 Date: Thu, 30 Mar 2023 12:41:18 +0300 Message-Id: <83edp660g1.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Teika Kazura <teika@HIDDEN> In-Reply-To: <20230330.182045.1482877200410669261.teika@HIDDEN> (message from Teika Kazura on Thu, 30 Mar 2023 18:20:45 +0900 (JST)) Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. References: <20230330.182045.1482877200410669261.teika@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 30 Mar 2023 18:20:45 +0900 (JST) > Cc: eliz@HIDDEN, akrl@HIDDEN > From: Teika Kazura <teika@HIDDEN> > > What surprises is that `native-compile-async' and `batch-native-compile' generate differnt codes. To show it, use the same init.el and a.el above. Byte-compile first a.el, then init.el. Next native-compile init.el. Run emacs, and the above bug appears. This is not surprising at all: native-compile-async compiles in a separate process with environment unaffected by your customizations, whereas batch-native-compile compiles in the current session, and thus inherits all of your customizations. > The difference is that (i) if you use native-compile-async, by removing one of init-<hash>.eln or init.elc, the bug disappears, even if the other remains. But (ii) if you use "$ emacs -Q -batch -f batch-native-compile *el", eln in fact does not matter; only the presence of init.elc screws things up. > > # Who can expect this? > > At the very least, native-compilation has too many undocumented aspects. If you want, I'll open a new bug for this discrepancy. > > # It's off-topic for this bug, but for the above sample code, automatic, asynchronous generation of an eln file does not happen, unlike the case of my real init.el. I can't find the reason yet. If the above happens in "emacs -Q", a reproducible recipe will help. And please try that in Emacs 29 if you can, since we don't plan on any releases of Emacs 28 with any substantial changes.
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 30 Mar 2023 09:21:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 05:21:22 2023 Received: from localhost ([127.0.0.1]:55752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phoTC-0003VU-5G for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:21:22 -0400 Received: from mout.gmx.net ([212.227.17.21]:36719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <teika@HIDDEN>) id 1phoTA-0003VG-MP for 62317 <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:21:21 -0400 Received: from localhost ([153.204.206.72]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MkHMP-1qAJjU23qL-00kfhP; Thu, 30 Mar 2023 11:21:14 +0200 Date: Thu, 30 Mar 2023 18:20:45 +0900 (JST) Message-Id: <20230330.182045.1482877200410669261.teika@HIDDEN> To: 62317 <at> debbugs.gnu.org Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. From: Teika Kazura <teika@HIDDEN> In-Reply-To: <20230330.181859.275167795410318945.teika@HIDDEN> <xjfa5zxgi6i.fsf@HIDDEN> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:7PgzGlf3HLVg7K13oNFT3JWuO1RPm8Fj3ITVepz6QNd8zBlKWxV 3+5zrULrnlr2+s+eisuTHbYxYhtUptFNOZCOTzdUoFhKPFeB683BXRf+F0A+cJRvw3DeYfx +N5CIsQUI0J1+gg2Hh8GlsGgmFf49knnBdid7g7S/PNbPmbKVNikPtfta5LrE9LpWDKAgME UMx++0RF/FGbGHHpPjxyQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:CtPNDy2IYkM=;K6SmL4hr66J2HQmOb+w1Vnb1d43 wbhM+8JMzi/5+J/EWHaFE04u2YEAR6HXaiYwxCyQQVk8jITb36K2KFyKlkZPH5pilBzMe18RH WfRaN0OgCLXYkKvjxPtSWhZnsrpyLY6FuEkqMDKr9H+tlgj6KroDMSUBG8bdWSJXgdUEbkYLy QUUR1HCOyTkQww7MgEWwXHHhE3vB3Razxu70Upf+k4FsXgqTiuH4RTx2149Jt4z3HAQa0LPhz GJSLe725F9YZ/LXkf8DtIsMJgdqAI0Q1T6+UqK28pU4Qxmc2Ke85SLmLLx/izhTzNf4TSRSMD MOcD6Au0wihwubDCEuJ79fpRcU/JaVFRcuWmMm0HPIe454oAkYy3hcKTF20t+mdS+1thSsrxu NCT8IMk1nenkSUVTBxoECds0NyM95J2uPNzAzcZykuY4O/ZjtVbTfu3j0KgVy/Bm4MyMI8kYo 5b81OUqAyqPlWH3ZPw3nipMzIDYg/PQwBwfjlB/nH/Je8IM9Y83O+klw/xpiWXFGAuQewZFqZ qBi9mZuQ04l8EP+zSnXCHd4I7sewqNtHchEtokkpAwih2ST7rg48x5V30igcjGYoujbio936n sZDbqoye9g5qQ1yt9X7rgpoi86WY/m3zbObdlxzHTs164hmQ/w2xip8RKE+7TFoI36GvGU4l5 JI4psRaprrnSichFHgc1pF+7Fr/As1ghfmHRO8azsa3kH9cRI/TzyFywy4D7D5fU5s0GgieR7 tM0lIchrHneD/TcfgH3dZgTEt+P87CK1QteCep23J1NY+5xbKzlP8D0ChQF0nTaEzHXzwUEpd 5tM7vAaO/IMXGrKhOS68Nj5e+jSjuSkQ4pelasBHi8rRPqFRogqXm9+9GPnIjBPq1vvXR6Nbd EsTtUwo3eKT5brTlzN3GM79jeOCP4N/GZiA/cJUIC3x7L9cGbUUETMfrmcM5Jt4O3e85Y9M0O FaiLqQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62317 Cc: eliz@HIDDEN, akrl@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi. I found a relation of this bug to native compilation, but there's a new, independent bug. Anyway remember the problem here is the pair of require - set-buffer, and I'm using 28.2. (I know it's not safe. :p) What surprises is that `native-compile-async' and `batch-native-compile' generate differnt codes. To show it, use the same init.el and a.el above. Byte-compile first a.el, then init.el. Next native-compile init.el. Run emacs, and the above bug appears. The difference is that (i) if you use native-compile-async, by removing one of init-<hash>.eln or init.elc, the bug disappears, even if the other remains. But (ii) if you use "$ emacs -Q -batch -f batch-native-compile *el", eln in fact does not matter; only the presence of init.elc screws things up. # Who can expect this? At the very least, native-compilation has too many undocumented aspects. If you want, I'll open a new bug for this discrepancy. # It's off-topic for this bug, but for the above sample code, automatic, asynchronous generation of an eln file does not happen, unlike the case of my real init.el. I can't find the reason yet. Regards, Teika
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 13:49:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 09:49:12 2023 Received: from localhost ([127.0.0.1]:49198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph9hH-0001DN-Qq for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 09:49:12 -0400 Received: from mx.sdf.org ([205.166.94.24]:51899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1ph9hF-0001DE-QL for 62317 <at> debbugs.gnu.org; Tue, 28 Mar 2023 09:49:10 -0400 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 32SDn1q9015284 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 28 Mar 2023 13:49:07 GMT From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. In-Reply-To: <834jq582bt.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 28 Mar 2023 15:53:10 +0300") References: <20230321.125408.609857763486645873.teika@HIDDEN> <20230328.181544.1322854406210586127.teika@HIDDEN> <83a5zx84en.fsf@HIDDEN> <xjfa5zxgi6i.fsf@HIDDEN> <834jq582bt.fsf@HIDDEN> Date: Tue, 28 Mar 2023 13:49:01 +0000 Message-ID: <xjf5yalgf5e.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, teika@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Andrea Corallo <akrl@HIDDEN> >> Cc: Teika Kazura <teika@HIDDEN>, 62317 <at> debbugs.gnu.org >> Date: Tue, 28 Mar 2023 12:43:33 +0000 >> >> Anyway if we feel this is causing too much disruption I'm happy to >> revert the offending commit now WDYT? > > Yes, maybe we should revert until the solution is found. I agree. I reverted now the patch series into 29. Thanks Andrea
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 12:53:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 08:53:17 2023 Received: from localhost ([127.0.0.1]:49154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph8pB-0008DJ-3g for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:53:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ph8p9-0008D7-Hy for 62317 <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:53:16 -0400 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 <eliz@HIDDEN>) id 1ph8p3-0008WG-Ao; Tue, 28 Mar 2023 08:53:09 -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=7towsuR490xVrMK/eyo8pqwLVX2xLOm6MPyeszPKh0s=; b=pp61wHyFrIvM YkvyJ0KprBc1Oxk5YJw1bwGuCj9ZsM3oEy5wL4CmmA+7Ii0Azx+pezLvKuX3IUL+c1/B/FphE7Ys8 zfjO39UyXPB69dE+PQknmFbD2gP3PE+IItv4Fd5n9JB9wJjNkN5isyBeDtZYt0nssJwF8a3V/xBZH n7B6skE31juIoojstgnSylDEM8JkkFsssFtBQ9htFFPeZnLWeucoc6Eeq0mYG8v8C/zPInOQkkbuC DB0MMDisq+98PQ82HUENWMIK/AZV6sEXAu/1f+/Z/bcXSevI9R2ZZOyeFOWYCcHHCli8dXBtLk9qf 8DtZAVoJEgfSn3Skrc29ZA==; 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 <eliz@HIDDEN>) id 1ph8oz-0003rC-QY; Tue, 28 Mar 2023 08:53:08 -0400 Date: Tue, 28 Mar 2023 15:53:10 +0300 Message-Id: <834jq582bt.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <xjfa5zxgi6i.fsf@HIDDEN> (message from Andrea Corallo on Tue, 28 Mar 2023 12:43:33 +0000) Subject: Re: bug#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. References: <20230321.125408.609857763486645873.teika@HIDDEN> <20230328.181544.1322854406210586127.teika@HIDDEN> <83a5zx84en.fsf@HIDDEN> <xjfa5zxgi6i.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, teika@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <akrl@HIDDEN> > Cc: Teika Kazura <teika@HIDDEN>, 62317 <at> debbugs.gnu.org > Date: Tue, 28 Mar 2023 12:43:33 +0000 > > Anyway if we feel this is causing too much disruption I'm happy to > revert the offending commit now WDYT? Yes, maybe we should revert until the solution is found. Thanks.
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 12:43:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 08:43:37 2023 Received: from localhost ([127.0.0.1]:49149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph8fp-0007uy-0r for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:43:37 -0400 Received: from mx.sdf.org ([205.166.94.24]:64310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1ph8fn-0007uq-FI for 62317 <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:43:36 -0400 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 From: Andrea Corallo <akrl@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. In-Reply-To: <83a5zx84en.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 28 Mar 2023 15:08:16 +0300") References: <20230321.125408.609857763486645873.teika@HIDDEN> <20230328.181544.1322854406210586127.teika@HIDDEN> <83a5zx84en.fsf@HIDDEN> Date: Tue, 28 Mar 2023 12:43:33 +0000 Message-ID: <xjfa5zxgi6i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org, Teika Kazura <teika@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Date: Tue, 28 Mar 2023 18:15:44 +0900 (JST) >> From: Teika Kazura <teika@HIDDEN> >> >> 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-<hash>.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
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 12:08:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 08:08:20 2023 Received: from localhost ([127.0.0.1]:49113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph87f-00070g-RT for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:08:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ph87e-00070U-27 for 62317 <at> debbugs.gnu.org; Tue, 28 Mar 2023 08:08:18 -0400 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 <eliz@HIDDEN>) 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==; 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 <eliz@HIDDEN>) id 1ph87X-0004tU-NP; Tue, 28 Mar 2023 08:08:12 -0400 Date: Tue, 28 Mar 2023 15:08:16 +0300 Message-Id: <83a5zx84en.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Teika Kazura <teika@HIDDEN>, Andrea Corallo <akrl@HIDDEN> In-Reply-To: <20230328.181544.1322854406210586127.teika@HIDDEN> (message from Teika Kazura on Tue, 28 Mar 2023 18:15:44 +0900 (JST)) Subject: Re: bug#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. References: <20230321.125408.609857763486645873.teika@HIDDEN> <20230328.181544.1322854406210586127.teika@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62317 Cc: 62317 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Tue, 28 Mar 2023 18:15:44 +0900 (JST) > From: Teika Kazura <teika@HIDDEN> > > 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-<hash>.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.
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 28 Mar 2023 09:16:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 05:16:06 2023 Received: from localhost ([127.0.0.1]:48949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph5Qz-0008IA-Vz for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 05:16:06 -0400 Received: from mout.gmx.net ([212.227.15.18]:48479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <teika@HIDDEN>) id 1ph5Qx-0008HY-84 for 62317 <at> debbugs.gnu.org; Tue, 28 Mar 2023 05:16:04 -0400 Received: from localhost ([180.11.39.2]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MNswE-1q5LRz2tIm-00OETn; Tue, 28 Mar 2023 11:15:57 +0200 Date: Tue, 28 Mar 2023 18:15:44 +0900 (JST) Message-Id: <20230328.181544.1322854406210586127.teika@HIDDEN> To: 62317 <at> debbugs.gnu.org Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. From: Teika Kazura <teika@HIDDEN> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:5aftmfFNH1GYhqGvAf36x6yLkcuGwR6aVZhV6eDH8LYEPH0Coqe OYFFGJqEx0GJPO/26NLrN0crGkblFLgQIoTnpuVTJ5l3OLP0fdzXHYKat84Iy2oMOKj+nkR IDwSPZFIgCKvpulTfWSgfuR9nbL12Ln7b37Y2iJWT1pSSY/bQUNReNQuVMNkM6GIWUBdQt3 jhI7TpCx91PJPvAlfReAA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:jfwkVpni19s=;jm3utFYOS0zYbwgGhA8qm9QwCj8 OQMs6vNaA3klJNVD/KoQ1DEon/ptYYxfsW3p6QLivAzURN+/9WnnArAEMtgXvQnULe5dfWeut DQfR1JVVgZFruAnnWVhD3IfzsNPe1xb/g2rpSXvmxJ9wue46M0YzeOkVViG55y82nEwXeybIT OvDp2Z9yUJRutOS2y8beUZ6aSXWcWK9msK5py7G33hg8dtVjeyVenU5zrJIG59AiKp8Idydj1 Ul6MUeSsbqeO7q8b+vYAuy730ZPMjlEbKnDrpL0lfp5hnvmE85Ut+Ck9tHX6C6V4Lqp2pgl1R CSd7Q03o/kzw8pzXvIpputSeK96oNM7gpzN+V8G8dHQsP8smQWOPlCkkpXBITtKB89gRQ8bAh FIUP44a3oy0LbCMbRj8Y3epdihcZ2+g36DOS8QMhBGp4TJWKKEvu6OVx4s/c15z6+rC4T17Iq wGWXximE1u6+kRG5yaXvz7vTvHOxUHMkGHM+8CaxvNw6GjprTDhBjNkmogxvCOCNEryLVGdZG kueVCWcyomlizr+O9zHE0GZENmnywgMIfuQVfBQZrQTQsb9eVDpx9zD8jjuv5/RtrGMDN6rDB IGHXJJxJwqyLJYxqDneEgFH2vPNAC7o7AlYSkZH1wM3RbAQCNiKdu9n1c6FUy8YgyoaJupACl tUS5OvY2E3uempanr1ZY5VzZa/1vENzBwKBCHGDz2lxqbwXY1VZlSUsPkZu6CTPFLtoozBuw7 v7w99+jPkSKivF+THl41l0SlWopbk4JCigkWCDdyEG+Y1oxauNv0ZuCIo2g626eSH61xZgCTW SKnNzkMf5jyOMlT8gEZd0oIP+nQ0zKk3mmcfh+j1H5HTHeiQok1UZbjo/QhO7aZnvTWyN1ION 6WDXsDXYvS1n3JTb0BMwJkVQC+Zp9FKeD2SnfgQVXyrRtqhBDgoOywpL07hIY5hi32J8i/X3J VXpp8w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62317 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) 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-<hash>.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.) Anyway fixing this bug will solve other native-compilation related bugs, if any. Regards, Teika
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at 62317) by debbugs.gnu.org; 22 Mar 2023 06:39:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 22 02:39:27 2023 Received: from localhost ([127.0.0.1]:33294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pes87-0002MT-2J for submit <at> debbugs.gnu.org; Wed, 22 Mar 2023 02:39:27 -0400 Received: from mout.gmx.net ([212.227.17.21]:45755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <teika@HIDDEN>) id 1pes82-0002MD-Tu for 62317 <at> debbugs.gnu.org; Wed, 22 Mar 2023 02:39:25 -0400 Received: from localhost ([153.204.207.140]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N3KTy-1qdoRt3BWE-010KIg; Wed, 22 Mar 2023 07:39:16 +0100 Date: Wed, 22 Mar 2023 15:39:04 +0900 (JST) Message-Id: <20230322.153904.489906822658174776.teika@HIDDEN> To: 62317 <at> debbugs.gnu.org Subject: Re: bug #62317: 28.2; This byte-compiled file behaves wrongly. From: Teika Kazura <teika@HIDDEN> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Gw/Qo3AyuOH3Z+JYxfzTZsWg2jCfCLpGh5d1U5IK3T0uiwBAFWF PDXc0RoaDUThCGnZUv6rQkzmq5jBH5FEIeb/+U0NrsYJgE5RsLZQdPZq8wkiivKwIvBAdsJ E6BUwTGfpA7g88CRROg44KLxWYj/qu7Y8CAVhQwFlTavq6dXcGlAY5x456U1qx+L98RIjvs rjyZTSE9LrDp5+7qgtL/Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:KpkMqNyDh/4=;ixIbrG2ejVhpk4WL63QlZsWjviK +wQ4863qra2v5+nr7fVVLw9Hy1YpwL0AMUgf0QEkvXis7XxuVjs7fCgFHGRNzWRWyINqmYFP+ Dng+fAARAGC3tHDRcig+cA24A6nFUwBazB3OyfeoJIejBqTnioyddnwRfbuRKHOSUhnDiF4BB kskG1BJ/jAdSzGKm6qhuHkTSnfVmOrPBB/4EIAv7xEplgQzJiQmbrtQQWZvkRweMpH8FstV/U Dgy4be4uylrZkkeYvP5RIRXxxQ8cPPEGT013CEsGkxOeWWToo0qK3RU1fCrLk+uCH3YUkVMgA WOkCCUtH/VTptKmSmpkt0LHkiebI/10am2BpBm0ieTi0UNwbylC0NLsHwvoRkX+GOskR8R730 TVTI/M2eBW6/fxfHZscUSDCv5IwRf0LtHoiABHNAyb3kbNZZft2XNoX/T7LhmKL7JoTLB3Pqc wTutpVgyig33b9zwHhQkeXXfEZA6cppB7NGNGXtYrYHQoHQzWyvaIn8FaW5QoxbhBSCd0LTCn Wr4fPr7VsYyVh4ipAEURF48GQObNtxiRmI9349QqvlSa9SsypclrCC+IVfBh6GgY2A/9f9dL8 izvop1rGm8pyhFIjyZERCJbnWwSsGPx2y1hX7qL/3EhUSJls/nAWRmKAxY4AYbdhS5NFHDp4Y yhUCRDriU6dcaYFnZdiTFtTQ0oPlTXgy+8Qdbw9CkL9jkFqJPZRFbTAuEPAxpT9X4pGrlLV/D EHGcMdmYYwGCyFUdBrCrXLHsUMLQbWn4V3LjIgIBRQotQg9z2qpYhFiana9AtdERKDDJTxiFE RrgAQ7nCp8JdIG+g84JkV9LteB7u3WatxP3hwnruAkUKkjZbIHWJ8HojK4bKWtpdrInie2sEJ TmLZvvxrWlTif2KfqeTewAxrHQ+YQmUz1L/Dq+oUvDcEF7lqZjYvIE+VC5OFazIRdO7xTmqF3 iwbxrV3+SYzOOYS8ph5+iaYGjJw= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62317 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) As a workaround, you can wrap `set-buffer' with save-excursion, with-current-buffer, or save-current-buffer. Then it works correctly. Teika
bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 03:57:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 20 23:57:33 2023 Received: from localhost ([127.0.0.1]:57324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1peT7t-0001yp-8a for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 23:57:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:43502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <teika@HIDDEN>) id 1peT7r-0001yh-9T for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 23:57:31 -0400 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 <teika@HIDDEN>) id 1peT7q-0003vY-Ns for bug-gnu-emacs@HIDDEN; Mon, 20 Mar 2023 23:57:30 -0400 Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <teika@HIDDEN>) id 1peT7o-0003Ra-Is for bug-gnu-emacs@HIDDEN; Mon, 20 Mar 2023 23:57:30 -0400 Received: from localhost ([153.206.10.174]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1M8ykW-1pbjq10uoQ-0066DE; Tue, 21 Mar 2023 04:57:23 +0100 Date: Tue, 21 Mar 2023 12:54:08 +0900 (JST) Message-Id: <20230321.125408.609857763486645873.teika@HIDDEN> Subject: 28.2; This byte-compiled file behaves wrongly. From: Teika Kazura <teika@HIDDEN> To: bug-gnu-emacs@HIDDEN Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:1QpQTikbDPNCsWIlJ5Zj6fMgfZt927vYo6/bII5cnvNbTJfNBl1 uErEsmXBVX8m1k1i+BZOR6i71qkQ0HHxy2wfFnqjYQUNu+bbn78aDCPSYrnjoMiObqLsCJe 8lcyuovh9Mlwbx1HADP3aDrZWyUBt9/CBBcQ0u18VeJDcNKDK1GWV48YyZiRys78AQQZI0M FvypZfiIk7ik7V4DOprsw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:r/454RBoiR4=;/vxnG0bw73N3c7RC/flagAo3Qx4 f6L3sWiJTItXT4T6FTWW3Mpv6n3nc4EqzZFaWP+yp2M+DT5UMKzXrErxzajT7JsUyh/DkqyCM ToHy649w2Vy+lt+k24Sq7/DomRkW8DtA0kOMziNFNyWCaYBewETXxt+1Hm4S4/UTO3JHGTMWM 5vE2NXAUgI96/lOcNXYJczkPxAKe/hAEfvSkrYJDdEo/PEEa++aMnvXfEodv/GqrBUBJO7VDM +v8XOl0BpbOGg0h82VcsyWHsJKgsfC0PomiBMUFqrKJkm5A1GYFLe4C6J5HwtfFA2azb1bB1o wa+lrI/I4Lu7HrLyJgbLmHQ3vuKWJGX+EoNHf3bV4mob6zDY+rmIrGjqTyZss+smcWPMa1VLd sargn2ny1zKSZoygC27k9v5YnIyMF21/PwMvcfKdBLsxt2GZ2zPlGaUEPkDR6tOErIhEiVjkq c34qf/5OyWlzfMP0qIUQ+pjUb1jjXhCp5d/BYtgBUFFMlKIlB9wZMoEI7k2ijflydZchEhNzp qWju9QwWZIXyfEd4vS0rtm2fv2PHdLlfUu2a1tHJT7C13oZLFHL+yWDUMnv4oDQKmTzifgD5G SPU8vLqxcAt25lmIG6wQXhXMfhPZcB8E+UiwZbKP7K2+WtWVmX7VgYxRQvALTvBVRNaXUShxD NM9SWS99w0MPMeOBBKwnNoDxU3vg4Gql+DRvxyhjkFbmFX6P+NfyUPeFjUls1HxbI/y0dI1Th WLH/elKDcjFUJmOeZL/klzHqrt13rGnY27f9nnOpFY7sjTwEdl3ClQWc051Fbtp84FA8TLv2q SbCWBJtG7pl2VoNHB6cDZ7gsp/NHxmEMTu0VVUYOG40lXmqjWIlkcgMM7JUgdvsRBA0xdKnQc GZvPv/hfmJ3C2qeZ4FLKvlZKDEHtloh3jYoZeFdF6i0DUhIxdQFjNAnSw4sGt1p6pjdcXba7V wFhmLg== Received-SPF: pass client-ip=212.227.15.18; envelope-from=teika@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hi. In the situation below, a byte-compiled init code's evaluation is not completed, but emacs starts as if nothing was wrong. * How to reproduce: First, ~/.emacs.d/init.el: ------------------------------------------------------------------------ (eval-and-compile (push user-emacs-directory load-path) (require 'a)) ;; Hereafter is ignored when byte-compiled. (defvar foo-var 'baz) (message "Hello, world.") (pop-to-buffer "*Messages*") ------------------------------------------------------------------------ ~/.emacs.d/a.el: ------------------------------------------------------------------------ (set-buffer "*Messages*") ;; or (set-buffer (get-buffer-create "bar")) (provide 'a) ------------------------------------------------------------------------ Byte compile these two files *in this order*: $ cd ~/.emacs.d; emacs -Q -batch -f batch-byte-compile a.el init.el (you can now remove a.elc; it doesn't matter this bug.) Finally, run emacs as either of these: $ emacs -Q -l init.elc $ emacs --no-splash --no-site-file * Symptom As I commented in init.el, the code after `require' is ignored when init.el is byte-compiled. However, emacs starts as if nothing was wrong. The line of `set-buffer' in a.el seems to trigger this bug. If you delete that line, this bug doesn't occur. * version and build info: In short, emacs 28 regression, but I don't know the exact version - My 28.1 was without gcc-jit, and this bug was not there. The 28.2 is built with gcc-jit, and the bug hits me. Full build info: ------------------------------------------------------------------------ Gentoo Linux GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2023-02-02 Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-silent-rules --docdir=/usr/share/doc/emacs-28.2-r4 --htmldir=/usr/share/doc/emacs-28.2-r4/html --libdir=/usr/lib64 --program-suffix=-emacs-28 --includedir=/usr/include/emacs-28 --infodir=/usr/share/info/emacs-28 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --with-pdumper --enable-acl --without-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-native-compilation --with-json --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --without-selinux --with-gnutls --without-libsystemd --with-threads --with-wide-int --with-sound=no --with-zlib --with-x --without-ns --without-gconf --with-gsettings --without-toolkit-scroll-bars --without-gif --without-jpeg --without-png --without-rsvg --without-tiff --without-xpm --without-imagemagick --with-xft --with-cairo --with-harfbuzz --with-libotf --with-m17n-flt --with-x-toolkit=gtk3 --without-xwidgets --with-dumping=pdumper 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: ACL CAIRO FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JSON LIBOTF LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER SECCOMP THREADS X11 XDBE XIM GTK3 ZLIB ------------------------------------------------------------------------ Thanks, Emacs developers. Best regards, Teika
Teika Kazura <teika@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#62317
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.