From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Declaring 'lexical-binding: nil' obsolete
Date: Sun, 26 Sep 2021 09:02:00 +0300 [thread overview]
Message-ID: <834ka7q3hj.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmkDC1S2RFXPS5uhcGFVgo0xzzMx+FEAgAgX8t9a3GHOBQ@mail.gmail.com> (message from Stefan Kangas on Sat, 25 Sep 2021 15:47:45 -0700)
> From: Stefan Kangas <stefan@marxist.se>
> Date: Sat, 25 Sep 2021 15:47:45 -0700
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>
>
> Lexical binding has been with us since Emacs 24.1, released on
> 2012-06-10, almost ten years ago. In Emacs 28.1, we will have no files
> that do not use lexical-binding.[1]
>
> I think it is time to formally declare the "lexical-binding:nil" dialect
> of Emacs Lisp obsolete.
Not in Emacs 28, please. We need to collect experience "in the wild"
before we decide on the next steps, and for now the 100% coverage was
limited to those who track the master branch. That is not enough,
IMO. It definitely doesn't justify starting to warn users in Emacs
28.1.
Moreover, in general I see no need to rush this stuff. There's no
urgency whatsoever. Dynamic binding is not harmful. We have much
more important issues on our plate to push forward, let's focus our
efforts on them instead.
> The plan for phasing out 'lexical-binding:nil' is as follows:
>
> Emacs 28.1 - The byte-compiler warns if there is no 'lexical-binding'
> cookie.
>
> Emacs 30.1 - The byte-compiler warns if there is no 'lexical-binding'
> cookie, or if the cookie is 'lexical-binding:nil'.
>
> Emacs 32.1 - The warnings remain as before, and 'lexical-binding:t' is
> the default.
Please shift the major version numbers by 1 (at the very least).
next prev parent reply other threads:[~2021-09-26 6:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 22:47 Declaring 'lexical-binding: nil' obsolete Stefan Kangas
2021-09-25 23:17 ` Po Lu
2021-09-26 0:04 ` Stefan Kangas
2021-09-26 0:13 ` Po Lu
2021-09-26 0:50 ` Stefan Kangas
2021-09-26 1:20 ` Po Lu
2021-09-26 2:37 ` Stefan Kangas
2021-09-26 2:55 ` Po Lu
2021-09-26 6:30 ` Eli Zaretskii
2021-09-26 6:08 ` Eli Zaretskii
2021-09-26 6:06 ` Eli Zaretskii
2021-09-25 23:56 ` Eduardo Ochs
2021-09-26 0:35 ` Stefan Kangas
2021-09-26 6:02 ` Eli Zaretskii [this message]
2021-09-26 6:36 ` Lars Ingebrigtsen
2021-09-27 22:35 ` Deprecating 'lexical-binding: nil' Richard Stallman
2021-09-27 23:09 ` Stefan Kangas
2021-09-28 1:42 ` Stefan Monnier
2021-09-30 6:03 ` Richard Stallman
2021-09-30 14:18 ` Steingold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834ka7q3hj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.