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 11:49:26 +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="119286"; 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 13:51:10 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 1jWIZy-000Utz-FR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 13:51:10 +0200 Original-Received: from localhost ([::1]:41398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWIZx-0000kQ-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 07:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWIZq-0000j4-D8 for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 07:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWIZq-0007Ie-3j for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 07:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWIZq-0004Xl-1r for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 07:51: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 11:51: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.158876580917405 (code B ref 40968); Wed, 06 May 2020 11:51:02 +0000 Original-Received: (at 40968) by debbugs.gnu.org; 6 May 2020 11:50:09 +0000 Original-Received: from localhost ([127.0.0.1]:38833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWIYz-0004We-5J for submit@debbugs.gnu.org; Wed, 06 May 2020 07:50:09 -0400 Original-Received: from mail-oi1-f182.google.com ([209.85.167.182]:34345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWIYx-0004W7-OV for 40968@debbugs.gnu.org; Wed, 06 May 2020 07:50:08 -0400 Original-Received: by mail-oi1-f182.google.com with SMTP id c12so443322oic.1 for <40968@debbugs.gnu.org>; Wed, 06 May 2020 04:50:07 -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=VMYvqFcPsZo6gO5p1EvXJqw1wR1Yg5Eed5G+/v038DQ=; b=qeG6sHrAzWZv4xLg8et/zKm+s2cPshM8WZmw6eHjJCI1imiuodH2NR+k8kQoDqfXKS 3rN6X7WN/5IffmvZN81053mQagdL3e3UABn47afRbDttkGBNAD6t5Ee3dthVN3NnpDEe kYg3V3FnlOpRee3EEi1QAR/BtkrDJvUlXv60yrFJ9SIsmtZOwpxrqCocqQ59LAyyGybs evdqS3BQApOTIGuMt5GkLI3THhxN6WEeJcVs+Xm53aoQNDXKRCT9z7g4cMl3mfohvsls aQ+MX0FZvegWD0UgMGXz0npaFvip0v9VWSUqYnkwYwwj5f/cioLmQVFCrQepMC8sOAQT gO1Q== 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=VMYvqFcPsZo6gO5p1EvXJqw1wR1Yg5Eed5G+/v038DQ=; b=JDmVn2jX0XRk1F/FCPy+IA0pRxNBicuECn4v0c91K80qKQw/HfiMHPC4paIoBXPb73 u2Cmn855OU5hTCN2NRt06w0uPJrqtgR4sGtcgN/TCsfch9uDHxC/EsAfTRVr+dJ3yfj9 Ubjl0zSWxCqQiX4UALRnEOT4KciPEvFsMM1ll9MJkDt4/Ur3IGZkqZXyBSIpf3zhiJCy fA1QDTZd5hc8/W296JUnDGFY4hWMbNlhv0k1yat34f6ek3dg/PYKu6oDZkG6QCO1VC6K e1C+YPKLDeksh0LU3MOtussVI3R94ImhNO69Aw/bChxuiF2pjbh4DUiL1ogpxrKWDcP3 6oyA== X-Gm-Message-State: AGi0PuZforIKVNVTINQID3jQbVghl5zv6AgW8MIUJB/wY33aQAqLFvc5 pBS/iUR+uQn/MelmDvQxlBdFDAwpaqaKRgt5Gxm95Tk3Z1c= X-Google-Smtp-Source: APiQypL8fjp7DUp5vhJJ1m8rQUdXinYHErN2HvWyT0V5otBBXarYseFZlILceow2XGsN/tmoNRg4omeUax6C+8l5x5w= X-Received: by 2002:aca:6705:: with SMTP id z5mr2230869oix.122.1588765802115; Wed, 06 May 2020 04:50:02 -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:179808 Archived-At: On Wed, May 6, 2020 at 11:24 AM Stefan Kangas wrote: > Pip Cet writes: > I have a feeling I'm missing something obvious here. The current > function signature is: > > (apply FUNCTION &rest ARGUMENTS) > > How would your proposal change that? (apply FUNCTION ARGUMENT &rest ARGUMENTS), I guess. I missed it in the first patch. Note that the old signature suggests (apply FUNCTION) is equivalent to (funcall FUNCTION), which it isn't. (For example, that's what ElDoc indicates the first argument to apply is). Again, I'm no longer sure what the right thing to do here is. I think I'm up to five different interpretations of (apply ARG) here, depending on whether ARG is interpreted as FUNCTION, the last of the ARGUMENTS, an ARGUMENT but not the last one, or a combination thereof, and whether ARG is required to be a list or not...