unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	 Emacs developers <emacs-devel@gnu.org>
Subject: Re: Declaring 'lexical-binding: nil' obsolete
Date: Sun, 26 Sep 2021 10:55:13 +0800	[thread overview]
Message-ID: <87o88guju6.fsf@yahoo.com> (raw)
In-Reply-To: <CADwFkmmyGwsPcfOHGtLdUYMtJRfE09_BP5FZwrLRy3PQoQh63Q@mail.gmail.com> (Stefan Kangas's message of "Sat, 25 Sep 2021 19:37:06 -0700")

Stefan Kangas <stefan@marxist.se> writes:

> I disagree; the warning is clear.

The problem is not something that a byte compiler warning will solve.
Updating the documentation will do much more to solve that, than a
byte-compiler warning.

> Where the documentation is not yet updated to recommend lexical binding,
> it should be fixed.

Yes, agreed.

>> But why does the NEWS entry you have proposed include:
>>
>>     Third-party code will need to be changed to support
>>     'lexical-binding:t' to run properly on Emacs in the future.
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Because this is true if the plan is to change the default.

So in the future, dynamically bound code (lexical-binding: nil) must
also work with lexical binding (lexical-binding: t)?

That amounts to a removal of the dynamically bound variant of Emacs
Lisp.



  reply	other threads:[~2021-09-26  2:55 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o88guju6.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).