From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Wed, 30 Mar 2022 08:35:09 +0800 Message-ID: <8735j01dmq.fsf@yahoo.com> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> <83wnjmiork.fsf@gnu.org> <6D1CD758-2C6F-4843-9739-F2A5D5591648@gmail.com> <67183EAB-5D98-4211-B71B-4618D6266A15@gmail.com> <83lews90ft.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37293"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Yuan Fu , Lars Ingebrigtsen , ubolonton@gmail.com, yoavm448@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 30 02:36:23 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 1nZMJy-0009cJ-QS for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Mar 2022 02:36:22 +0200 Original-Received: from localhost ([::1]:35962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZMJx-0002uT-3P for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 20:36:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZMJ4-0002Fb-8G for emacs-devel@gnu.org; Tue, 29 Mar 2022 20:35:26 -0400 Original-Received: from sonic314-21.consmr.mail.ne1.yahoo.com ([66.163.189.147]:44487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZMJ2-0007Bp-Dh for emacs-devel@gnu.org; Tue, 29 Mar 2022 20:35:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648600522; bh=7ovNnBoNh6QPyKuM6QcAbAOTSvl2khzHmbyJGRRYZy4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=RP6USoarwLiPYhGwkmaDm0+O6GkK9HVGL+Zz7zO2qGsLmDXDHjqlHmP2yeCfGE23oKKIFuIM1eD4SXNTpf/Kh62ENI857vHK23BZGV5fdIAiGGMgyTG+qDI5YAk6fJkDSKUsoxUv0lSGCMqKFO+sNMr0fiCj4YMUadrQBUcm4/Wak41sQk/B3KTGvu4Vtg8/kXel7BdfWgZNW+eHl1alLN/aqovNTle5fcWbSZ4eqttuxLequ9ht7+A0nyb2A3reF/2AVxRE3KrzCdmQLmgdFrQyrrc7b/7atE4SieNhdlddf7x/wbT2rUBHVK1FDWKK6KwIqMYXSLkyfT8Ipbm3Qg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648600522; bh=xFFkuYElIlNyq4XlnLOJaGiIh1yCDmR2ONvCvdkTPjq=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=twNGWQhW50cOxaT7r/5qpfm7IO2KCf1OUmJAgMTuxFjQ307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mxm6Gt4fNGibq0aHkAk_8XDcZMZ.K07l6Pz.mPKHYX8R_lew wq6AX6KiylcRcQaPH5s6VQjjV7Or_q8_BbaO7OX6qR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 30 Mar 2022 00:35:22 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7c4cd56159f6945dee123e1b5f1b58e1; Wed, 30 Mar 2022 00:35:15 +0000 (UTC) In-Reply-To: <83lews90ft.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Mar 2022 19:40:38 +0300") X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.147; envelope-from=luangruo@yahoo.com; helo=sonic314-21.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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" Xref: news.gmane.io gmane.emacs.devel:287573 Archived-At: Eli Zaretskii writes: > One thing that we should consider right now is the name-space. You > used tree-sitter-* names for all the symbols, and I'm asking whether > we don't want something shorter, like ts-*. This is a decision we > must make now, because once we start using the code, there will be no > way back. Lars, WDYT? I'm not Lars but the former seems fine to me, while I think the `ts' namespace is already used by a Typescript package (or some third party tree-sitter bindings, I forgot which). Thanks.