[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40968: 28.0.50; (apply nil)
From: |
Pip Cet |
Subject: |
bug#40968: 28.0.50; (apply nil) |
Date: |
Wed, 6 May 2020 11:49:26 +0000 |
On Wed, May 6, 2020 at 11:24 AM Stefan Kangas <stefan@marxist.se> wrote:
> Pip Cet <pipcet@gmail.com> writes:
> I have a feeling I'm missing something obvious here. The current
> function signature is:
>
> (apply FUNCTION &rest ARGUMENTS)
>
> How would your proposal change that?
(apply FUNCTION ARGUMENT &rest ARGUMENTS), I guess. I missed it in the
first patch.
Note that the old signature suggests (apply FUNCTION) is equivalent to
(funcall FUNCTION), which it isn't. (For example, that's what ElDoc
indicates the first argument to apply is).
Again, I'm no longer sure what the right thing to do here is. I think
I'm up to five different interpretations of (apply ARG) here,
depending on whether ARG is interpreted as FUNCTION, the last of the
ARGUMENTS, an ARGUMENT but not the last one, or a combination thereof,
and whether ARG is required to be a list or not...
- bug#40968: 28.0.50; (apply nil), Stefan Kangas, 2020/05/05
- bug#40968: 28.0.50; (apply nil), Pip Cet, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Stefan Kangas, 2020/05/06
- bug#40968: 28.0.50; (apply nil),
Pip Cet <=
- bug#40968: 28.0.50; (apply nil), Stefan Kangas, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Pip Cet, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Stefan Kangas, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Pip Cet, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Drew Adams, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Eli Zaretskii, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Pip Cet, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Eli Zaretskii, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Drew Adams, 2020/05/06
- bug#40968: 28.0.50; (apply nil), Noam Postavsky, 2020/05/06