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 #14 received at 65030 <at> debbugs.gnu.org (full text, mbox):

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

Any specific comments to the proposed patch?  Or do you think it is
good to go?




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

Previous Next


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