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:45:24 +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> <87bl6kezgu.fsf@telefonica.net> <83fsvvrjge.fsf@gnu.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="20588"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 30 17:46:37 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 1m9UiZ-000563-Hj for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Jul 2021 17:46:37 +0200 Original-Received: from localhost ([::1]:49634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9UiY-0002Tm-7s for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Jul 2021 11:46:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9UhW-00018v-VB for emacs-devel@gnu.org; Fri, 30 Jul 2021 11:45:30 -0400 Original-Received: from mail-am7eur06olkn2064.outbound.protection.outlook.com ([40.92.16.64]:33536 helo=EUR06-AM7-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 1m9UhU-0002TQ-Ty; Fri, 30 Jul 2021 11:45:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NOCG6AZcgwa1Bk9bztsLiRuLZG4It7I/i0G62LPOCCuRQEWEqgmUywMpc8vW2WrvzLRnD/Qc7ETrIXYzJtUlz6aKOBqWDGYwXx0N9rIbeREKJpOhelhY/gnoSMdYTopk2LA712pJ/iNfygfHakQsdJtFkQTiVsGkoh3zl+0yGQUw6yNcwTNPN3SnnrGeNZCTgUhr6ovIugugF7MWbI8faepuaatcGAmmnR/3UyDV9t865p18b77wKGC1FeISPKJ0B25QrtQpmHlsjcN2E4KKN+O9RHcCVRoDa9etm5ZGJYTm3weDcNWIDumM3xuw5IvxLznjsAnzSV9FsqccvZiRaw== 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=E9MVD+9sN9EaLYIkSsaGehQ1wuZLA+17SWA2w9vjy9E=; b=eZr5pp3gUGv8aJZgLNzNsFVKGw3uN+h1S2Vy7CboHv8sMgElfeSoJ0Z9bWyzT/DZUqzxj5VUtkd3Qj52aQ7R2Wm7gm5FoAlMi+L6FHctfahtbdHpqtscQTGuESm9aUoCifomD++cZp2UxlHnwK9UL+T5AVbicY6S20H0rNU2dTT3Sgya4D8jsKhLiQfapSc8bM9R+ZlGAt+V7hc60s6iCx65SWve4DAKvQ1lSL6YFQuxRZJDgEGgXjW4BhkykXTnmZmNA0NEsXt/DVlFeEyfbyCV860hjmKy/2akSqH1hs+RwAOzlC1TyEH20KVX8UkuLIgLkbUXN0h8YYr2R/SPcg== 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=E9MVD+9sN9EaLYIkSsaGehQ1wuZLA+17SWA2w9vjy9E=; b=rt47JItMnLKBOdc1YF/M/la/iQyOjV1vK+/LbM5CoYx1o7jeSmkU1tIgEmmAJQE5Z8ECB5iv11DFAqOPaMZZOkonmVmgkCE+bu+73UinZjCsJ/BKYuTrqF9olWMiTqUJuBoupIoVktRc3ey0ToeaG5mo/CGiQ6T8h6nX+4phUOKQpfbN7owCP5MIqOCKdhSkq+x4h4PJKp00Fs6DOHsONSBag/7E+mgVGaI5Dx2471viGRYUytvALUiYb9sqW23hNMT9EjJ8PHjCR4Hkz0U11hQxPOaRP5drajef0w+i9z6ag1RCMmmisZ9nIAnFM4b/zORxtyU0Bgh7jDVz09/4uw== Original-Received: from VI1EUR06FT034.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::48) by VI1EUR06HT051.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::227) 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:45:24 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc37::4c) by VI1EUR06FT034.mail.protection.outlook.com (2a01:111:e400:fc37::148) 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:45:24 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:F37AA4A912DD654332D892BEC6ED4E3EA39C2DFAE7956F9242909E32BACBA5E0; UpperCasedChecksum:F2D4E4060A231466DE2B1E1A49431C891FE6D232F2A7C3BDC1CBDEFF55D3A3EF; SizeAsReceived:7829; 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:45:24 +0000 In-Reply-To: <83fsvvrjge.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Jul 2021 16:59:29 +0300") X-TMN: [LRjo7bb79UtwPnTvQvOq+FfgsXgQKVcV] X-ClientProxiedBy: AS8PR05CA0025.eurprd05.prod.outlook.com (2603:10a6:20b:311::30) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87lf5niz57.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AS8PR05CA0025.eurprd05.prod.outlook.com (2603:10a6:20b:311::30) 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:45:24 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4894c5ee-6046-4907-ed87-08d953710bd0 X-MS-TrafficTypeDiagnostic: VI1EUR06HT051: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ew811ww4DLqZNuo4OC6qk1CcafgZQgO9wygx1WZQa/pZFtvhSvURU3FMAbI7y9ctVP5f92MdF3ZrcbUuN87HgGh3tVEGKO4xwGuEw+2HCEyerHRRFQsx6q9IS5OoJLsEXxHR4Tj3UhY3ISVBvgtut7Mw7oqqFlQoQe1IuOmfzPu/JTZn6czLPJ8WLEuuZXFnjmRsZHmdwJG5hGCjuRVK0H6oIoGSGXj3f58OMXpBnuTl/luR0Evsie52S7mVcUUz7gXSr9+Fh///mIGl/8w2lA8AS13y0E+6ZztX4ozDV1w1Rrr9SJAmWJTAjARJcin15QzATtRdgy3dOWqH25E7dCMn9sH35xOdlwJ/Q6rWnw+iztW+dE0psteyfmkQc9iQXEvGhdbdSaQ8ha/7SLfMSxaDsxg3E8qxxBhdnmsUUcB8kOeQA8Q1+NGmGDZ2Qp17 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Td7vUgTMfeO3fo2XKEUG4T0J0+T//jdy5YpeMolsnwmtM5cJW5CrgtzzNMNcV46BuEi54Jxz5NVuI8Bt7I67tBLXmEyqtsDveQozKXUmcUoacusWeb1WOr0K9RVc13+ZVz+i8RqdIJuKg8E/yslcrQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4894c5ee-6046-4907-ed87-08d953710bd0 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2021 15:45:24.7981 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR06FT034.eop-eur06.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: VI1EUR06HT051 Received-SPF: pass client-ip=40.92.16.64; envelope-from=arthur.miller@live.com; helo=EUR06-AM7-obe.outbound.protection.outlook.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, 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:271854 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Date: Fri, 30 Jul 2021 15:30:42 +0200 >> Cc: emacs-devel@gnu.org >> >> > and also about >> > decreasing the maintenance load. >> Sure, but it is also a limitation. If Emacs will rely on TS maintainers >> to create new grammars and update existing ones when language changes, >> it means Emacs users will have to wait for changes until they are >> fixed upstream, similar as how gnu/linux distros work regarding >> packaging. > > We have the same "problem" with every other library we use: the image > libraries, GnuTLS, HarfBuzz, etc. > > Besides, TS is used by quite a few projects, so how long do you think > it will take for serious problems in language support to be fixed? Yes, I understand that, I didn't meant so much problems as general configurability after pesonal preferences and extendability. That is what people seem to praise on Reddit when it comes to Emacs. > OTOH, take a look at some places in Emacs that don't have active > maintainers: problems there sometimes take forever to fix. This is > what happens when a project wants to control everything in its domain, > but lacks manpower for doing so. > > It is not reasonable to expect Emacs to have experts on board for > parsing every language on the face of Earth. It won't work. > >> I don't know, I am maybe overly sceptical to TS; I don't mean it is a >> bad package, and I am sure it has it's place in other editors, I am just >> not sure how it fits in Emacs where everything is easily configurable >> and extensible. > > Not everything. Again, take the other optional libraries we use as > examples: they cannot be extended inside Emacs. TS is a bit special library since it hooks into a part of Emacs that people do extend often but I do understand it is just a library that adds some extra value like the others. I guess you are correct about its popularity among other projects, that might do work for Emacs indeed. As Ergus pointed out it will bring lots out of the box to many people, so I guess it is a win at least in that section. Thanks for the answer.