From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65797: 29.0.92; func-arity should not return (0 . many) with apply-partially Date: Fri, 08 Sep 2023 09:46:15 +0300 Message-ID: <83fs3pxivc.fsf@gnu.org> References: <87v8cmct9b.fsf@breatheoutbreathe.in> <87cyytwa14.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22273"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 65797@debbugs.gnu.org To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 08:47:51 2023 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 1qeVHT-0005YL-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 08:47:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeVHD-0008WV-ST; Fri, 08 Sep 2023 02:47:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeVGe-00082G-LA for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:47:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeVGe-0003X8-Cr for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:47:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeVGg-0003La-5v for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65797 X-GNU-PR-Package: emacs Original-Received: via spool by 65797-submit@debbugs.gnu.org id=B65797.169415559912838 (code B ref 65797); Fri, 08 Sep 2023 06:47:02 +0000 Original-Received: (at 65797) by debbugs.gnu.org; 8 Sep 2023 06:46:39 +0000 Original-Received: from localhost ([127.0.0.1]:42035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVGI-0003Kz-V4 for submit@debbugs.gnu.org; Fri, 08 Sep 2023 02:46:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVGE-0003Kk-Dq for 65797@debbugs.gnu.org; Fri, 08 Sep 2023 02:46:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeVG5-0003UN-Ma; Fri, 08 Sep 2023 02:46:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Vbnjf3ujNh/wfoA0qwR0CokTSa2jnUtmrBRCPsmen5A=; b=aOYQEa9mzOAp jpOouBDVpjHXtmlYMcQEHk8MwkwFTVYWENdp7H0mNH2kumXlabChqTcMut8Vkmvx/II4QPYgOl+Cv EV0I/cnvLfBsU0pilLEk2MzmEGIdhrCuyxhHpMMtHm3azw5hMjtoYQT/WBb9rg6eCfgBiBazTeCKK jdXpD0nqNoQWOPp/eSSewYHU8hboyVGXlROt2VwohDPySOHf6tIj7C/XtT0N1CzYG+C1Tjz0SJ+7V W2zT/H0kBGrPqpAFIspYbFLT5m+LDVSzLE3w6zafZBdntirch8ngiqTGZ34knPbsq5RlYBSFQtidl qsiXXlCBvJeneRdyT1O33w==; In-Reply-To: <87cyytwa14.fsf@breatheoutbreathe.in> (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269728 Archived-At: > Cc: 65797@debbugs.gnu.org > Date: Thu, 07 Sep 2023 21:40:28 -0700 > From: Joseph Turner via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Stefan Monnier writes: > > > - Replace `&optional arg` with `&rest args` and pass those args via > > `apply`, so the number of args passed doesn't depend on the function > > but on the caller. > > I like this idea. See patch. > > > - Always pass both args to the function (i.e. as documented in the > > docstring). > > This isn't backwards compatible, is it? Neither is what you propose, AFAIU. We are in effect changing a public API in incompatible ways.