[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: |
Drew Adams |
Subject: |
bug#45619: 28.0.50; pcase-let on MacOS doesn't work |
Date: |
Mon, 4 Jan 2021 15:41:19 +0000 (UTC) |
> > (pcase-let ((`(,default-directory) '( "/tmp/")))
> > (call-interactively 'find-file))
> >
> > Expected behavior: Find file in "/tmp/"
> > Observed behavior: Find file in "~"
>
> AFAICT the issue here is that `pcase-let' always creates lexically
> scoped bindings, even for special variables. That can be surprising.
>
> @Stefan, what can we do? Document better? Add compiler warnings? Or
> is it possible to "fix" this?
Please do at least document it (along with the reason for it perhaps?).
What is the reason for it, BTW?
- 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 <=
- 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