From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#65797: `buffer-match-p` should not use `func-arity` Date: Thu, 12 Oct 2023 14:34:13 +0300 Message-ID: <3a282a0b-3efa-ec12-2143-0496ebf6c828@gutov.dev> References: <87v8cmct9b.fsf@breatheoutbreathe.in> <87sf7o38g1.fsf_-_@posteo.net> <871qf1rbdo.fsf@posteo.net> <87o7hz4zg2.fsf@posteo.net> <87sf7b8ker.fsf@posteo.net> <87y1h2blxq.fsf@posteo.net> <874jjqb715.fsf@posteo.net> <0371b6ff-58e4-961e-29c9-4efb65b82185@gutov.dev> <87v8bhtr3k.fsf@breatheoutbreathe.in> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Philip Kaludercic , Eli Zaretskii , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 65797@debbugs.gnu.org To: Stefan Monnier , Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 12 13:34:57 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 1qqtxw-0006mo-I8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Oct 2023 13:34:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqtxp-0001lS-DO; Thu, 12 Oct 2023 07:34:49 -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 1qqtxg-0001l5-US for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 07:34:41 -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 1qqtxg-0007Vl-Mg for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 07:34:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqty2-0006gs-FC for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 07:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2023 11:35: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.169711049125693 (code B ref 65797); Thu, 12 Oct 2023 11:35:02 +0000 Original-Received: (at 65797) by debbugs.gnu.org; 12 Oct 2023 11:34:51 +0000 Original-Received: from localhost ([127.0.0.1]:41191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqtxr-0006gK-3E for submit@debbugs.gnu.org; Thu, 12 Oct 2023 07:34:51 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:47525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqtxm-0006g3-HQ for 65797@debbugs.gnu.org; Thu, 12 Oct 2023 07:34:50 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C8BA5320091A; Thu, 12 Oct 2023 07:34:17 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 12 Oct 2023 07:34:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1697110457; x=1697196857; bh=TgezXYb98SeAyUlEBmhOk7lD30taqVGTE6X WyvXPBE4=; b=AQtQ8MT8R378bZIs028SFqmiEqoKtcQKO9SaP1mqxD3qpVyq2A7 kvs/Ipi1CrukByFpk983/TpzF9UCsQLsiIcBdmU3wH9Axxubpd+dTPQt0nAo52Nz pLJZLA9hPCq+dePnqyw75dVFja/BAg4YR8/P13VKwEPVHwNJT5PcBCUcZoJHtE8F 2iStkRvzlPoCFaqmkrkcEiWJyGFn3+Jyu7S5IM4qXb37LZm2vqYyF0JZephvrrwC W+aR0bXSQUT8lPVB5+FVL1gzzhgDczi3Lbbiis+L8gzvgZIeuSJS653ebesSbj0T sfguVQX57Izon8lGUQhOrggfPNjgofhMODA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1697110457; x=1697196857; bh=TgezXYb98SeAyUlEBmhOk7lD30taqVGTE6X WyvXPBE4=; b=mClDkgn0qgDXNH1mIU10oOj9PH0qnRDjZ1R2RQiwi+8B4wYu0CF 1YbGH7xlHbsVbGhCQVwM5m1bxJcwbATLA28atGXBcFIFy6hxHCyWDig2ouKQ0B4A Q5Mo7Y2XyNN63lN1lLUs4kXVfRw79IYoufx1a6CLd4Bc0qF2mHEA1FKEZJbqQPKc dzLe5wnFPzM1OO5ypganoPKCB2JoI1j8X4EFdyFse5u8zWK27zCp93S+rwdE6Ymw ZvY8707KPsj0B9c6kY/f61cO+rrGQgc8jxzlA3pwQNyxy99gLdNHr/RpPIrAQaso PvaDzCvWYokyxp2tOXTEe5zuBTMAJFspbyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedriedtgdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Oct 2023 07:34:15 -0400 (EDT) Content-Language: en-US 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272290 Archived-At: On 10/10/2023 00:40, Stefan Monnier wrote: > Then how 'bout something like the patch below which changes the > `&optional` into an `&rest` but tries to preserve compatibility with the > old calling convention. Personally, I figured that using &rest would already help with backward compatibility to an extent.