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#40968: 28.0.50; (apply nil) Date: Wed, 6 May 2020 11:00:30 -0700 (PDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114864"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40968@debbugs.gnu.org To: Stefan Kangas , Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 20:03:15 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 1jWOO3-000TlT-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 20:03:15 +0200 Original-Received: from localhost ([::1]:48408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWOO2-0007Zk-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 14:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWONq-0007Z9-2s for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 14:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWONp-0004IY-PW for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 14:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWONp-00083a-K2 for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 14:03: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: Wed, 06 May 2020 18:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40968 X-GNU-PR-Package: emacs Original-Received: via spool by 40968-submit@debbugs.gnu.org id=B40968.158878816330944 (code B ref 40968); Wed, 06 May 2020 18:03:01 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 6 May 2020 18:02:43 +0000 Original-Received: from localhost ([127.0.0.1]:41152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWONW-000832-Lk for submit@debbugs.gnu.org; Wed, 06 May 2020 14:02:42 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:33080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWONU-00082p-Ir for 40968@debbugs.gnu.org; Wed, 06 May 2020 14:02:41 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 046HxCMW134732; Wed, 6 May 2020 18:02:33 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=3OTRXy8bkNOnviyIEstWeMp2Mo2U4MxjUL8ymWiZoOc=; b=dLTxypbEc3gg26vPazP8+oUeYADZbo5pEtbkKMdu2RsH9nqW3xRdyFwO7FDQfixU36vz Gfn4kwhKipM1YIc54JkpDwTgI6Vs0m8eAxk+/LIwv/jk11Ofw15LkmMzqmF70LxcaxtQ HXu+Mdv3R/5eAH6nBwgdxnUQ1gP/vQTseyAMS6+dat3wyl0pXaOXuAGb0Va6LiE7pEYw xEtPB53f6q37fZXVhMz1pQqniJv7HuZSJ13S4nOYAHczE78cdc+u+W6dyw/QJo3BXB0O Fk6L2WlTv8IYX4lRbG7QGBHlIYbH2pcCuH2wSLtR36+qR+oLqCbI0Ecv6ZvzS9zDvvzi Jg== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 30usgq30vy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 18:02:33 +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 046HufE2005755; Wed, 6 May 2020 18:00:32 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 30us7n97ep-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 May 2020 18:00:31 +0000 Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 046I0UJA011663; Wed, 6 May 2020 18:00:31 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9613 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060146 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9613 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005060146 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" Xref: news.gmane.io gmane.emacs.bugs:179833 Archived-At: > > (apply FUNCTION ARGUMENT &rest ARGUMENTS), I guess. I missed it in > > the first patch. >=20 > FWIW, I still think we should avoid changing the function signature if > at all possible. >=20 > apply is fundamental to Lisp, and has been defined like this for a > long time. See the definition of "The Universal S-Function apply" in > John McCarthy's paper: [1] >=20 > apply[f;args] =3Deval[cons[f;appq[args]];NIL], >=20 > Also note that it is still defined like this elsewhere: >=20 > Scheme: (apply function argument-list) > Common Lisp: apply function &rest args+ =3D> result* > Clojure: (apply f args) Hm. CLTL2 shows the signature for Common Lisp as this: apply function arg &rest more-args ^^^ https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node81.html On the other hand the CL HyperSpec agrees with you: apply function &rest args+ =3D> result* http://www.lispworks.com/documentation/HyperSpec/Body/f_apply.htm Dunno what the truth is. I've always considered CLTL the language spec. But that may be wrong. What's the use case for (apply FUN)?