From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65030: 30.0.50; Check keyword args of make-process Date: Sat, 05 Aug 2023 19:07:53 -0400 Message-ID: References: <83a5v5u9nf.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38322"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Robert Pluim , 65030@debbugs.gnu.org, Helmut Eller To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 06 01:09:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qSQOe-0009lH-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Aug 2023 01:09:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSQOO-00053H-H7; Sat, 05 Aug 2023 19:09:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSQOM-000536-H9 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 19:09:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSQOM-0006T5-7X for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 19:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSQOM-0001yQ-36 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 19:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 23:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65030 X-GNU-PR-Package: emacs Original-Received: via spool by 65030-submit@debbugs.gnu.org id=B65030.16912768957528 (code B ref 65030); Sat, 05 Aug 2023 23:09:02 +0000 Original-Received: (at 65030) by debbugs.gnu.org; 5 Aug 2023 23:08:15 +0000 Original-Received: from localhost ([127.0.0.1]:58333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSQNb-0001xL-0e for submit@debbugs.gnu.org; Sat, 05 Aug 2023 19:08:15 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSQNZ-0001x8-HT for 65030@debbugs.gnu.org; Sat, 05 Aug 2023 19:08:14 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 35FB71000EF; Sat, 5 Aug 2023 19:08:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1691276887; bh=a2M1EFMidf9Yvsv27ulvnMzSrzEm8QRtKLa4/RoOT30=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KYiaZNF0giWsbgS94ZyjViTJGEH16ElMxBiaXztLo801KFR3GEe4wCHtDeBue5cme 9gVLy9Ye3SC5OzD+JM8arXMJrfu0py5LcwsISMmuPvIvfPVvcUYCKHfPqMxR5ii0LQ jUoaO56746WzBkjopxoVmlBX+VVabW0C5uckt3kxTvg05afBKYDQvGHDTu8zg2laq8 DoFoK75G2a0fbr6ylW6ZRPAqgAF8MJa4dUGdYGuJZy+gME30TADzE5BHuHlxyp3Z2q 726w6mdt+53ZloTwWgKTv86bYXB4AXNvIVdcBzkgsG+CVcNmquTE5K7X7YahP/+yed bOs2WKCPnmpOw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F18E21000AD; Sat, 5 Aug 2023 19:08:06 -0400 (EDT) Original-Received: from alfajor (unknown [190.16.213.142]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 67AE512026A; Sat, 5 Aug 2023 19:08:05 -0400 (EDT) In-Reply-To: <83a5v5u9nf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Aug 2023 12:21:40 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266825 Archived-At: >> 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