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: Tue, 11 Oct 2022 12:43:36 +0800 Message-ID: <87k057j7gn.fsf@yahoo.com> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35142"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , Alan Mackenzie , emacs-devel@gnu.org, jostein@kjonigsen.net To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 11 06:44:43 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 1oi78F-0008wW-Oh for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 06:44:43 +0200 Original-Received: from localhost ([::1]:51762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi78E-00071g-BP for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 00:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi77P-0006Lf-KF for emacs-devel@gnu.org; Tue, 11 Oct 2022 00:43:51 -0400 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]:40790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi77N-0008TV-BB for emacs-devel@gnu.org; Tue, 11 Oct 2022 00:43:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665463425; bh=3oiX5EFcEU1C8XtQRG30Wh5AxQh/sbFqDG8Uxc6p4fI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=JfZmSIPYHqa50xsmnA9cl5ZNhwQFFaGHhJKLESzfu4yxuDiHrSGN/8GsvKjJ0OwnET4/uuzXN3KzkBF818ykZRFSzcHlNRIINCizydFmlnHjgvAGGTroz9EkTUufj1XLjo9i0Nr7pK87rPuzmW7Gixxzb6mJWGqmRN/D6W+br2Ob+Rw2TaVjgB2YY0NlF1bX3+8keR/LFx+x7aDxdwR/dSRcB8CQY+bIYE/guknIxxs2GSZQIJn483GaElAgWAQe76XDj3n15PYnplzm4SPwgP5R7i/qkhncdEVQ+vKGnMoviAgoYTt/U0ufdTfoXxbDmMybqZZrPugUeNUsJMD3ew== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665463425; bh=81xE3eHHy5V5AERPEQDENXb68z0IR/PU+Cv0tQdBZrm=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AdDMH+hR5bkrzAuiMT3LpfH/3ehxyufOBFweUEXYUgm269VncOsW7SCCG/vzAE0CwLYY31isR9A/E7AghYIfhWCr1Tubhc27Z4OLCme/QL5KJ3bTds8lKP14AP+s49d1lhJ4VnunVuqBw64FvtXn8UyosN3UdEQoC7Nx1nCGKt/5Xkq6ANjX050vQ9CAkF+t7HYz8sD0A1wqYca4sS5W8Eco7sG53YJjBq+yURE96ybXs0y88DwfDF6lfCAy3ZiRn1WZ3v8aV+cHaNy+//fRA4WRymKngkb0RR3GWFq1J1u7Npyve6TFun3ts7FtJQlgYBkJOgaKVUDJ1Wj4R6TdZQ== X-YMail-OSG: 1wrHSZYVM1nWMvNDC.9g9cQwjCRv4u1UBrkGiv.syuMcX3b2tZe6LXOcpvqFd3s DEIQ24lBEf0a6zEwbbpbsLY5ukyxuNROKXnQKF05GvyoHfiCeDCeRCpyN0CixPyqEGm9qzSoymTV B6eegEmz0HZ9yx6jVLBV57tRO5OqZ4egQnSFIE6LhgdoAzhjpZoRykZCRjOEanWnf097p3PjwgNg IirU.K5tBZH7ZSAnS1.LwulLOQNBq_sKcbUncl3044qAPcz6YO.P9isRsSxZzwhyWW9v53jpdFy3 EZn.LVfRO.cjtOuJ6rSksQNW2y05znLGAIVdujInUoDzn6TGddS.v0Fh7pjfbs2lxy.Uy1TgSSZI JRiTH150.nvn6B9dQhdkLVvCG_WNSDsyyLRHMKRxrAx7CaDgVXgxf9AqyPeGAaZay6i7pCBW0d4l qEPWNJsgxNRKuEvTKIwfu2xenSj0lgfuykfevrznf2GcEKLO.j.I8kderFtYGB7hwiflkWKOYybo NhUsVlGGBs6L3l_6DRoY0WevahXjatCbHT2EiaXpAJy9DR1BcFl8V6f4GqoR2UebkIHRnzpTe_6N VZNLObtvspMqzUkO1lP7pRHHrOx3gutny3NNdq8QWV0PB0Js8zJPjO5wTM7pMULxFR_grmt90PVg oxIrtO7a3_YLj4X1BhUXL5JFkYluZjUCewyuUfan4DC1E0FY0KCfsOYj7epLw9EOoeMmzDeXM..W ho2shkI_gy1VpXIoEOItHT6rzt8PH4MvFeEZYQTVD7.IbWgB2D7au6fri9UZ9xn8rn0BC6QF9AkJ CUQY88hjefw7vbvvixkkZ22.3ckgDQpMVyPUqyFAGQ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Tue, 11 Oct 2022 04:43:45 +0000 Original-Received: by hermes--production-sg3-785466d859-7l8f2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f8543808b50ff1c2f9d27fcbef9cab75; Tue, 11 Oct 2022 04:43:42 +0000 (UTC) In-Reply-To: <87tu4c5g9j.fsf@thornhill.no> (Theodor Thornhill's message of "Mon, 10 Oct 2022 08:44:56 +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.186.206; envelope-from=luangruo@yahoo.com; helo=sonic310-25.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:297414 Archived-At: Theodor Thornhill writes: > My suggestion is to add the tree-sitter variant in these cases, and let > the other modes die a slow, deprecated death down the line. In that case, will any of you object if someone writes a parser generator in C and an implementation of the tree-sitter runtime library that can be included with Emacs itself (namely, with the copyright assigned to the FSF?) They will be able to use any existing tree-sitter grammar, of course. My opinion is that Emacs should not degrade its text editing capabilities so drastically if a non-system library (i.e. not ncurses or Xlib) is not present.