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: 28.2; This byte-compiled file behaves wrongly. Date: Wed, 13 Sep 2023 17:45:08 +0300 Message-ID: <83wmwum8sr.fsf@gnu.org> References: <20230321.125408.609857763486645873.teika@gmx.com> <83ilefy1d9.fsf@gnu.org> <83a5zqyiaj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5340"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62317@debbugs.gnu.org, teika@gmx.com, monnier@iro.umontreal.ca To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 13 16:46:17 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 1qgR8D-0001Cx-Db for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Sep 2023 16:46:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgR7w-0006oL-BJ; Wed, 13 Sep 2023 10:46:00 -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 1qgR7t-0006YU-Ll for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 10:45:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgR7t-0007sC-DG for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 10:45:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgR7y-0001uA-Dg for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 10:46: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: Wed, 13 Sep 2023 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62317 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 62317-submit@debbugs.gnu.org id=B62317.16946163487290 (code B ref 62317); Wed, 13 Sep 2023 14:46:02 +0000 Original-Received: (at 62317) by debbugs.gnu.org; 13 Sep 2023 14:45:48 +0000 Original-Received: from localhost ([127.0.0.1]:35575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgR7g-0001tS-S8 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 10:45:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgR7b-0001t9-17 for 62317@debbugs.gnu.org; Wed, 13 Sep 2023 10:45:43 -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 1qgR7O-0007hw-Jg; Wed, 13 Sep 2023 10:45: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=V/upR6mbnlTnh919MJOUbPi3nvIP7qYaSDe8IVtjyek=; b=SU/Yzxk23lrb XyVvvobSF/x88nYO5pWf4WEEs8FJS4lGU9rpz31re9QQ3cBKTRkZbjEteLkNMUza1mriVVzIQFvG7 +msQVORxXg3zCdbsviltfpGXe2ljADoZV3p/sBi/dCTve64vn0mfqSMd82iDyqe5v7/EWX2rPc+FT wvfaVJVN+b/PzKhV0YXt1opDukE8IkRqObu2BS3HuG6lcqeAlY3UmfTKd6ZnXotbJ9EJXPUtPpQWD JFGxsYsB3/a0EjHfyWsuaCgNWI3oEbLg5etei25zlufW8EwjD/6b/fLtzmX8rNiT3KnBA2OFs91GP disbnV4FPBIS6BeI+ZToCA==; In-Reply-To: (message from Stefan Kangas on Wed, 13 Sep 2023 07:02:38 -0700) 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:270301 Archived-At: > From: Stefan Kangas > Date: Wed, 13 Sep 2023 07:02:38 -0700 > Cc: Eli Zaretskii , 62317@debbugs.gnu.org, teika@gmx.com > > Stefan Monnier writes: > > >> It seems like this patch was never installed. > > > > To be honest, I'm not sure it's worth the trouble. > > > > I'd argue that the bug is in having side-effects like that inside > > `eval-and/when-compile` (or at the top-level of a `require`d file). > > The patch only caters to changes to the `current_buffer` but there can > > be many other ways to cause similar troubles and I can't think of a good > > way to confine them all. > > Good point. It seems rather unusual to call `set-buffer' from the > top-level of a required file, to say the least. And if we accept that, > users can start calling all kinds of weird and wonderful things. > > On the other hand, the fix seems innocuous enough. > > Eli, what do you think? Should we close this as wontfix? Given that Stefan Monnier himself is not sure, yes, I think we should close this as wontfix.