[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45619: 28.0.50; pcase-let on MacOS doesn't work
From: |
Stefan Monnier |
Subject: |
bug#45619: 28.0.50; pcase-let on MacOS doesn't work |
Date: |
Fri, 08 Jan 2021 17:13:18 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I wondered what happens when a pcase form binds a symbol S that is not
> defined at compile time (normal case) but then a user loads a package
> that declares S as (globally) special. Then that pcase binding gets
> dynamical scope at runtime (as it would happen with any `let' binding),
> right? Sorry if this is silly or trivial, I was just wondering...
This is a much more general problem which affects all variable bindings
rather than only those of `pcase`.
Note that the choice between dynamic and lexical scoping is made at
compile-time (when you compile the code), so if the code is compiled you
should be somewhat immune to the problem.
Stefan
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, (continued)
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Michael Heerdegen, 2021/01/04
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Drew Adams, 2021/01/04
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Stefan Monnier, 2021/01/04
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Michael Heerdegen, 2021/01/04
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Stefan Monnier, 2021/01/04
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Michael Heerdegen, 2021/01/07
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Stefan Monnier, 2021/01/07
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, Michael Heerdegen, 2021/01/08
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work,
Stefan Monnier <=