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: Tree-sitter api Date: Tue, 29 Mar 2022 19:59:59 -0700 Message-ID: <825205B8-238F-4772-A497-634F3F37D49B@gmail.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> <32CE637B-B9A6-4E1A-A6C5-B6A930D34299@gmail.com> <83h77g892o.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.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="40294"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, yoavm448@gmail.com, ubolonton@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 05:01:42 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 1nZOab-000AJs-VY for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Mar 2022 05:01:41 +0200 Original-Received: from localhost ([::1]:47136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZOaa-00054w-Lg for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 23:01:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZOZ3-0004Fm-81 for emacs-devel@gnu.org; Tue, 29 Mar 2022 23:00:05 -0400 Original-Received: from [2607:f8b0:4864:20::432] (port=40652 helo=mail-pf1-x432.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZOZ1-0004O9-PE; Tue, 29 Mar 2022 23:00:04 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id y10so14248004pfa.7; Tue, 29 Mar 2022 20:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A8NC/tyKY7j7S3hT7TyUTiSKkvze17ewKHpjQEXTJxg=; b=d4CouoDye9taIeO7VwHgKCatpUf0aJil+dQJyvpQfNJ6wwNtwDFg4fCEMfqQ87Elcv 2FPSqttH1aHgvayDC8Us6gS/QAK7hKBS8ZU5mx/mC1em1e+Mr2mREDFu/kLwSaNU7NUk eycu4H4TKYIauPArEQZCTrtD+GqRr14n8rbONOO4YCS4oLS1OAYOmiaQ6auKD67H++NR 1ReOXbrKExpLsbxXU1xNbpE7SUK5EByqPRt7uuJ06rDP0HZ9hoJ8DbDhh7s3UDWBixD6 YSWjPjXpfuYrnBwP51X7eiojMf2XqzkaWXxHE37FIKo9kpYzuMSu7KdVM97aEirrqhhZ aHRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A8NC/tyKY7j7S3hT7TyUTiSKkvze17ewKHpjQEXTJxg=; b=060jcmWxSEMsZizhcfXMN7/kgVoSf2sAhAjYNnsDpVMWbqbxlrtjyJtENzGbH7LVhJ 6dfTmhKHBimKEPOaWz+hZF2ZNepeX08257SB3hjWYB5qTSppXbQQlXi49BDGT7YT27e8 qRzRJxLfA43WdmMPvH/4t+EkTLnWXxj199Q+gUF4cuHSozO4XLbX9LNej99cnYSfZ3Hm ZH4MAUJw0vdV9VLNBH612G5bDpwBgYrxUgdqRhuuIip2Yb64gvwb3ohHZY+i47DGn14k le4D8k970dAaTPx2SUD4ypN2oy9bDWH4NK/oB+lMlm2lJeCFSD+tET6RgxM1lKA4aMbK WETg== X-Gm-Message-State: AOAM533Rq8YzapO7iZPKxjaSm/I6dmqeZA20GeejjSnvRlY6cZXFnF5s 9eYDBItEbbrz5OrlnQo+CuPLORkJIcbXxg== X-Google-Smtp-Source: ABdhPJwYwjRh+9SxBBCQ3y1Ow/cWIwbCaVxqF+aMFuxhxMpkVxlPiuH3Vf/hLz2T4xfAZaxPMJXkYQ== X-Received: by 2002:a63:f54b:0:b0:384:64d1:fa45 with SMTP id e11-20020a63f54b000000b0038464d1fa45mr4382898pgk.95.1648609201405; Tue, 29 Mar 2022 20:00:01 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:a837:d5f7:9339:94dc]) by smtp.gmail.com with ESMTPSA id g70-20020a636b49000000b003823dd39d41sm17108778pgc.64.2022.03.29.20.00.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Mar 2022 20:00:00 -0700 (PDT) In-Reply-To: <83h77g892o.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::432 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=casouri@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 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, FREEMAIL_REPLY=1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:287580 Archived-At: > On Mar 29, 2022, at 7:31 PM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Tue, 29 Mar 2022 17:49:55 -0700 >> Cc: Lars Ingebrigtsen , >> Yoav Marco , >> Emacs developers , >> ubolonton@gmail.com >>=20 >>> 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? >>=20 >> As Po said, there is a package already using the ts prefix and that = package is popular enough. Maybe tsr? Anyway, I=E2=80=99d love a shorter = prefix other than tree-sitter, it is a real pain to type this long = prefix. >=20 > Then tsitter, perhaps? LGTM Yuan=