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#64019: 29.0.91; Fix some tree-sitter :match regexps Date: Tue, 13 Jun 2023 20:06:42 +0300 Message-ID: <0eaf126b-5743-e49d-2ad7-e830225a60c7@gutov.dev> References: <87o7lkzrj1.fsf@epfl.ch> <1959ea93-0ca3-59cd-3abb-e841bd337c57@gutov.dev> <87fs6vbgla.fsf@epfl.ch> 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="27460"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cc: Randy Taylor , Yuan Fu , 64019@debbugs.gnu.org, Theodor Thornhill , Daniel Colascione To: Basil Contovounesios Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 13 19:07:25 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 1q97UJ-0006vJ-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Jun 2023 19:07:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q97U0-0006P6-DC; Tue, 13 Jun 2023 13:07:04 -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 1q97Tz-0006OX-2u for bug-gnu-emacs@gnu.org; Tue, 13 Jun 2023 13:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q97Ty-0002LF-Qz for bug-gnu-emacs@gnu.org; Tue, 13 Jun 2023 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q97Ty-0007eP-Lj for bug-gnu-emacs@gnu.org; Tue, 13 Jun 2023 13:07: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: Tue, 13 Jun 2023 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64019-submit@debbugs.gnu.org id=B64019.168667601329382 (code B ref 64019); Tue, 13 Jun 2023 17:07:02 +0000 Original-Received: (at 64019) by debbugs.gnu.org; 13 Jun 2023 17:06:53 +0000 Original-Received: from localhost ([127.0.0.1]:42964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q97To-0007dq-Rb for submit@debbugs.gnu.org; Tue, 13 Jun 2023 13:06:53 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q97Tn-0007de-Bl for 64019@debbugs.gnu.org; Tue, 13 Jun 2023 13:06:51 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 7A7023200917; Tue, 13 Jun 2023 13:06:45 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 13 Jun 2023 13:06:45 -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= 1686676005; x=1686762405; bh=q9SMbyWmu/GTGbSBoF7tf/ou9UqW1huJdAN dQGPtrns=; b=XTVpz1Gknbk7k3TvgsRZf7levfBqKDQXnNV6A/pefqDMcfJPIF3 WiVp6tOX+5uSlxk2q41zrmcU9wX4k51+dGgWx65/Df088DyjJw9AsZxVzPBl3fs2 Rf8s05CEq+yPIO0L8vGi9kC7jExleqhJCOVaIpIaPLfD6TOLI73SnB0CMN4aJVjg nmibWyFQf2w849SG/fM/ZWTvzP/F/SNAcj65OyyKjdrgEnXIYPgHjt8YYU/ffbvo 880omzPG4LO7Nr5gC6EGSsPyNzheQqVN0gJuM4PTGN2DUNyxJ1BfAgSVLu60U/9k Tv7nX7F9DMbP5c611e2LQaW/dWBVtjsW6XA== 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= 1686676005; x=1686762405; bh=q9SMbyWmu/GTGbSBoF7tf/ou9UqW1huJdAN dQGPtrns=; b=NeoR6IJGoVfVAvnDfnH282XsMoJJfTZ1M+MCsuyNucZ6gA6yl92 vt9W29DNzffDBwFPfdLKpRO1TdX82M1p3ko5qOy3qaGGObMLN/KA9FnJU93iOOA5 VbpQYw298G3FpJp798xr76Pzrb3y8K2HnUnVeqiEUFW6Rcy9OfFgoKrCVFPSr7X+ I8KnJQxxBlJyQYp4VsuvUZPKT9riR2st3mdxhqU8J7gAUqmZ/wSYTBfhfnNOdxFL WhPzvwaKSswxfKCo3QwV8FmEXVeVpz/AMl4nhTVRmCUrizmxe0HM/F4SkyNaqbku bZ8LnuQtWnvRFtHCNKf15z1j0avkDoCoswQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedujedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 Jun 2023 13:06:43 -0400 (EDT) Content-Language: en-US In-Reply-To: <87fs6vbgla.fsf@epfl.ch> 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:263338 Archived-At: On 13/06/2023 17:08, Basil Contovounesios wrote: > Dmitry Gutov [2023-06-13 00:33 +0300] wrote: > >> On 12/06/2023 17:25, Basil L. Contovounesios via Bug reports for GNU Emacs, the >> Swiss army knife of text editors wrote: >>> - (:match "^DEFUN$" @fn)) >>> + (:match "\\`DEFUN\\'" @fn)) >> FWIW, most of these changes are superfluous, practically speaking > I'm less concerned about the trivial bol/bos conversions in the patch > and more about the corrections to incorrect regexps, such as: > - the more benign \(:?...\) -> \(?:...\) > - and the less benign [\d] -> [0-9]. > Yep, these look valuable. Thanks.