bug-gnu-emacs
[Top][All Lists]
Advanced

[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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]