GNU bug report logs - #74145
31.0.50; Default lexical-binding to t

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Thu, 31 Oct 2024 20:59:02 UTC

Severity: wishlist

Tags: patch

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: 74145 <at> debbugs.gnu.org
Subject: bug#74145: 31.0.50; Default lexical-binding to t
Date: Sun, 29 Dec 2024 23:10:08 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >  for the old dynamic-only dialect.  When no declaration is present the
  > > -old dialect is used, but this may change in a future release.
  > > -The compiler will warn if no declaration is present.
  > > +new dialect is used.  Support for the old dialect may be removed in
  > > +a future release.

We should delete that last sentence.

It would be a mistake to delete support for lexical-binding: nil, even
20 years from now.

To convert a program from dynamic binding to lexical binding is not a
trivial transformatoin -- it requires actually understanding the code.
It would be bad judgment to require people to do that work for their
old programs merely to simplify one small piece of the language.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.