From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qLmvEXuWJmI2fwEAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 00:34:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ME0AD3uWJmLtpwAA9RJhRA (envelope-from ) for ; Tue, 08 Mar 2022 00:34:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D593CC70D for ; Tue, 8 Mar 2022 00:34:18 +0100 (CET) Received: from localhost ([::1]:48564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRMrp-0000LQ-MF for larch@yhetil.org; Mon, 07 Mar 2022 18:34:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRMri-0000IW-8C for guix-patches@gnu.org; Mon, 07 Mar 2022 18:34:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRMrZ-00043L-V4 for guix-patches@gnu.org; Mon, 07 Mar 2022 18:34:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRMrZ-0008Eu-NS for guix-patches@gnu.org; Mon, 07 Mar 2022 18:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 00/26] gnu: Add tree-sitter for emacs (and neovim as well?). Resent-From: Luis Henrique Gomes Higino Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Mar 2022 23:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Langlois Cc: 49946@debbugs.gnu.org Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.164669603131656 (code B ref 49946); Mon, 07 Mar 2022 23:34:01 +0000 Received: (at 49946) by debbugs.gnu.org; 7 Mar 2022 23:33:51 +0000 Received: from localhost ([127.0.0.1]:54828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRMrP-0008EW-5A for submit@debbugs.gnu.org; Mon, 07 Mar 2022 18:33:51 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:42626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRMrM-0008EI-VD for 49946@debbugs.gnu.org; Mon, 07 Mar 2022 18:33:49 -0500 Received: by mail-oi1-f181.google.com with SMTP id q189so1410745oia.9 for <49946@debbugs.gnu.org>; Mon, 07 Mar 2022 15:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=DQGcWtddXt2Z8VYkjgAubREwUK1Rn+ThR1H5GsCDR3E=; b=Dzf30nD92Z/SI1jdYAZP4c28DgH6HCJz4sf7IRAeE9BE+9Kn74JvChYSWacCsYMzRi tD2h85zjLC6yf5+LJnbw29evztK1ZsBz/QmdouMrH4WXAkz90q5hnjShMM7cvV9ntOxD x1EWNlONwq0LFu3npEPNxwafMUSpDNnO+yNKDgY+GZhuGUmQYtE3Sd6Sde5nKIvdmMMG Q2/Agu61v98YFLY8iizJESfrFKI14wMW72ShQLaGNlM+lPE9ycxSGlxiVgrb8f52FIPP vfByhzXAqrtYqHXdDiGCPQpk1WVWc2NgoauX5BMjO2kIhaI+i8xubk3oHArggZJLexPg es5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=DQGcWtddXt2Z8VYkjgAubREwUK1Rn+ThR1H5GsCDR3E=; b=56XXjiha4QsTv+OhVXG3gWy9DLKSaWvRUH1KgS0B/V3VzDD8Ph+qPT8olwTEUSetgi BFGyXuy/nuhHuEa0c+ZLeE5944cPGRs1gQrl2B37NzuZcf/gBTRf6nTLESxDJIwR8Xg6 x0+VvqGKzC4KJ4FSFgXDCyrlUN3RM/P1E6VDlPfCp5szzc1XUGOiyz6waidHgiRHzVXs KzBXOSJzZQUVnxY7IHdp3YU1SQG58F1RbsWAamJw48Q942U9p7xdMTXSmblIG87KpGV2 YedY7Lpg+ZMxrtUYGdo7tjIRG5pJ/zf4Jd6PJGUC8+nSkGLBlnqNvaS8M85XrjdhDWPV 2s1Q== X-Gm-Message-State: AOAM5321CTJO/ReZHLmc5pbcH3CnAfwEwJqV3CfoOD5RwJ2jNG3eYRxK MC7YTOL6dfBi3r+JTUAuj5bRJS3+bEAjCQ== X-Google-Smtp-Source: ABdhPJz+TQ1uuBC4TBWyh3/uBooORORcZVh+fPtU+p3WMDZBM23v5qxSBAMl66B8yEjYdNBznOIqFQ== X-Received: by 2002:a05:6808:1919:b0:2d7:9ad6:7e4a with SMTP id bf25-20020a056808191900b002d79ad67e4amr914627oib.42.1646696023003; Mon, 07 Mar 2022 15:33:43 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id y2-20020a056808130200b002d542a72882sm7460554oiv.3.2022.03.07.15.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 15:33:42 -0800 (PST) References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> <20210808233354.6745-7-pierre.langlois@gmx.com> <87czpwzg9e.fsf@gmx.com> <87leyinxly.fsf@gmx.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino Date: Mon, 07 Mar 2022 15:30:21 -0300 In-reply-to: <87leyinxly.fsf@gmx.com> Message-ID: <87lexl1goc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646696059; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=DQGcWtddXt2Z8VYkjgAubREwUK1Rn+ThR1H5GsCDR3E=; b=pZydTs+/WlrCwZBiK9sgz1e6m6AwT8cvtKKA9vpnKdzqOTWEPqzgPM2aL2MG7ijqaLb9ZO KLGDmcDqoHBbkSg8nDrJGYlErvtx2lHkC6pglzcEJ4LXU7DVszkFXg4APNdcQHvTgwqhlW MkADFdjOK+cRdXFjrn2VqEwOW+ZGEfPb5/wMt4zRZqojsTuJq/a4osDXNAZffNrzzXhMzw JOdLx1BS0qLEwU64UvpcDjrmiDV7t3klPSnAL4/e+s9qNc1bAJ9w0neJ7E6kczEdcENBK2 5OiNGh1fhH42Ewi6o8kyyeYnudowiKzmZTUWJT1B5v9vQrnIlIyzKEdCqvGHJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646696059; a=rsa-sha256; cv=none; b=sErEdg50d1/Be5eRaQfTx6Eo+c8YI9qLnzrx9vSKVUO73xkr4K0Atv+DxH7O8LQ66GwaDk zkpRUQtkt+sJovG5xnTnFCJv1ovGZUKPqPpsclxuhckxbGuU6uZNWeN9pcw3C0Wrk6NneU lqlT7KdRUyY15r30XvSgFPvZRUz23jhfF16zKZKhRBrlx9CfsH1p5te7QaqxjYXfLJg5NS APOQMw01BsJt50lrwe2xqxpGUpi0Vp2CdfhuVAOjSPi5a67QFeZuCiimMOHHxF1YmZiohd lSzgNH0iRgMbuLfTApQkkvVkrqJbTysFc0s6F2QXX6guDM/NVeL0HGyBUp0THA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Dzf30nD9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Dzf30nD9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D593CC70D X-Spam-Score: 4.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5UWxNzOZrkEj Hi Guix, Hi Pierre, I apologize for my delay, the last few weeks were quite busy :-/. Pierre Langlois writes: > I'm sharing it early as a WIP first, as I just noticed the other > day > that Luis also contributed a patches for tree-sitter for > neovim[0]. The > series I have here is quite a lot bigger though so I'm happy to > rebase > it on top of yours, Luis :-). The package I had for tree-sitter > looks > basically the same, I would then move it to a new file with all > tree-sitter related packages, if you're happy with that. That's OK by me! > So I'm wondering, are these tree-sitter grammar packages also > useful for > the neovim package for tree-sitter? I'm not exactly sure about this. Currently, most Neovim users install their grammars through the installer included in https://github.com/nvim-treesitter/nvim-treesitter. That ensures the user gets the version that is ABI compatible with nvim-treesitter. That makes me uncertain if we could use the same grammar packages for Neovim and Emacs, at least for now. > I do wonder if I'm going about it the right way for Guix though, > for > instance I'm wondering if I should rewrite the grammar packages > using a > new custom build system, do people think it would be worth it? > That > could be done as a follow-up of course. I'm not a very experienced packager myself, but from what I saw in your patch, it seems rather unnecessary, as the grammar packages are very simple. -- Luis H. Higino