From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter integration in python.el Date: Thu, 13 Oct 2022 08:55:24 +0300 Message-ID: <834jw8b73n.fsf@gnu.org> References: <3A68545C-2E40-4BB4-8563-8041A5452634@gmail.com> <87y1twlr0v.fsf@gmail.com> <83czb8ycpo.fsf@gnu.org> <87tu4klfcw.fsf@gmail.com> <87ill0le20.fsf@gmail.com> <87y1ttfmj8.fsf@gmail.com> <19950F30-F4DB-4CE4-9257-24DA39594669@gmail.com> <87czb47jya.fsf@gmail.com> <87wn9c7xxd.fsf@gmail.com> <83wn9altdu.fsf@gnu.org> <8182363C-3BB3-4741-B916-09C78971CE30@gmail.com> <6AAE43C1-DBE9-448C-9C76-9D2188EF5A91@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, arstoffel@gmail.com, orontee@gmail.com, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 07:57:34 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 1oirDq-0005hj-6b for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 07:57:34 +0200 Original-Received: from localhost ([::1]:33816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oirDo-0001TU-Or for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 01:57:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirBZ-0007Vq-WD for emacs-devel@gnu.org; Thu, 13 Oct 2022 01:55:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirBZ-0006Yo-6x; Thu, 13 Oct 2022 01:55:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SNeLMvWGSAhZ6qhPOuVbIOITPgWbC8sEocsx0fXbHkU=; b=BzvW3erh7M+enoiuwXfN r1N5SxVvrsHjkaWdujnv/LroB7xZbthhTCvTs9D79yJ+jmKIOpIY7Do7cbHrdaZvSxjIdLnkOqmij ybpvXREBe26qwQ7MHogQIQEvBY3ISRsYHN+5O8aGZrK/HaZDJW6jWJ/trRMXMsaeoFfAAFHU1nvCd 9637bverY9/3EG5uHzqCXhXxFtfNk62RWcvUtIFdOj0qrnViuJse881nS1dFLXqu/VCSwsriEi9US xuwweNTNdXHhu3OFgO52G7jIBO7IN9J7yNqRqZghaHaI0aw3efluBU3PQ0na/yvF4taY3TM2S5gfV KcoUv8+8eX+PRA==; Original-Received: from [87.69.77.57] (port=1393 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirBX-00025T-Kl; Thu, 13 Oct 2022 01:55:11 -0400 In-Reply-To: <6AAE43C1-DBE9-448C-9C76-9D2188EF5A91@gmail.com> (message from Yuan Fu on Wed, 12 Oct 2022 16:43:30 -0700) 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" Xref: news.gmane.io gmane.emacs.devel:297654 Archived-At: > From: Yuan Fu > Date: Wed, 12 Oct 2022 16:43:30 -0700 > Cc: Eli Zaretskii , > Augusto Stoffel , > Matthias Meulien , > emacs-devel@gnu.org > > What are some suggestions for kind names? We could provide the common ones in the doctoring so major modes use the same names for them. I can think of: function, type, keyword, constant, builtin, string-interpolation, escape, assignment-lhs, macro, preprocessor, string, comment, hmmm… this list is extremely similar to font-lock-faces… Exactly. So how about just taking the list from the font-lock-faces? We can always add some more later, if we find it necessary.