From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Status update of tree-sitter features Date: Thu, 29 Dec 2022 01:23:19 -0800 Message-ID: References: <5d53b299-14e1-6f8b-58b3-7e16842d87a9@yandex.ru> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3313"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 29 10:33:55 2022 Return-path: Envelope-to: ged-emacs-devel@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 1pApIQ-0000bq-9f for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Dec 2022 10:33:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAp8R-0003iD-GT; Thu, 29 Dec 2022 04:23:35 -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 1pAp8F-0003cy-P0 for emacs-devel@gnu.org; Thu, 29 Dec 2022 04:23:24 -0500 Original-Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAp8E-0002js-8y for emacs-devel@gnu.org; Thu, 29 Dec 2022 04:23:23 -0500 Original-Received: by mail-pj1-x1030.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so18405740pjj.4 for ; Thu, 29 Dec 2022 01:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JR3UNCe5JIcLGlN10IoDL4+X//9LFbJT+Lc8gDUzK94=; b=fjx+gcuFO8R66IlhIB9rS5BLzaM0fJdsDFS9QIgUyQ1pK3FYp38uzaWSSbHGm1KBpa ALpGjBif3deubFVlvFQqm6AfB7jyw1h5Qsdz7TslVnnBJioPbWLP6aIbC0yFnAY0MLL5 SVxz5Xd0u799Z3D6x0ICPcYX3TiuOZqwb6addo7XAeyEUbzum17nZ2C5PxAiBR8c0jIs 6X6QxijBUA1F+3ghZuKO7d44CIlKs2nUejIfKcLQhSocOVj44dzatdEbCpg09seMx9Dv 4Fz5/FXFBufXPrr8N0dUEwZ+TIiGd1DE2I3kKeGY/LhzGyUYMsBvXF7ubiV1Z1u7yFlw kCww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JR3UNCe5JIcLGlN10IoDL4+X//9LFbJT+Lc8gDUzK94=; b=zBgPzDlFy9G7pyMY9gg7eAMKhYeLsO6JsWoe8PGdSM4NlGJwrhLJa8Mk6jYT8r2f8X xwbHufW1i1nSIdpSNwCGuVZZj8I+LWzkamioJO5hQPNMOJJydlhwHpMqHNPk+Jf/EaQy 8nO1Xip8W9ZUhZSqcrjZaODoFmB6QUL6gUhhHocwnA7V/d6hXqHu8iC25JJywVtsmZYC 5qJDGDNAHZMIGWSwBhiHCTySPQci5HXXGx2GW0sormdRBLwy7Wka1fflfB0TiWkfRcWf Sgs7ujFPiZUWgJkw95Ku7iI47c7cOxaE5+wfBa+PjXfPl9ecOwMuGhH7O0AOT02pw9R7 0JFQ== X-Gm-Message-State: AFqh2kp0PkpI63VdrjfL4+A8AlGVPvmtP6gyaTNa65GlM/x/8fFHd/dG IJl6tpmDMxdciDVtQiIGPxg= X-Google-Smtp-Source: AMrXdXtwiYoDJ/+JCG4xJkonvnBZJwpAgWdGRvTNWI5iJa9HW9FUlRMABsJxill5l04p48kd3cYXsQ== X-Received: by 2002:a17:902:d18c:b0:189:66dc:4af5 with SMTP id m12-20020a170902d18c00b0018966dc4af5mr26901914plb.13.1672305800893; Thu, 29 Dec 2022 01:23:20 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id p8-20020a170902780800b00174f7d10a03sm12389042pll.86.2022.12.29.01.23.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Dec 2022 01:23:20 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=casouri@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302025 Archived-At: > On Dec 28, 2022, at 7:28 PM, Stefan Monnier = wrote: >=20 >>> If it's only about calls, maybe call this category funcall? >> Function, property and variable are for every occurrence of them (the = touted >> =E2=80=9Cconsistent highlighting=E2=80=9D). >=20 > In my own use, the difference between a definition and a use is more > important than the difference between a variable name and a method = name. > I'm not fundamentally opposed to highlighting funcalls, but it is > indispensable that funcalls get a different face from > function definitions. The default behavior is we only highlight definition, and funcall are = not highlighted. So it=E2=80=99s function-face vs no face. More or less = fits your bill, I guess. Yuan=