From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#40968: 28.0.50; (apply nil) Date: Wed, 6 May 2020 06:02:45 -0700 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="55353"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40968@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 15:03: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 1jWJhg-000EEm-2S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 15:03:12 +0200 Original-Received: from localhost ([::1]:33826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWJhf-0004DT-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 09:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWJhW-0004D2-MN for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55605) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWJhW-0006Pn-DP for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWJhW-0008Pu-AQ for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2020 13:03:02 +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.158877017532339 (code B ref 40968); Wed, 06 May 2020 13:03:02 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 6 May 2020 13:02:55 +0000 Original-Received: from localhost ([127.0.0.1]:38918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWJhP-0008PV-4c for submit@debbugs.gnu.org; Wed, 06 May 2020 09:02:55 -0400 Original-Received: from mail-yb1-f180.google.com ([209.85.219.180]:45961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWJhL-0008PI-ET for 40968@debbugs.gnu.org; Wed, 06 May 2020 09:02:52 -0400 Original-Received: by mail-yb1-f180.google.com with SMTP id r14so924375ybm.12 for <40968@debbugs.gnu.org>; Wed, 06 May 2020 06:02:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=lHqOTKe2U9vmN/pJTeGz3lKGcrobARrewDb/ux/wqME=; b=Po6ND/8fo6UjfDjpSreAUyYF2TNBJD99m2bBzbGy2CO0gPmWAH1ju9dzQYHS0hcQeM t6YOyG6QDRtpBy1hD22H0mLYC3reIun0B4uuUH2IvVyLecIdt7S5H+Qg5fFrf0BTx88I gF6ioxX0DeUFaAohNnFEoUByfsumfpq6/Ck/tpyHMroksLKlW1BgLf+XU6ye2ZCjGXtv u5M9rW/LrMnaaHyBTjOPZL+drb/8/AF3czi9ycFJKqc2TeZmMcExJkCcwWW83d+T5C3s m2fizOxwrBUJf+Aa0WPhARFW/95ifICgHbneZW4A0WHig/CPZxqlpjc8Sdc9vMjCyrjH TdXg== X-Gm-Message-State: AGi0Pub2zBh/6/m5v+1bLggKgW3d+hmd+OqElorcuR2MAoTWXYGhbiMi ypDXkaQ+Te6vWytcuosMOR2IFCABjxw/HYBf5Lw= X-Google-Smtp-Source: APiQypK5xdvaWIqVgQTK52AN9k2yRzJN5kGuefYHBJcWO1d4D0TC1jiNNYqALJAHKGkA6md5R6qtI+QCC1tVFaAkASA= X-Received: by 2002:a25:e907:: with SMTP id n7mr13034924ybd.85.1588770165906; Wed, 06 May 2020 06:02:45 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 6 May 2020 06:02:45 -0700 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:179812 Archived-At: 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. 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] apply[f;args] =eval[cons[f;appq[args]];NIL], Also note that it is still defined like this elsewhere: Scheme: (apply function argument-list) Common Lisp: apply function &rest args+ => result* Clojure: (apply f args) Best regards, Stefan Kangas Footnotes: [1] http://www-formal.stanford.edu/jmc/recursive.pdf