GNU bug report logs - #65030
30.0.50; Check keyword args of make-process

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Thu, 3 Aug 2023 06:49:01 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #11 received at 65030 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Mattias EngdegÄrd
 <mattiase <at> acm.org>, Robert Pluim <rpluim <at> gmail.com>, 65030 <at> debbugs.gnu.org,
 Helmut Eller <eller.helmut <at> gmail.com>
Subject: Re: bug#65030: 30.0.50; Check keyword args of make-process
Date: Sat, 05 Aug 2023 19:07:53 -0400
>> 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?

Good idea, thanks.


        Stefan





This bug report was last modified 1 year and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.