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#67061: [PATCH] Improve syntax highlighting for python-ts-mode Date: Sun, 26 Nov 2023 04:12:04 +0200 Message-ID: <9eb7ca4d-28c8-72d4-0fa6-4b9bdd224456@gutov.dev> References: <8734xdni6y.fsf@yandex.ru> <831qcwycbj.fsf@gnu.org> <355881699699654@mail.yandex.ru> <83h6lswo44.fsf@gnu.org> 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="22911"; 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: casouri@gmail.com, 67061@debbugs.gnu.org To: Eli Zaretskii , Denis Zubarev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 26 03:13:09 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 1r74dv-0005k2-S0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Nov 2023 03:13:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r74dm-0004j5-Ma; Sat, 25 Nov 2023 21:12:58 -0500 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 1r74dl-0004iq-5s for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:12:57 -0500 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 1r74dk-0007xG-U0 for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:12:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r74dp-0006LC-Ts for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 21:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Nov 2023 02:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67061 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67061-submit@debbugs.gnu.org id=B67061.170096474124319 (code B ref 67061); Sun, 26 Nov 2023 02:13:01 +0000 Original-Received: (at 67061) by debbugs.gnu.org; 26 Nov 2023 02:12:21 +0000 Original-Received: from localhost ([127.0.0.1]:40519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r74dB-0006KB-FA for submit@debbugs.gnu.org; Sat, 25 Nov 2023 21:12:21 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:48335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r74d9-0006Jx-Du for 67061@debbugs.gnu.org; Sat, 25 Nov 2023 21:12:19 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 1792032004CE; Sat, 25 Nov 2023 21:12:08 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 25 Nov 2023 21:12:08 -0500 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= 1700964727; x=1701051127; bh=gcZ/WUhChf4n6toxeHst5PAYaSKeLMQ9j2K Evz5kEnI=; b=FBgbG6ATtLdVb7GLzPePEEIUEigPEjsEdQ8k9vN5J5Ieug5tRVU JiYiWKSGTK/zkhhiWq1BB97nz3hL7X/oAItwVQ1LHRT15xpyB3YaiE4H9ioMvjyK k7SoxlQfpVnYy9MsajDrsr84QvbDY9NnPO2Zu9UWkn7FuRyqZ4eyRmvERSjvDuDc 0XOSC0uMLVmIhRRrH0xWAWRYtFQ40LzDoE827Wbh1B9bi+3mp0GreBYlLjgn8Znh FxiGYSVGhJt+BvQibW9o6EStVRXnGVhthBvbHdIePA4xTGYDT132fwRb8jTsK5XA 5nI4KuxmfwNlKGKEU3fOodBtwRt9fVC/u5g== 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=fm1; t= 1700964727; x=1701051127; bh=gcZ/WUhChf4n6toxeHst5PAYaSKeLMQ9j2K Evz5kEnI=; b=vRM/WR+K59rkulEXl1Mx3VSTKoJhVmkYa9XuVGhwxndfAMa+n9D F58tvb5BkyTgk8sBJtZKHK02bXZo5SJ9/MNAQSv00F7YLm5/iHBHMdCYFNA3i7F2 z38ej51vyY4rMgxggMCodSphM7heWibLFatbfbtqcWBE12HtRjbrvHd+SO8103kq QKRZN1d8iNgwQrdhjqCCJUFAFUsHL6HkiIGSFF8c7SCWWN6SWCFUXYW1+NZQRwJb WKvJapJgTPy1jZj9alBKQzJHk9ykHD2JLzx7dvNpEAcg3r9BEX38mKB4Ojg3VQjl KVci9jt8II5lJuhZkvv7Bf+AEYK+vlEF0tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehkedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Nov 2023 21:12:06 -0500 (EST) Content-Language: en-US In-Reply-To: <83h6lswo44.fsf@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:275030 Archived-At: On 11/11/2023 13:00, Eli Zaretskii wrote: >> What problems with CI did you see? I don't think I understand your >> last sentence above. >> >> I've grepped the codebase and found those lines: >> >> TREE-SITTER-FILES ?= $(shell cd .. ; \ >> find lisp src \( -name "*-ts-mode-tests.el" -o -name "treesit-tests.el" \) | \ >> sort | sed s/\\.el/.log/) >> >> in test/infra/Makefile.in >> I thought that tree-sitter tests should go to either *-ts-mode-tests.el or treesit-tests.el files. > No, I don't think so. If having them in python-tests.el triggers some > problems, please show them, and let's take it from there. I'm guessing the main problem with that is that the test-tree-sitter job on EMBA won't be picking those tests up. Which is unfortunate, but not at all a deal-breaker (but if we could make the build of python-ts-mode-tests.log load python.el, that would be even better).