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 integration on feature/tree-sitter Date: Sat, 7 May 2022 13:00:43 -0700 Message-ID: <26ADA626-793E-4E21-9502-63675A7ED16B@gmail.com> References: <9E6D13F6-7E50-44EE-A357-C971A11A3636@gmail.com> <837d6xzpac.fsf@gnu.org> <7B1F29B4-045A-420E-8FD7-C7C72FF14DDC@gmail.com> <837d6xxjpv.fsf@gnu.org> <834k21xhzd.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="20365"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 07 22:01:38 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 1nnQcT-00058L-W7 for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 22:01:38 +0200 Original-Received: from localhost ([::1]:56842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnQcS-0004Kb-I5 for ged-emacs-devel@m.gmane-mx.org; Sat, 07 May 2022 16:01:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnQbh-0003eI-29 for emacs-devel@gnu.org; Sat, 07 May 2022 16:00:49 -0400 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:38514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnQbf-0000WM-9w; Sat, 07 May 2022 16:00:48 -0400 Original-Received: by mail-pl1-x629.google.com with SMTP id n18so10461434plg.5; Sat, 07 May 2022 13:00:46 -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=zJ/q/KDiUI1LM0/UfeLhTvm4YReiH8jA3GBQPKeYujA=; b=Pa26LLhDXSN8aTv+3hNcXzIs3M3W8XeQ7I2Pclwvx9ePLbUWP/2PkKQXG6JBNU00yD M0kFi/8o4gh5ksl6LndY0XHDzXbg6WFMkUZma4bZaB2qGmY8bs7JGns8Zojz9RCQ1alF xG+G/nCT6M6WYi6bVZsVW9jML/yHnwIJIxc6KKqXGs9Uazo9g9WUbPRwbGoWoWmEcE9E iOyQsHCevkL8cQCWu0v7Z1HJoT84IJ7u5420+q7GR5Q15/wD1OuagTln8PW78wqNM28N Ud3DSa9SaaygQ36vxYZitwe3NA8SDO/dn+PoBQpZspe7p0v3qkGL/Blo/wjqpA50t7JV hg5A== 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=zJ/q/KDiUI1LM0/UfeLhTvm4YReiH8jA3GBQPKeYujA=; b=nLlAIsayZLoF/MAlEzief5LRnwv4G+UnoCHX/gdmgLmpFj8VzdfCBszt9f910RzrM2 kUp3PYaIisy1DGP1C5SApQ9drAPIt5CQsosmj8rC1ogIyDvVtoJzYvdCd2xtSrcJfAGu FPhvwV71d+J6wrda6+9JZ2hAnadU8m2EmagRzQcgWWmuYT9QwNvV8v3EeJf/tBji5hwA aygEujsQsDg9a1b2OpJWXN2DDxzo9nw7/+WjKE0qACl7CQDojZxkEc+K9lscsRqnRCdg 7DmY9U4N+xCl1LsId3C6HMeSLKy4FYXNLgmZ60WWCu0HVFqIm5nVfFsHOIXczE3yZlIA rwww== X-Gm-Message-State: AOAM530MhUVMbWgdbMthhd9Pzyzv2xkwruzZMace5Nk21RiUSKUEbTMJ eb6U2hgPTsvoXceohylbi31t5U2Kro0= X-Google-Smtp-Source: ABdhPJyW5UJFdOUy8h37yGWtfK7Y2Wrhig49x7xfh/Ues62PwtB7NS9yHVHnvfoVG69PtVOpb9tcWg== X-Received: by 2002:a17:902:7104:b0:15e:ddb8:199 with SMTP id a4-20020a170902710400b0015eddb80199mr9418492pll.80.1651953645279; Sat, 07 May 2022 13:00:45 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:148:e841:81b0:7360]) by smtp.gmail.com with ESMTPSA id w7-20020a170902e88700b0015e8d4eb1e9sm1202710plg.51.2022.05.07.13.00.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 May 2022 13:00:44 -0700 (PDT) In-Reply-To: <834k21xhzd.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=casouri@gmail.com; helo=mail-pl1-x629.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, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:289432 Archived-At: >>=20 >> That=E2=80=99s too much magic to ask from tree-sitter. >=20 > I didn't expect tree-sitter to do this for us, I thought the code > which integrates it into Emacs should do it, and hoped that code was > already written. Ah, I see, that would require people more competent than me on each of = the languages and major modes to try using tree-sitter feature for major = modes, and maybe raising suggestions and concerns along the way, like = Theodor has done. I=E2=80=99ll try my best to respond and improve = tree-sitter integration as those suggestions and concerns arise. = Currently Theodor=E2=80=99s comments are still in my todo list. I=E2=80=99= ll get to it soon=E2=84=A2. >=20 > Don't be mistaken: that I thought the situation was different is > entirely my fault, not yours. Thank you for the work you have done > that brought us where we are today. Glad I can give something back to Emacs ;-) Yuan=