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#61655: [Tree sitter] [Feature Request] font-lock function calls, definitions, separately Date: Fri, 24 Feb 2023 13:31:59 +0200 Message-ID: <32fe1a33-2511-de12-8237-34642e863afb@yandex.ru> 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> 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="28451"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: dev@rjt.dev, casouri@gmail.com, theo@thornhill.no, 61655@debbugs.gnu.org, jacob.fai@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 24 12:33:18 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 1pVWKE-0007FK-Gc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Feb 2023 12:33:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVWK2-00023L-GS; Fri, 24 Feb 2023 06:33:06 -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 1pVWJy-00022k-9t for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 06:33: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 1pVWJy-0006wc-1D for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 06:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVWJx-0006KR-St for bug-gnu-emacs@gnu.org; Fri, 24 Feb 2023 06:33: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: Fri, 24 Feb 2023 11:33:01 +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.167723833024254 (code B ref 61655); Fri, 24 Feb 2023 11:33:01 +0000 Original-Received: (at 61655) by debbugs.gnu.org; 24 Feb 2023 11:32:10 +0000 Original-Received: from localhost ([127.0.0.1]:36122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVWJ8-0006J8-0R for submit@debbugs.gnu.org; Fri, 24 Feb 2023 06:32:10 -0500 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:36661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVWJ5-0006I9-U1 for 61655@debbugs.gnu.org; Fri, 24 Feb 2023 06:32:08 -0500 Original-Received: by mail-wm1-f44.google.com with SMTP id l2-20020a05600c1d0200b003e1f6dff952so1938971wms.1 for <61655@debbugs.gnu.org>; Fri, 24 Feb 2023 03:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=KqOa9ZaMGQum8DK/MUQ3U1yBABVFIqOtEc0+lkRO4Pc=; b=hHbLhnFukYuNzNvhW5vOIROYYgxQ29SGF8JHpyLRAmkwfs6rABsz7g4JsLepp8fbth 5yvbXeIF+8O6aKvT9pMGxp8ZZUFCs4OH5eLPzin9gE6TEpgZ119yqzKQ2ofZpbFNtpGM GgJRzb3UJ8JeJx3I1ZftcWI/u36K2tKGOH38Em23pdyzHlD/TOtmHZqZpIj2LiobY+v8 jtP1C9CRMFnqEd88CcZA3wP1pXo0z9LlvebW9+wZuNVy/v4C3OMwk7K3lMTTKwooPycl VdgFfTi1Wye5nFhI28hNq03El172q5Wb1AbrxO4wX5eLVSu2NL0gwb4RsOeg0e61YpQ3 yrmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KqOa9ZaMGQum8DK/MUQ3U1yBABVFIqOtEc0+lkRO4Pc=; b=h+tN1BlM5+1izPidIC4aQH86dqhmeQkY2GxpZ7lwo9+1cRAu98X8FiQYFxWIVef1Ho XmFkL3/XIMpMClWWgnkIp4DJPCU6mGKUCFItEczmWwhXHuA3IVSqOFqPuZ3pM6Q7UIvm F/p7wNbrIOKb69cf8hb7MPwTGlZlf7LG/a6HVMEkGznMiPcuAxYgFhg+ZPLTvTLpyTRe iDNVbr0KnUeojn8TVATZ5teSm7ZNkdG2+zSw1S8+s0t9J4U4NKJ1lcxWHaEWkqeGcrZm Uee+n+37VqHq1mvUc79VmqM/Jkn1dZi/UXoFvjB9OIjTOoYLnBfUvVPfOgFpQv/o4ydJ zj+g== X-Gm-Message-State: AO0yUKVIjdVfDxk4p7eRfjwCIF7FhDeuoXt0JFV2RZ3y9fv+VUt4O1QZ nK4khMwktTruTgYyCgUP1pw= X-Google-Smtp-Source: AK7set/bUYcmaxT7h4Y0Vv1Djyj5k20gwPieJn6snHaA7LzfyaLovcRfmuIt+Ybp4gJ+SV3e6k+e0A== X-Received: by 2002:a05:600c:a696:b0:3eb:2de8:b74e with SMTP id ip22-20020a05600ca69600b003eb2de8b74emr248196wmb.27.1677238321872; Fri, 24 Feb 2023 03:32:01 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id iz8-20020a05600c554800b003eaee9e0d22sm2562722wmb.33.2023.02.24.03.32.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 03:32:01 -0800 (PST) Content-Language: en-US In-Reply-To: <83v8jro5sw.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:256567 Archived-At: 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.