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 19:21:54 +0000 Message-ID: References: <85a72khq90.fsf@gmail.com> 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="76314"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , 40968@debbugs.gnu.org, Noam Postavsky To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 21:23:16 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 1jWPdT-000JlP-VP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 21:23:15 +0200 Original-Received: from localhost ([::1]:57148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWPdT-0000Xp-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 15:23:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWPdG-0000Op-LY for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWPdG-00029M-C2 for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWPdG-0001bi-73 for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:23:02 -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 19:23: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.15887929586135 (code B ref 40968); Wed, 06 May 2020 19:23:02 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 6 May 2020 19:22:38 +0000 Original-Received: from localhost ([127.0.0.1]:41196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWPcs-0001at-DO for submit@debbugs.gnu.org; Wed, 06 May 2020 15:22:38 -0400 Original-Received: from mail-oi1-f170.google.com ([209.85.167.170]:39317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWPcq-0001ad-18 for 40968@debbugs.gnu.org; Wed, 06 May 2020 15:22:36 -0400 Original-Received: by mail-oi1-f170.google.com with SMTP id b18so2798376oic.6 for <40968@debbugs.gnu.org>; Wed, 06 May 2020 12:22:36 -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=MtwOr5PDmqk1FeW4N0XjfgTd/YrsUMYVQetdFOY3edw=; b=LNsSUQyAp+88e8I0f2M3kblD0QTYJwkepkhDJ/O9JUxity/FLgldMVBHs+StaV7/Jh xDiCz0fHINfZLfNhTqMLbfyZGU4lMiWVhibcDGYZi3fitU+piW6/rMN7qPqs5HY51GZp aeXKXlL/lzUSJBMrecdxXGPsTFGWkB0NxBbxFbewW4cSWQbHvGFeYefTJDkmqu7SjKnZ HMG8IDGpHI8TDY0XPpo3oS1q2naVnhQJ7yBJ50xLD2hnRPLeNv0I3i4suIqCqkxQephk gU2/EomTPXmUzIA4PpL8sG/TkuHh6c21CsDa5mEZiKDj9x+zBvXI2hKKAgo2v1CEuaLt TtXA== 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=MtwOr5PDmqk1FeW4N0XjfgTd/YrsUMYVQetdFOY3edw=; b=ioxKU5WkUw5LxplYMC7F7PlzuDP3JmdHclCoA/uW0ClyUIVyQWG7vvg9GOQRWdKD4X UnO9b0gBA0Cip+A4YjQcWg9FOwWepwsSiDWWUxiPOgcFrw0Cr7AqiBXdW7isgecLIil4 SGIXXEOeBbKOuif0qXSICWEMSdwf2cg0feWckbxvyYEIhSN4C4zM7DB9281zpWOAdsah saDrX/v0jHKlPvZbTqs6jESxYudIGG6pbF+D+bwaKxMYrIDVvVR13wQdCW4nCXH4Fg0X TQb208dVgXMOZukXqOf45B6RKCl4trtpT9S1CYhcDUTxfWmBM7fJbmJHSNyMtNa1JgDn D3Nw== X-Gm-Message-State: AGi0PuZ33OajXS17a4JwrWn8XUMUSCOLNXKxRdNYvxVrzrRq6ExJhUEY a1hTAGE/FxtWDVlnnMezmTqfUufD0Jfr66Y2cb0= X-Google-Smtp-Source: APiQypKWpB7NJxkD8CLmCdwvw89PGRhiUZkztV63tPD76S7ikYi0EMoRS7cngfL6Ke6+5xmqxNUBB35exYjVW/GUcPE= X-Received: by 2002:aca:6705:: with SMTP id z5mr3741428oix.122.1588792950449; Wed, 06 May 2020 12:22:30 -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:179840 Archived-At: On Wed, May 6, 2020 at 7:17 PM Drew Adams wrote: > And if Elisp follows that (which I think it should, > unless someone can present a good use case for just > (apply FUNCTION)), then it should raise an error if > there are not at least two args. Note that single-argument apply in current Elisp is not (apply FUNCTION) but (apply LIST-OF-FUNCTION-PLUS-ARGS). (apply '+) is an error. (apply '(+)) is 0. That's why the problem with (apply nil) arose.