From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#40596: 28.0.50; Function with more than one key gives "wrong number of arguments" error Date: Mon, 13 Apr 2020 08:01:33 -0700 (PDT) Message-ID: <67a3d8d3-ead2-4764-a375-95f83686c0da@default> References: <<86ftd78wgh.fsf@protected.rcdrun.com>> <<831rork1pe.fsf@gnu.org>> <<20200413130230.GG15872@protected.rcdrun.com>> <<83y2qzik0g.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40596@debbugs.gnu.org To: Eli Zaretskii , Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 13 17:02:13 2020 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 1jO0bF-000VAf-6e for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 17:02:13 +0200 Original-Received: from localhost ([::1]:45204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO0bE-00014e-7r for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 11:02:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52506) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO0b4-00012O-Nf for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 11:02:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO0b3-0000XH-QG for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 11:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO0b3-0000X2-Mr for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 11:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO0b3-0005Bw-Ju for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 11:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Apr 2020 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40596 X-GNU-PR-Package: emacs Original-Received: via spool by 40596-submit@debbugs.gnu.org id=B40596.158679010719935 (code B ref 40596); Mon, 13 Apr 2020 15:02:01 +0000 Original-Received: (at 40596) by debbugs.gnu.org; 13 Apr 2020 15:01:47 +0000 Original-Received: from localhost ([127.0.0.1]:60506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO0ao-0005BR-UX for submit@debbugs.gnu.org; Mon, 13 Apr 2020 11:01:47 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:34558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO0ak-0005BC-2s for 40596@debbugs.gnu.org; Mon, 13 Apr 2020 11:01:46 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03DEwY2k072126; Mon, 13 Apr 2020 15:01:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=OQjwtqa6d7WbE2NCLnB+WDzDnC7JDWddFE/2MclSl7Q=; b=NwhzTA9zvl60yy7qDQ6R0Q1Za4vf8ygpQ/tfwj87kreC1zVlohudSVfXOmPqxQv7b4ee 6Eq/hOVbgnGVoTmDK97mpXtYkJvM0Dsat2reek3zxZ1sVzq0Uu330nO1HRtgGJ8QDyLj xNkqxRP/2s/mLvJoGJM3HND6NwjFu9gCrYgxAXv6sf7EYFEPIcDDPgiv1V7o83uM2TqI Fn+QXz/xlpVmmcNl3jidzHgGP/PLFl0BAtItFKS57j34zgekFHRwsGgYmvz6I6KyXUiO CebpsCMGpbRVAjigRbEHJGgCM+/bRCaxzDFobt53ZJZxeRuwXesEkR3XWZGWwgg++96l 9Q== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 30b5aqy0kh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 15:01:35 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03DEuxFd110998; Mon, 13 Apr 2020 15:01:35 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 30bqkxf9nm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Apr 2020 15:01:35 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 03DF1YMi025837; Mon, 13 Apr 2020 15:01:34 GMT In-Reply-To: <<83y2qzik0g.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9590 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=957 adultscore=0 mlxscore=0 phishscore=0 malwarescore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130115 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9590 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 impostorscore=0 clxscore=1011 priorityscore=1501 malwarescore=0 phishscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004130115 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:178310 Archived-At: > I think it interprets &key as a name of a simple argument. This can be a gotcha, for someone coming from another Lisp dialect that supports lambda lists with &key. Perhaps Emacs Lisp could post a warning (e.g. from the byte-compiler) if a lambda list uses one of the `&' keywords supported by, say, Common Lisp (&key, &aux, &allow-other-keys)?