From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UFaWLDNs4WPyAQAAbAwnHQ (envelope-from ) for ; Mon, 06 Feb 2023 22:08:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YCmqKzNs4WMIygAAG6o9tA (envelope-from ) for ; Mon, 06 Feb 2023 22:08:03 +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 80CFC3B7D2 for ; Mon, 6 Feb 2023 22:08:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP8iD-0007sQ-LG; Mon, 06 Feb 2023 16:07:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8iC-0007sF-Co for guix-devel@gnu.org; Mon, 06 Feb 2023 16:07:40 -0500 Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8i6-0005sb-Sw for guix-devel@gnu.org; Mon, 06 Feb 2023 16:07:39 -0500 Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MrhQC-1oml5q2B6a-00njWr; Mon, 06 Feb 2023 22:07:30 +0100 References: <87h6wycn8f.fsf@minikn.xyz> <86fsc21sw0.fsf@gmail.com> <87ilghfcxv.fsf@minikn.xyz> <87wn4uiu3m.fsf@gmail.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Pierre Langlois To: Simon Tournier Cc: Demis Balbach , andrew@trop.in, guix-devel@gnu.org Subject: Re: Getting tree-sitter grammars in Guix Date: Mon, 06 Feb 2023 21:01:32 +0000 In-reply-to: <87wn4uiu3m.fsf@gmail.com> Message-ID: <87edr2zeni.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fFzO/zFzikaysXt6fc9PuWMokNXHXuDrI0fdGM6SqqIPmWWt9cB dU/BUTZMw2myMKuSzm4S5xeh7HIlzEcHqVWPgv2BYbiZeR1oDDfNUECuMYpym9t9wF6XnDu 3kW1j7+LbLX3bTBSiwvefhZewaNTpkN2icNWwuokXEmUPb7MVKZr6gjDQm+gv5Xc2S5tQ91 bXm8MIpc9GrIuoUEkLM3g== UI-OutboundReport: notjunk:1;M01:P0:uDlNidIveLo=;bGATvlG6xvZ4Jzda0dxrB4qVNUU Ir36P5ylqZOdqqkt7Kr7Xrz0x6qZJmalhOxuFKswRFfGR+9lhfawzOtukad6/qHe7puw7X5gg qEQzOcUIVNyL7duAJ8t6zbII7GebX/X/wjTbAP3Az8RXRJikUSp/+hb2jHQHQznMcLQYhyEL4 PQUNTivcUfT1CDVP7SNYpCZtdmUEiEASP52YS8ZGsC2cMlyy5YI9zYZCKlrWWaqWv4XUIUtaT aVFqk6pax0BFxbTzHMo++pzyO72PvZeql5WfuofUNKFms4w4+klHQKGp6upaPrG1x1oLN632B ZQr7NnneN/auvgyTk3SdYmhu8g5KhJRiQJkac00TYg6kLfMVnLOyn5SbRUu41E6Q4tZkXjFMb 9taZkz8fwXWfcwZhC6SLmVMDZeNCdDGIka33T38ljTxU2eLK9dTl80IjBDJz49pIk5Rw81IPW BHNFD4JuVV2JLG8FDDTIlqmBCPPqYQZE5m3TnqRUxODcyfOBCeQT6qM8Pmy9ctCxe3RxKbd3n z9k52nVt7i+Eyp5iQiDXtF830Bmbl1cPRS5m42mJCZduEfCl1eXXymLqW66k+3z6G+iGA0Wk5 hbhPuu6JzyOfMbXzzdTqFbLT9FOnPE3HQy4OF8KA/jPqyekf3hsfxUTOMphxiV1oxqubtYSzl 3x4L/IV78B3kuWtT9wsa3CXu3HY+aXQziDG3ltNQPQRtWSKJbevC5e06v8AxiAOxmOsNeLnGn kSgyfXqZXXwmtGBaxabScx2S6D3ikkOgthzh8MZ3E+yfDvU7rdeXMwMiInCuTrLki0sMvdsIb oj7YyXU7C6Q/XuTUWP+MUydOkRVFLz9VHx4qCoBrPCqFmxhUoN0C2djnjV0xJs6MrAHwZ/ppW k2/lCHFZQXFnwmtujaP4r/Bj7KAQjdAEAEgzqVKU/fb5MeCY3scDeOB4vc8wTPicidvawPcPc BbewOn2DmFcBdNC/nVasR+b22bo= Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675717683; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3pOLxbpGUKdsRUvTr8Ej8liVaTrGMDrz3NeZDKNPsM4=; b=BZnxdMRkLIQLkbTetpty1yPMQ8WgCFU5d7Y5MsCGwypYXZc9gQxMhd8Z7JmIvSbZwSE/fg TvSQxqdtbtWEqruo3cE9dW+aV6KKnBarMJGP74OUSJYHfB/2bDiboGaGaFU3cNSDkvKKhs WJlHHzJhqXwQ9ntElVR738gDTMd1206JErf0j4hQlEIcq7+lRQOKr2XGKgt3139l51rvBn r4IeNIfgmf32iqG/osdlC4Mn+DgmiCzkZ/riulL7w8bXYM3N8bL6w6gqM/wswUnCIzt1l8 GQ2R3ZY09b8ArtJ034YpZrn5AYRw/2VaEK/FOS4W+jiJ5L4+WtcECyvmthKlSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675717683; a=rsa-sha256; cv=none; b=KaS1Xg8jOpiIcI98z9jNTW+Us6dpni/YimBxbaOlzHuymVfzwzLMM75BQtI9NE4I5tJ7BV 5TT5z+EMUmTGmNfkHKkKaMwmdN+ogWiZSFgcuU8JwBXh3byObC8llv3WBfTD4jsrNTQwR/ UgNCZ05wMU4i7N0/+bWbFv9nOTrDSLdmFk5G+AUmS71X0nH3y6yJxaL1FQ570vrke9Wezu Ro4n+DhEE/Mxi/sxORSbvsIeqfXsMbek7RQQquqe25v411pRi9wdl9W+7vU5tWGhg25Sd7 GRSWzWGiVNcVqmZ6vwBtMkA2Av8U1hvQdRSIpx1bz4ZyJSI1OwRikjpGflOJHA== X-Migadu-Spam-Score: -2.49 X-Spam-Score: -2.49 X-Migadu-Queue-Id: 80CFC3B7D2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) X-TUID: 11z4vQLYlHLH Hi all! Simon Tournier writes: > Hi, > > On sam., 04 f=C3=A9vr. 2023 at 20:27, Demis Balbach wrote: > >> My understanding is that I need to provide emacs with tree-sitter >> support as an input for this to work, which I did, but it'll fail with >> >> --8<---------------cut here---------------start------------->8--- >> Debugger entered--Lisp error: (file-missing "Cannot open load file" "No = such file or directory" "treesit") >> --8<---------------cut here---------------end--------------->8--- >> >> Maybe someone can help me here. I tried looking at other package >> definitions, but I don't know if there are any emacs packages that >> require tree-sitter packaged in Guix yet. > > Could you share your definition of Emacs variant allowing tree-sitter? > > Please note it is not clear for me if the tree-sitter parsers should be > provided by Guix since 1. they are auto-generated and so it is against > the effort to debootstrap and 2. they are often very large. Seeing this discussion just now, you'll probably want to take a look at the series I've been working on which addresses this (at least I hope so, reviews on the source-only bootstrapping welcome!). https://issues.guix.gnu.org/49946#215 I still need to work on it and address feedback, however I've not had any time for Guix the last couple of months. Hope this helps avoid work duplication! If people need this work in sonner than later and I'm not able to see it through in time, I'm happy for someone else to pick it up. Although hopefully I'll have some time next weekend. Thanks! Pierre > > Cheers, > simon