From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61655: [Tree sitter] [Feature Request] font-lock function calls, definitions, separately Date: Fri, 24 Feb 2023 15:24:14 +0100 Message-ID: <878rgnjg4x.fsf@thornhill.no> References: <8DA1B548-B8D2-4EC1-B9F8-F7654003AC89@gmail.com> <56C0998E-3053-49F3-BAE3-46D6432B16F5@gmail.com> <87abbcaf-e60b-f975-b589-5e61f2d7866e@yandex.ru> <83bklkp7tj.fsf@gnu.org> <97710356-24c1-d79c-4796-3e51fd4809e3@yandex.ru> <83v8jro5sw.fsf@gnu.org> <32fe1a33-2511-de12-8237-34642e863afb@yandex.ru> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13780"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dev@rjt.dev, casouri@gmail.com, 61655@debbugs.gnu.org, jacob.fai@gmail.com To: Dmitry Gutov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 24 15:25:28 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 1pVZ0p-0003OY-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Feb 2023 15:25:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVZ0S-0006hB-BI; Fri, 24 Feb 2023 09:25:04 -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 1pVZ0Q-0006gr-Sx for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 09:25:02 -0500 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 1pVZ0Q-0001o7-Cj for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 09:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVZ0Q-0007X3-8o for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 09:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Feb 2023 14:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61655 X-GNU-PR-Package: emacs Original-Received: via spool by 61655-submit@debbugs.gnu.org id=B61655.167724866128897 (code B ref 61655); Fri, 24 Feb 2023 14:25:02 +0000 Original-Received: (at 61655) by debbugs.gnu.org; 24 Feb 2023 14:24:21 +0000 Original-Received: from localhost ([127.0.0.1]:36464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYzk-0007W0-KP for submit@debbugs.gnu.org; Fri, 24 Feb 2023 09:24:20 -0500 Original-Received: from out-5.mta1.migadu.com ([95.215.58.5]:58377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYzi-0007Vq-QT for 61655@debbugs.gnu.org; Fri, 24 Feb 2023 09:24:20 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1677248657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9QJnn0JNTbzl1JfDvXIoyP+ZCLMNuZB6pZIQM1AZD9k=; b=XEmZbRhyWf4pOzFRUzT9ogY5iyyIb1kWW00YyYmzqIFmmSJi7vijPX2ctMkXm1owultR+M 9GT9cipZU9PcE5DfwTqh5FU8P7LktjDuu1uYfy6APIoCk1W4643e7578VfcgGnzPS8ffvt c0UKTd+HZ7CE0xKpvew/fJKKq7pjQ8buPTWK3bJmfrEtRR6k0Sk/r4AxMwSBQMWhGkM+PT BkDtgVHpNnC+qT5Etgnu/8ZBJolbQwNatpnqWRh1fVYzHjelRGY2kFoa97dKCvzCfK0nhW 9+1MwsaRVBl3qHAHfCxRPDNSanvwxpu/cipbVxjxsvWXI/os2QOgxvRtoN0YmQ== In-Reply-To: <32fe1a33-2511-de12-8237-34642e863afb@yandex.ru> X-Migadu-Flow: FLOW_OUT 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:256605 Archived-At: Dmitry Gutov writes: > On 24/02/2023 09:56, Eli Zaretskii wrote: >>> The important question here, I think, is whether we want to split >>> font-lock-property-faces in two, like I did here. >> What harm can it do, if done like you did, i.e. the faces are >> indistinguishable by default? > > Not much. We do rename the face this late into the pretest, though. > > And if not many modes use it, then it could not be worth it. OTOH, modes > sometimes need additional faces, to use for their unique syntactic > elements. So more faces could be a good idea, just from that perspective. > > So if nobody has objections, I'll install the patch later today. No objections from me :)