From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: [SPAM UNSURE] Maybe we're taking a wrong approach towards tree-sitter Date: Fri, 30 Jul 2021 17:07:54 +0200 Message-ID: References: <8735rzyzbz.fsf@163.com> <86v94v3xh9.fsf@stephe-leake.org> <87wnpargnb.fsf@elite.giraud> <87h7gey7zx.fsf@163.com> <83pmv2twrl.fsf@gnu.org> <86sfzwogsn.fsf@stephe-leake.org> <87o8akmy4p.fsf@163.com> <20210730133254.qtxgjkje36nqehpd@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Andrei Kuznetsov , Eli Zaretskii , Stephen Leake , manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 30 17:09:30 2021 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 1m9U8f-0008S0-9i for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Jul 2021 17:09:29 +0200 Original-Received: from localhost ([::1]:42024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9U8e-0001Zb-0U for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Jul 2021 11:09:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9U7F-0007EV-73 for emacs-devel@gnu.org; Fri, 30 Jul 2021 11:08:01 -0400 Original-Received: from mail-am6eur05olkn2098.outbound.protection.outlook.com ([40.92.91.98]:24193 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9U7D-0002ZU-93; Fri, 30 Jul 2021 11:08:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IqPGf8Olz0ngfNLAc76znxE22jMpOrXiPP7J6m6EIIqhesPV6MADxl4rosM8gFrI2FqBkk/3KCDHTutYjPabRIZe3g8VHJUV2V6c/OdjKwJjk1GXHhK/LaRds9BPoPgCVwQv/yFdrN8heVTy7fSskRjUwopizIAKQqDhZQoJFbBRHZVd4pUiaqAxjTjt2ZqFfddY+t0PJvuN+Cdak0pW0BYwLMJshuJjCW//PFgIKINFUcp2XGhEKhoLiJYCGV84WrQGs7E3VE1ad72GqWjkLG6wbT5G9Ung79A3tQn4xdBDQh94rzQchiwnzPFtn2GkM+K9fUIH4MAnGtP1AijxCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YgWlEzEMJBjbxMfWCWSc+qDiLfONVUACV7VLE0Tb9ZY=; b=AHzEmbji5cDufJPyzypp3pX+iDSfSghr0DiODPYto8fxBQZrEIBeoAdil+5+HNApm11ibaTnnN8XKi80Hq5FYcXsnQibOl2f/qGDgPUO1R5vKQvMRJgeS4AHkpvMk2GbxZjNRnFGoo8F1+0GU2lugZhmWvxR89yhlZNqC6FABrU+D9ARVnLWUohFtI00gVhk3rX6kXc/leG0TPhv+BLNKQtO23AbXQ8qJfZD7PFbfiz6Vm54AlMhuhHHLq7TxlWHMj9CWeVIJVMKqEVx/bcUr4mkMHymV7rwayVf+hjcMLxPDM/DzeFkMpIYBpIDBTSso118yzoWbyVzZ6ZY4GbWXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YgWlEzEMJBjbxMfWCWSc+qDiLfONVUACV7VLE0Tb9ZY=; b=BeMIsFugTF8LWr7Awir5PywLsLUgfLsTn2dU/NxoliFothJtCrjhoXj/4emmKOEZyeyE92e9Gs7Ogsu81reZ4xgr8djET40g1iny70n9l5WcvJmWRKxTnTZvXAkzHX2FVWBRouI/oqBWFm3ZPg2YfrvTKaoHRF+V2tMmuEfXVcKkQrV7cqFJsSCo7IvAYmyZoterZZjSOPrlX1xlPaJpySQyH/IZumKP0eYk4eJXG+fVLWSYndeOCSh9nhKkqRSbnSm/8cq/W6zlHq2q6z/UMVDVXC26jSgVzlkE3vD3Ap0cR804h2PjGF8+LgoQSD7uIC4L1xcHJC9B01VaIHcPGg== Original-Received: from VI1EUR05FT045.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::44) by VI1EUR05HT197.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::385) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Fri, 30 Jul 2021 15:07:55 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc12::4c) by VI1EUR05FT045.mail.protection.outlook.com (2a01:111:e400:fc12::443) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 15:07:55 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:13C3E59D16F12070D26E5B4CB8BEFA5805CF50A941C750ADB7FAEF03D4295BEE; UpperCasedChecksum:E22719AE3ED923289609E1B2D1D5D47D7F1BC8F1BC8D52D522D5B91731BEC894; SizeAsReceived:7862; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b%6]) with mapi id 15.20.4373.025; Fri, 30 Jul 2021 15:07:55 +0000 In-Reply-To: <20210730133254.qtxgjkje36nqehpd@Ergus> (Ergus's message of "Fri, 30 Jul 2021 15:32:54 +0200") X-TMN: [Vb1d96ORgJzkKsVfvLoKu6PqI1325vgR] X-ClientProxiedBy: AM7PR03CA0029.eurprd03.prod.outlook.com (2603:10a6:20b:130::39) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87sfzvj0vp.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM7PR03CA0029.eurprd03.prod.outlook.com (2603:10a6:20b:130::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 15:07:54 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 5e7e1f34-60bb-48a8-f252-08d9536bcf18 X-MS-TrafficTypeDiagnostic: VI1EUR05HT197: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MmWvaNwlc+HeWG5j7daumH0tt0D6R2+yGPzB/0wQRPLMlV0j3Oc7isbLgTngDr7p4vNaSF8uQ4PA8XDvuLLgFCVojX4F5p4KrfkrxpMvVGkvHwloGKBS2RRyzlikXBgaLNENOpS7N6VSsSjQRNPK9AFih22w4KppD5rgJzXvy6C6g9QjM3+tN2a5D3V9U9PeMvuHtv06b3eWGE9Ctxhbi85zmhIbQesTArW2nAHuOKp9vBdmD96NT3fNC47knezv5mke72A3lIN9ffE8Xo9JSR/XLDck5OBNOEdRX471IF3WwvrPKk+En4EmMz16aylxv3uQLMsk3LCqU/UBd1qnalvAjXnV+Qnnk7MLkAhXpXeWqydu+qz6uwgX15Ct26tJ6OdiBwRCnBzHt3N27nNIkrfKrKhrNMbG1oLLuHm7JiaTbxYgLha/OOKLIn9fr+lz X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s4Fgc1ncj01UQ2PXkZjE7DewYYfemlhXll4V1dD3NG1Md+0Z9qLca++2yc78kSKNRFb6wS57RTRwDUtk0Ap/wwsMIv3TkeuAlRqn8qqE+yV37Pj9qt7IKwWLR4bIY1YwRE70zhTA8Umc8mOaPDDSmg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e7e1f34-60bb-48a8-f252-08d9536bcf18 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2021 15:07:55.4105 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT045.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT197 Received-SPF: pass client-ip=40.92.91.98; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 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:271853 Archived-At: Ergus writes: > Probably I am wrong but 99% of the web developers (React, Nodejs, > Angular) are using VSCode, the rest are with neovim; so we don't even > have people with enough knowledge and motivation to implement one of > those in Emacs one by one. That might be for other reasons as well, like interaction modell, wording and other idiosyncrasies of Emacs as discussed in numerous threads about making Emacs popular, because of certain company is backing VSCode etc. There are other editors like Adobe's Brackets which came before VSCode and is by far less popular than VSCode. Looking at recent MS business moves (AI, Github, copilot ...), it is now understandable why they pour resources into a free code editor. I wondered how come when they first released it, now the picture clears. I don't think Emacs or barely some other editor can compete with MS, simply nobody has so much resource. That is of course not an argument for or against TS, just a thought about people prefereing a tool. Yes, I agree with you that syntax highlight out of the box for a certain library like Node oor Vue might help Emacs. I have nothing against that argument. > TS may be useful not only > for syntax highlight and indentation but also for code navigation and > some basic syntax checking. Yes, that would be a nice thing if it could be used for more than just syntax and indentation.