[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-
From: |
J.P. |
Subject: |
bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file |
Date: |
Sat, 28 Jan 2023 07:56:22 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Not sure if that's the right call, though. If this keyword is already
>> seeing action in the wild, perhaps it's worth ensuring that its argument
>> arrives unquoted? Or maybe another type check (to accompany the one for
>> `name') would do?
>
> Can you show the results of macro-expansion both when coding has a
> value and when it is nil (and then coding-system-for-write is nil or
> has a non-nil value)?
`coding-system-for-write' nil, keyword nil
(ert-with-temp-file myfile :coding nil)
(let* ((coding-system-for-write nil) ...)
;; keyword absent
(ert-with-temp-file myfile)
(let* ((coding-system-for-write nil) ...)
`coding-system-for-write' nil, keyword non-nil
(ert-with-temp-file myfile :coding utf-8)
(let* ((coding-system-for-write utf-8) ...)
;; keyword quoted
(ert-with-temp-file myfile :coding 'utf-8)
(let* ((coding-system-for-write 'utf-8) ...)
`coding-system-for-write' non-nil, keyword nil
(setq coding-system-for-write 'utf-8)
(ert-with-temp-file myfile :coding nil)
(let* ((coding-system-for-write utf-8) ...)
;; keyword absent
(ert-with-temp-file myfile myfile)
(let* ((coding-system-for-write utf-8) ...)
`coding-system-for-write' non-nil, keyword non-nil
(setq coding-system-for-write 'utf-8)
(ert-with-temp-file myfile :coding raw-text)
(let* ((coding-system-for-write raw-text) ...)
;; keyword quoted
(ert-with-temp-file myfile :coding 'raw-text)
(let* ((coding-system-for-write 'raw-text) ...)
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/11
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Stefan Kangas, 2023/01/12
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/28
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/28
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file,
J.P. <=
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/28
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/28
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/28
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, J.P., 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Andreas Schwab, 2023/01/29
- bug#60730: 29.0.60; Free variable with :buffer keyword in ert-with-temp-file, Eli Zaretskii, 2023/01/29