From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Gillespie <tgbugs@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
Stefan Kangas <stefankangas@gmail.com>,
emacs-devel@gnu.org
Subject: Re: [PATCH] hack-one-local-variable use lexical-binding
Date: Sun, 29 Nov 2020 15:38:11 -0500 [thread overview]
Message-ID: <jwvpn3vyk67.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CA+G3_POJQ-wTduQihhLCXV_rXdWgHeOOp+h4OBPUh2qgdVA2Pg@mail.gmail.com> (Tom Gillespie's message of "Sun, 29 Nov 2020 14:50:35 -0500")
> The only outstanding question to me is whether users would be able to
> control whether the eval local variable uses lexical binding at all
> even in the future. I can imagine that when the switch to
> lexical-binding being t by default happens there will be a need for an
> escape hatch
The lexical-binding dialect of ELisp already offers both dynamically
scoped bindings and statically scoped bindings (controlled by the use
of things like `defvar` and `dlet` to declare that a var should use dynamic
scoping).
Stefan
prev parent reply other threads:[~2020-11-29 20:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-26 2:55 [PATCH] hack-one-local-variable use lexical-binding Tom Gillespie
2020-11-26 3:07 ` Stefan Monnier
2020-11-26 4:47 ` Tom Gillespie
2020-11-26 7:16 ` Eli Zaretskii
2020-11-26 14:21 ` Stefan Monnier
2020-11-26 14:44 ` Eli Zaretskii
2020-11-29 4:12 ` Tom Gillespie
2020-11-29 9:43 ` Stefan Kangas
2020-11-29 15:42 ` Eli Zaretskii
2020-11-29 19:50 ` Tom Gillespie
2020-11-29 20:38 ` Stefan Monnier [this message]
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=jwvpn3vyk67.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=stefankangas@gmail.com \
--cc=tgbugs@gmail.com \
/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.