From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#51982: Erroneous handling of local variables in byte-compiled nested lambdas Date: Sat, 20 Nov 2021 18:22:43 +0100 Message-ID: References: <87y25jo2q1.fsf@web.de> <29C3A3F8-CD9F-4AF2-A731-3304FC30E380@acm.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005c653f05d13ba42c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22598"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , Stefan Monnier , 51982@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 20 18:24:11 2021 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 1moU5z-0005fG-Cw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 18:24:11 +0100 Original-Received: from localhost ([::1]:58752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moU5x-0005LD-5o for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Nov 2021 12:24:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moU5q-0005L2-LP for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 12:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moU5q-0000IB-DK for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 12:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moU5q-0006hN-74 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2021 12:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Nov 2021 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51982 X-GNU-PR-Package: emacs Original-Received: via spool by 51982-submit@debbugs.gnu.org id=B51982.163742898325662 (code B ref 51982); Sat, 20 Nov 2021 17:24:02 +0000 Original-Received: (at 51982) by debbugs.gnu.org; 20 Nov 2021 17:23:03 +0000 Original-Received: from localhost ([127.0.0.1]:43631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moU4t-0006fq-0G for submit@debbugs.gnu.org; Sat, 20 Nov 2021 12:23:03 -0500 Original-Received: from mail-ed1-f47.google.com ([209.85.208.47]:39630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moU4q-0006f6-Ae for 51982@debbugs.gnu.org; Sat, 20 Nov 2021 12:23:01 -0500 Original-Received: by mail-ed1-f47.google.com with SMTP id w1so56688238edc.6 for <51982@debbugs.gnu.org>; Sat, 20 Nov 2021 09:23:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tg75nvgiXvznmQpdN/HuZZYr+aNZj/Q+a2DjHxh5vXE=; b=kccV+T0Or+JSIOtLZ3GBa9YYuFy9/OzDX7kGImsP/b/Nh580F9g+LLd5Ofg07PnWn3 dMAUnJI+eDCwqn7or7SNkXLpzGGeP2/Sy/QK3nQ/zMCRRm4OF/OVVIOzTbc/TVX2iAXr 0ZF4vKZs+PZ+urzgHyTpmccNvu4DBONG5wFFScv5XFxNyLb7CTZa1cBqNiUpO35z6zYA 2laoujCBZUpkxDG9GoktMwy/lzldfv7Atd6o+Dpq+xWljN4brU+HC+u3TgktXMcvJcHO Xz6g1aTrHJY3oS0JnSLMcQIoFf6otOxHekx5hIsrS5Rqdk3dYYTLsQhFBE4YErIixi38 DFcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tg75nvgiXvznmQpdN/HuZZYr+aNZj/Q+a2DjHxh5vXE=; b=fIEZhitkqNXZVA7Fc+cfpdBSBStyy+HmTCfJkw33VSfZP0ppLCXk6Tmxe+ILsPdxwq Ak0GQZ639/fxFkGowpyiNvDG+HDJ8dMevmgWLAqq4NE5/ec8nIinBtCOQzkMrRmTujjD qPShP6IA2ji9+OCQazUX2W//2NJSdu2pqvgo0Y3jdCi50+WfS7dJXPt2MSOHZOvQpkhu 613BB8tF/ULqRKSrCArzA4uCCijOAqGO6IjTiJr276bUqZUvB8XbNLzmDy9zqlwRgeW8 MyBAHZ1CHtRp55Ds5QE7H1PXhs7jBEZMUgcxYEtmNud+Rhqa+OIGevhmNbl22vlnb9sA REPw== X-Gm-Message-State: AOAM533lqUXUFw2D63rN7oeJfE6GyoEXLbNHM5JFf8wmdA1YO61NNzyr 6XL4buoGyK4Cth7A0RrkwYzUFwNITneOn9mS0w== X-Google-Smtp-Source: ABdhPJyT3QfeZk79QJSRyoyErc1tlS8bfKckCfQcpTYopSxmiSQ5RURq9IMT0ZBLjmKnPuXcUV6GaP6WD0X9ONoNp0U= X-Received: by 2002:a17:906:4fcc:: with SMTP id i12mr20986767ejw.309.1637428974346; Sat, 20 Nov 2021 09:22:54 -0800 (PST) In-Reply-To: <29C3A3F8-CD9F-4AF2-A731-3304FC30E380@acm.org> 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" Xref: news.gmane.io gmane.emacs.bugs:220514 Archived-At: --0000000000005c653f05d13ba42c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > you cannot count on an eventual fix to be back-ported to Emacs 28 Uh, it's not even released yet. Are the stabilization rules so strict that even a *fix* cannot go in? Unless it is going to be a rewrite of half the file... Paul On Sat, 20 Nov 2021 at 18:04, Mattias Engdeg=C3=A5rd wro= te: > 20 nov. 2021 kl. 17.54 skrev Paul Pogonyshev : > > > I consider this bug pretty important. > > You are not alone! However, it's been there for quite a long time so you > cannot count on an eventual fix to be back-ported to Emacs 28, much less > older releases. If you value compatibility with old versions, be prepared > for work-arounds. > > For that matter I know exactly what's wrong and am currently weighing > various solutions. > > --0000000000005c653f05d13ba42c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> you cannot count on an eventual fix to be back-ported= to Emacs 28

Uh, it's not even released yet. Are the= stabilization rules so strict that even a *fix* cannot go in? Unless it is= going to be a rewrite of half the file...

Paul

On Sat, 20 Nov 2021 at 18:04, Mattias Engdeg=C3=A5rd <mattiase@acm.org> wrote:
20 nov. 2021 kl. 17.54 skrev Paul Pogo= nyshev <pogony= shev@gmail.com>:

> I consider this bug pretty important.

You are not alone! However, it's been there for quite a long time so yo= u cannot count on an eventual fix to be back-ported to Emacs 28, much less = older releases. If you value compatibility with old versions, be prepared f= or work-arounds.

For that matter I know exactly what's wrong and am currently weighing v= arious solutions.

--0000000000005c653f05d13ba42c--