[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: |
Mon, 04 Jan 2021 15:37:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> (pcase-let ((default-directory "/tmp/"))
> (call-interactively 'find-file))
>
> I wonder what is messier: the warnings or the semantics resulting from
> avoiding the warnings. I guess people would more often complain about
> the warnings...
I think the cleaner semantics is to say that if variables bound by pcase
are dynamically scoped the behavior is "undefined", and to add
a check&warning about it in pcase (the problem with the old "unused
var" warning is that it was cumbersome to avoid it, whereas this new
warning would be easy to avoid by moving the binding to a separate
`let`).
Stefan
- bug#45619: 28.0.50; pcase-let on MacOS doesn't work, jixiuf, 2021/01/03
- 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, 2021/01/08