[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setq's with missing final arguments.
From: |
Artur Malabarba |
Subject: |
Re: setq's with missing final arguments. |
Date: |
Sun, 22 Nov 2015 13:03:24 +0000 |
Alan said:
> In the setq, there is a missing argument after "bar". At the moment,
the byte compiler just generates code to assign nil to bar, without
giving any warning. IMAO, this is Very Bad.
Oleh said:
> In my opinion, multi-variable setq should be deprecated altogether.
I'm in favor of giving warnings about any one of these (we shouldn't
actually change any behavior right now, of course).
I agree with Alan that the current behavior (allowing multiple args
where the last one might be assumed to be nil) is bad (regardless of
how consistent it is), and I think both options are a fine way to warn
users.
- setq's with missing final arguments., Alan Mackenzie, 2015/11/22
- Re: setq's with missing final arguments., Oleh Krehel, 2015/11/22
- Re: setq's with missing final arguments., Andreas Schwab, 2015/11/22
- Re: setq's with missing final arguments.,
Artur Malabarba <=
- Re: setq's with missing final arguments., David Kastrup, 2015/11/22
- Re: setq's with missing final arguments., Andreas Schwab, 2015/11/22
- Re: setq's with missing final arguments., David Kastrup, 2015/11/22
- 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