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: Mon, 20 Feb 2023 21:24:36 +0100 Message-ID: <871qmk9jaz.fsf@thornhill.no> References: <8DA1B548-B8D2-4EC1-B9F8-F7654003AC89@gmail.com> <831qmkuv4o.fsf@gnu.org> 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="39369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61655@debbugs.gnu.org To: Eli Zaretskii , Jacob Faibussowitsch , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 20 21:25:19 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 1pUCis-000A58-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Feb 2023 21:25:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUCig-0000Rj-8i; Mon, 20 Feb 2023 15:25:07 -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 1pUCic-0000RY-Mp for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 15: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 1pUCic-00079N-C8 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 15:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUCib-0004tj-Qk for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 15:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2023 20:25: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.167692468318797 (code B ref 61655); Mon, 20 Feb 2023 20:25:01 +0000 Original-Received: (at 61655) by debbugs.gnu.org; 20 Feb 2023 20:24:43 +0000 Original-Received: from localhost ([127.0.0.1]:53731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUCiJ-0004t7-0M for submit@debbugs.gnu.org; Mon, 20 Feb 2023 15:24:43 -0500 Original-Received: from out-54.mta0.migadu.com ([91.218.175.54]:39725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUCiF-0004sw-4c for 61655@debbugs.gnu.org; Mon, 20 Feb 2023 15:24:41 -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=1676924677; 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=GIWLPyXBPpjsme20L8nPGfdlLdzl2lTY/3fq7oj9kTU=; b=PBUtXy3VDggyxAJQdkmhz72VNK3tWS4rF2CvYQTb9RRauusS3/1weTt5wiPGubTpCFTxsJ 0LsKAo7/f1o9FBd9IQD+HuM8PYesmOSUJHiii0o6ACvSZiGCw5gqwo+YzXNesHv/SlR8wf ++OguHIDYnuVwXHfRYB70589cQ567JVYwH5Ui8mpeKRC9VNajChCWtwTEUj0ZFrr2m+J3r 2mEg47SfkVQqHmDFi9w6t9+ZXulu/PD+yshVD+lipfqvk0LBLtF7AQqfbOgoDfw3ACu86U nsX1XQ9+WzdAAReibIjoHOAiPa37RE/ibRwyXhxqzfDQFSaOU2gIsrOemUXstw== In-Reply-To: <831qmkuv4o.fsf@gnu.org> 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:256219 Archived-At: Eli Zaretskii writes: >> From: Jacob Faibussowitsch >> Date: Mon, 20 Feb 2023 10:54:42 -0500 >> >> Is it possible to have the builtin tree sitter give differentiate font-locking for function calls and function definitions? > > AFAIU, it already does. Yuan and Theo, am I wrong? You're not wrong, but it depends on each implementation whether or not the definition gets a different color or not. Jacob, do you have any examples where it is wrong and what you expect instead? Theo