[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65030: 30.0.50; Check keyword args of make-process
From: |
Eli Zaretskii |
Subject: |
bug#65030: 30.0.50; Check keyword args of make-process |
Date: |
Sat, 05 Aug 2023 12:21:40 +0300 |
> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Thu, 03 Aug 2023 08:47:44 +0200
>
> The functions make-process and make-network-process have many keyword
> arguments and it's somewhat easy to misspell some of them. E.g. using
> :coding-system instead of :coding. These functions don't detect such
> mistakes at runtime. What would people think about adding some checks
> as a compiler macro as with the patch below?
>
> I didn't know where to put this, so I just left it in bytecomp.el.
>
> Perhaps the advertised-calling-convention declaration could do this, but
> since keyword arguments seem to be generally discouraged, a special case
> for make-process and make-network-process maybe simpler.
Mattias, Robert and Stefan: any comments on this?
Thanks.
- bug#65030: 30.0.50; Check keyword args of make-process, Helmut Eller, 2023/08/03
- bug#65030: 30.0.50; Check keyword args of make-process,
Eli Zaretskii <=
- bug#65030: 30.0.50; Check keyword args of make-process, Stefan Monnier, 2023/08/05
- bug#65030: 30.0.50; Check keyword args of make-process, Eli Zaretskii, 2023/08/06
- bug#65030: 30.0.50; Check keyword args of make-process, Mattias Engdegård, 2023/08/06
- bug#65030: 30.0.50; Check keyword args of make-process, Robert Pluim, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Mattias Engdegård, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Robert Pluim, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Mattias Engdegård, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Eli Zaretskii, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Mattias Engdegård, 2023/08/08
- bug#65030: 30.0.50; Check keyword args of make-process, Robert Pluim, 2023/08/08