From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#40968: 28.0.50; (apply nil) Date: Wed, 6 May 2020 13:55:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40968@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 15:57:09 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 1jWKXt-0009N5-5c for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 15:57:09 +0200 Original-Received: from localhost ([::1]:57428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWKXs-0004h8-8C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 09:57:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWKXm-0004gx-4J for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWKXl-0000QW-R0 for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWKXl-0001l9-Pg for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2020 13:57: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.15887734006736 (code B ref 40968); Wed, 06 May 2020 13:57:01 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 6 May 2020 13:56:40 +0000 Original-Received: from localhost ([127.0.0.1]:40757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWKXP-0001ka-Vn for submit@debbugs.gnu.org; Wed, 06 May 2020 09:56:40 -0400 Original-Received: from mail-ot1-f43.google.com ([209.85.210.43]:42476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWKXN-0001kU-Sm for 40968@debbugs.gnu.org; Wed, 06 May 2020 09:56:38 -0400 Original-Received: by mail-ot1-f43.google.com with SMTP id m18so1383036otq.9 for <40968@debbugs.gnu.org>; Wed, 06 May 2020 06:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sj+oCTd4Lbb4I2CETalupYcABGxu1KrzgTVUZ764SSs=; b=OQxYvkJYRqbEz4MKT+fUxsMhRTg4HcrL3CbqAAYNrrjFEyCyMjT3bmqYdJiiGsBY6C bS7G1yx1okmv/FjI4EXel+ou1shtijuONbkLxq/hBYjjfTldF/PbSmdxmLV1SY/n4tFz AkyMlpo8nFSJPgSOuD1EfY6X2qTPMwNykyznVmXf+Pv1BouOTp94Nq44PlMi2/Bra3L0 RHwlvsoAAeA56HtSDCODPb5sLOznJt4tBzZTjyuTrRnMKSYmOdwwhY0HqKjFiQPbDYNo RQzT5jfrKAMct/ijYmt098RL1gchuGpR9d10qa+tWwYwxKUWERdondViCncw9pa/Ohus JAcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sj+oCTd4Lbb4I2CETalupYcABGxu1KrzgTVUZ764SSs=; b=ZFeqIJw1qR8MOfv4b75Q5iNlEQeo8WDN2JHt4kGprm6yo24kvlbIvALQ/LuQigcb/n aXE1wKgXNb+s0y57s+msy0mZxT4GbqoqRtY1YCbTSrZ9JMu6bHfZrhrsdIbITYXUElNu LkA8b2lKnKBhupeoC2ghWmEnC1NZKuNhEw15N57HawwtWKbpa3jOWh5KBYfh5wBW22ta pDYrvon00x+DVpDcBl6Hq3BMzBzYjynqcwc0DGli3MNnrovhXCGbaJFU2epR/MTwsmXO jqnDV7aXIS8PlkaCPCOjGEnCX8lUTjkk8Ld3miRMEr+yl0tSmQQRowSYUDElmLq2Mu1o 5XXw== X-Gm-Message-State: AGi0Pub+dpt26mZLCpKQIEcq4Q217+AXx4H0zWpzc4jet7ZKYipTD6fN us8KZ5QMldDBBHJJctFijOQK1eam4WYsx7q/i+1MuWcF X-Google-Smtp-Source: APiQypKc4Pmwkxy2d2g+j11nzkCsGChG0WVASdh87CzMpsOWam2zyM3amGDy+fkyr/aTZkLJbZYSD6jBkVWNWh2YJSQ= X-Received: by 2002:a9d:6b98:: with SMTP id b24mr6391732otq.287.1588773392054; Wed, 06 May 2020 06:56:32 -0700 (PDT) In-Reply-To: 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:179815 Archived-At: On Wed, May 6, 2020 at 1:02 PM Stefan Kangas wrote: > Pip Cet writes: > > (apply FUNCTION ARGUMENT &rest ARGUMENTS), I guess. I missed it in the > > first patch. > > Thanks. > > FWIW, I still think we should avoid changing the function signature if > at all possible. Is the function signature relevant for anything but eldoc? > apply is fundamental to Lisp, and has been defined like this for a > long time. I don't know about that. Anything but the two-argument form of apply strikes me as rather dialect-dependent, but I may be wrong. > See the definition of "The Universal S-Function apply" in > John McCarthy's paper: [1] > > apply[f;args] =eval[cons[f;appq[args]];NIL], I must admit I don't know how appq is defined. > Also note that it is still defined like this elsewhere: I may be misreading your examples, but they seem to me to have different signatures from the one hitherto used in Emacs. > Scheme: (apply function argument-list) Precisely two args, right? > Common Lisp: apply function &rest args+ => result* At least two args. > Clojure: (apply f args) Precisely two args again?