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 20:24:47 -0700 Message-ID: <2117F0C4-A26E-4D28-8AD1-70E3DC3C13D9@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> <87a6d8yype.fsf@yahoo.com> <6097E0D9-0AF2-43D3-AA5F-A8424A161B02@gmail.com> 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="32263"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ubolonton@gmail.com, Emacs developers , Po Lu , Eli Zaretskii , Yoav Marco , Lars Ingebrigtsen To: Vitaly Ankh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 30 05:26:03 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 1nZOyA-0008EE-Uu for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Mar 2022 05:26:02 +0200 Original-Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZOy9-0004q2-Df for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 23:26:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZOx2-000498-LH for emacs-devel@gnu.org; Tue, 29 Mar 2022 23:24:52 -0400 Original-Received: from [2607:f8b0:4864:20::1032] (port=47056 helo=mail-pj1-x1032.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZOx1-0007Ky-8b; Tue, 29 Mar 2022 23:24:52 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id bx24-20020a17090af49800b001c6872a9e4eso4884670pjb.5; Tue, 29 Mar 2022 20:24:50 -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=eLCq8xb3oQTV6XnoZlp/qJdzmFxJ8sqZatpZPIvLJPI=; b=h0V/g921UhzavOkKNNMOMsI4Ie4EWEJ6KyABLSfNOliMwctT39gX92nNjG0H/QDloX BXadpGxAoOHLOYRyFxxjqIvbt9h2hE3bsEnyggts0P/s1ecG3lrDFbE/8KEIpW2GWs7p HORBl8cMapObjExVpw9fJKi4DDL3MJODwFdsKW8wbKKqmQZZxGYXqgXkIcbH3DmOjvMd ADSK4sKHJWuEiPQz2wBKZxF12LMuycO41lmGIGrlqKEsabkwUMNxuHnoxD4tPZAd7uUP dqF0aSGPCPVVsHCbLqrEHHVb3193xNonAFVwj4ghWUUlG6OzJ67Z/z6udhXrfmssRsYn 6GOg== 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=eLCq8xb3oQTV6XnoZlp/qJdzmFxJ8sqZatpZPIvLJPI=; b=rClBkMrMeapJmVEyJG2midia02m7F4N/fDbqb5qA5EJ/7HBxE2F+ZyUdIascL2x9HI vrUH7YlgyUO2bXWP8hkUZ0F+ei4BEoi7/mroBph19A5KaDi2aybD4tzxyL0ZwE55ieZv pT+PdUCkmAFj7Br9XmrCVw56HdDFiIVUsoEq5jH/3agM0pt7eJm3HLKv5IaKBbSbbLk4 0WkcEQ3mz9cO00Na4Nb+19hy/v3QaFKYv/50n1o9DcYKHOJJdxbRjnFerdKWju0Cbtqf j7hZ94KqbJqbSYkTdvG6yQ7qTz2XbFUJxZgv4PrMP28tbBXUoptil3FFP05MIWmeaE8G kX1A== X-Gm-Message-State: AOAM533DvjwqItpH+rGdRvqVjiy+d9bpCKv9Oo97Y+5ocep8/ptbKszu 7addfDIoTsYDjHKERtV5qTs= X-Google-Smtp-Source: ABdhPJxi7Im+Z5422U/C95CoNkamyGKJE2g3vrwc5tH1Zwcbn/FJiKuGocncS6u0pjhfEpPc6s4VfQ== X-Received: by 2002:a17:90b:3805:b0:1c7:6e7a:3e01 with SMTP id mq5-20020a17090b380500b001c76e7a3e01mr2542380pjb.213.1648610689547; Tue, 29 Mar 2022 20:24:49 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:a837:d5f7:9339:94dc]) by smtp.gmail.com with ESMTPSA id s2-20020a17090a1c0200b001c994db1960sm4783060pjs.10.2022.03.29.20.24.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Mar 2022 20:24:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1032 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=casouri@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, 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:287584 Archived-At: > On Mar 29, 2022, at 8:10 PM, Vitaly Ankh wrote: >=20 > Why not just tree-sitter? It looks intuitive and tsitter only saves > you four letters=E2=80=A6 I=E2=80=99d much rather use ts-, but that is taken. tree-sitter- = doesn=E2=80=99t look long, but is really annoying when you actually = write code using tree-sitter API. Completion doesn=E2=80=99t help, = because you have to type the full prefix plus a few characters for = completion to get you what you want, otherwise it completes to whatever = is on the top of candidate list. If there is better prefixes that are = short and mnemonic I=E2=80=99ll gladly take that. I don=E2=80=99t have = an opinion on which exact prefix we should use. Yuan