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: Call for volunteers: add tree-sitter support to major modes Date: Wed, 12 Oct 2022 08:41:21 +0800 Message-ID: <87leplho0e.fsf@yahoo.com> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no> <87k057j7gn.fsf@yahoo.com> <87o7uido9m.fsf@gnus.org> <87k056dlhm.fsf@gnus.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="32355"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Stefan Monnier , Theodor Thornhill , Eli Zaretskii , Alan Mackenzie , emacs-devel@gnu.org, jostein@kjonigsen.net To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 12 02:42:50 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 1oiPph-0008G4-1H for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Oct 2022 02:42:49 +0200 Original-Received: from localhost ([::1]:33676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiPpf-0004Jx-Dc for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 20:42:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiPoa-0003bZ-NL for emacs-devel@gnu.org; Tue, 11 Oct 2022 20:41:40 -0400 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:46571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiPoX-0001Sa-Uv for emacs-devel@gnu.org; Tue, 11 Oct 2022 20:41:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665535293; bh=Rvo9lWpSGcWk+KB9HwXCqVyZRcpYZwyAbgYnlE+PWEY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=juvSYz5A+vhJDDThDskPdUbD6hP5tNpkCQuvX7+yrauQ1J6rV8wL9Hmw+wakzMmEmvaO93pw0qhNEw7R+ZTTwowEsCyrfybtOF8KmcsMmqQQ9ttL/2j+s2+wgbfCwKCPw3zBZXZKEgkV8z0Jnfwtjv3J6eqfVaMAhlQVdBj5wnge90ZCLnM8uQRxpDOJGPmEUvPddYkcdczJ+JiJIv8dwdcuPSR4Cr2n7B5jpLEHwXcFU5nyvb8oppOYZUjvRQUo20rxFJMOafIki5FieTY4UwjNmGOssNBCJY0FveU0nz32lbzH5IUZvqSkTjtLVWJ+TEUKM6qHsix1Ctkr9W8h8A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665535293; bh=K3huUETArvVTBo5FSbNWjhtM/FTdf0whlg+Qi1FhZ+x=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QSTt4Kt2jvePSa/anEBJvoaouxIVxRj/Tk2o3tM7bNOsxU7MpTSSZiZeYLnQBlUID6ygzvoZrfp6x3ayP/OSTp2x29qL61U4Iamy3KvPchiywFY8biwqgOBVXLvGMoIK3/F91o3oZ/MNxYmzO4FToAYbtZEC+MvFYdMPMGka37sxwZ14R3g6TfglBKFKPnibhd19wPEPQgYjtqMUUJq5db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yahoo.com with HTTP; Wed, 12 Oct 2022 00:41:33 +0000 Original-Received: by hermes--production-sg3-785466d859-9ltwm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6d0492cd98a9650db29d09f383aed261; Wed, 12 Oct 2022 00:41:27 +0000 (UTC) In-Reply-To: <87k056dlhm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 12 Oct 2022 00:49:25 +0200") X-Mailer: WebService/1.1.20740 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.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 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:297562 Archived-At: Lars Ingebrigtsen writes: > Yes, more of an Emacs 30 thing, so 2024-ish. > > That is, during the next year, I'm guessing that we'll be gaining > tree-sitter support for all the major programming languages, and when > that is better than what we already have, we should consider making > tree-sitter a prerequisite for Emacs (and these modes) and rapidly phase > out the old code. I and many others will _very_ strongly object to removing the build without tree-sitter. Emacs has never needed a non-system library to edit text, and that should not start now. On X, we even support the build without XCB, as even though it has been ubitous for decades, it is not specified in any document and cannot be implemented by third parties. Unlike Xlib, which is part of the specifications for release 6 of the X Window System, version 11, published by the X Consortium. > It's also a question of how much user breakage we'll tolerate/aim for. > That is, there's a gazillion tuning knobs all over the modes to tweak > stuff that will be rendered obsolete by tree-sitter, and which people > may be fond of. It will certainly break a lot. Last I heard tree-sitter itself has problems with complex macro constructs in C and C++ code. CC Mode has less, because it is too dumb to try to parse them.