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: Tue, 19 Sep 2023 13:06:41 +0300 Message-ID: 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> 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="14082"; 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: 65797@debbugs.gnu.org, Joseph Turner To: Philip Kaludercic , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 19 12:08:07 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 1qiXeJ-0003UT-6S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Sep 2023 12:08:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiXe9-0001NB-EY; Tue, 19 Sep 2023 06:07:57 -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 1qiXe6-0001MV-Hf for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2023 06:07:55 -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 1qiXe6-0004c1-9W for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2023 06:07:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiXeD-0006pg-QI for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2023 06:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Sep 2023 10:08:01 +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.169511802626185 (code B ref 65797); Tue, 19 Sep 2023 10:08:01 +0000 Original-Received: (at 65797) by debbugs.gnu.org; 19 Sep 2023 10:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:55401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiXdK-0006oH-Dd for submit@debbugs.gnu.org; Tue, 19 Sep 2023 06:07:06 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiXdE-0006nh-To for 65797@debbugs.gnu.org; Tue, 19 Sep 2023 06:07:05 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 743AE3200990; Tue, 19 Sep 2023 06:06:45 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 19 Sep 2023 06:06:46 -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=fm3; t= 1695118004; x=1695204404; bh=xTaUXN2nkiGFlGiMVHwtMJDDqN4BPiJgGxS 36RusOVg=; b=UOHpIQ4OiOEr3cUOQkQaVvyoDBKsY5xI0DRlHsHLCq+cfRWsiDT +kRFxLvttcTlAQTKA7guKUJ5lGUMzZcz8IEs2G40h5770wZ8Wp5kjtNCwId3d+Or fZO5IMTd44f2uN2dHb6iYp9XrVlCJufJ8DKMOKsHaZ6N9G9RhQI3sEmQw7Fdtuby 3MbchBjhXPshcMod1+UF7inBgZKFE9E+B0nBkPZisMrVtXis8Geeoq2irVQ5Js7f UZrGj2Ouy0sqrSKLpURRiWRaJWDdMntIx7Q59Mff0b/LnaqU7S8Bpo7ERZfC8I9L OTAXH90Pk5afyYyHmBopU33FLlxfKCyFUXA== 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= 1695118004; x=1695204404; bh=xTaUXN2nkiGFlGiMVHwtMJDDqN4BPiJgGxS 36RusOVg=; b=JlOx8fsNCqb0E7C2+m0NUw/Wpj/tlEta2HHyZSoG2olEmzknIiW Guugks/ar5tuKyMxWdaNRN3CRshOXw+cZs9R9xael+AQSFOYg0dm9ypCMSBl5Mgj Gj5EqXpxFKpEaRyWnwQLacfPJIcJ3uOU+HOToJ7SAMJIYIIhRhbdcJ8f1uCg+8aU Mf/3U4j791115PkjilEAhq6c0rbs6nh8Qhe1UPsAR81WxdGqA+mYz4nVDgBIKRSj pAIioOf31sTOYqN9bnW1cJog/BoZDpfHEw2G7MJ1l6Uag1mGNqMnD83XN20ReEjY 0qPmHdJipUSsPFdBKYfOTl4z9ywg9EWBJWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudektddgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Sep 2023 06:06:43 -0400 (EDT) Content-Language: en-US In-Reply-To: <87y1h2blxq.fsf@posteo.net> 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:270858 Archived-At: On 19/09/2023 11:34, Philip Kaludercic wrote: >> [ BTW, changing the code to use `&rest args` instead of `&optional arg` >> would help for this, right? ] > How come? In project.el buffer-match-p would be called without an extra argument, so the predicates would be called without an extra argument as well. That should take care of that compatibility, I think.