[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setq's with missing final arguments.
From: |
John Wiegley |
Subject: |
Re: setq's with missing final arguments. |
Date: |
Sun, 22 Nov 2015 15:20:17 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
>>>>> Alan Mackenzie <address@hidden> writes:
> I now think we should make any setq with a missing value throw an error,
> whether in interpreted code or in the byte compiler. And I think we should
> do it for Emacs 25.1.
> John?
I agree it should cause an error, and every usage in core should be fixed.
Also please fix `setf', which has the same problem.
`set', on the other hand, gives this error:
Error: wrong-number-of-arguments; Data: (set 1)
We should yield the same in the other two cases. And think about what other
functions should receive this same treatment.
John
- Re: setq's with missing final arguments., (continued)
- Re: setq's with missing final arguments., Andreas Schwab, 2015/11/22
- Re: setq's with missing final arguments., Alan Mackenzie, 2015/11/22
- Re: setq's with missing final arguments., Eli Zaretskii, 2015/11/22
- Re: setq's with missing final arguments., Alan Mackenzie, 2015/11/22
- RE: setq's with missing final arguments., Drew Adams, 2015/11/22
Re: setq's with missing final arguments., David Kastrup, 2015/11/22
Re: setq's with missing final arguments., Johan Bockgård, 2015/11/22
RE: setq's with missing final arguments., Drew Adams, 2015/11/22