From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QEtWKAPh42O+zwAAbAwnHQ (envelope-from ) for ; Wed, 08 Feb 2023 18:50:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SA9EKAPh42MWDAEA9RJhRA (envelope-from ) for ; Wed, 08 Feb 2023 18:50:59 +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 3A1A71C723 for ; Wed, 8 Feb 2023 18:50:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPoaM-0000eh-CZ; Wed, 08 Feb 2023 12:50:22 -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 1pPoaL-0000eR-7o for guix-devel@gnu.org; Wed, 08 Feb 2023 12:50:21 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pPoaH-0006K7-LX for guix-devel@gnu.org; Wed, 08 Feb 2023 12:50:19 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4PBnZh444Yz9sRt; Wed, 8 Feb 2023 18:50:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; t=1675878604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sCxcIAx6+kVofygf2cWx7P05UW3yT3XJskOVowIm2ic=; b=d0uZgG/YxSuL9ERu34yJq8Gu79UowGe0VIguLRA/3NymPmjQr4eLQQjlYH5pshCLcjrNOx G/Yw/vNiLrV1spuaEq2JuK/fOK/Jv8coKrDTdPZRFJ5Gp/BXBhG3jwt2IuyOanIC0PP0O3 P/1wEGChABwZcziwJ0zn7Rr41JpxRx/6vPLnREQ5XR9bnnFF8vWnaal6HwwHHLqtYVJ2Lr M/jX/KrPiCvHj7F1xKMPkw/aBx02CtzQT4JCQIPWWJLjaMtrBwu1bd8UMoV72EvVvHItVs Qx8UmwqgZ+Wf1y6TupQJWw2ezjMBjjOR4i0dyQ0LAjohth5IokdjNzV/zuxt3Q== From: Demis Balbach To: Simon Tournier , guix-devel@gnu.org Cc: andrew@trop.in Subject: Re: Getting tree-sitter grammars in Guix In-Reply-To: <87wn4uiu3m.fsf@gmail.com> References: <87h6wycn8f.fsf@minikn.xyz> <86fsc21sw0.fsf@gmail.com> <87ilghfcxv.fsf@minikn.xyz> <87wn4uiu3m.fsf@gmail.com> Date: Wed, 08 Feb 2023 18:50:00 +0100 Message-ID: <87y1p8nj1z.fsf@minikn.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4PBnZh444Yz9sRt Received-SPF: none client-ip=2001:67c:2050:0:465::103; envelope-from=db@minikn.xyz; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=minikn.xyz header.s=MBO0001 header.b="d0uZgG/Y"; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675878659; a=rsa-sha256; cv=none; b=Da7qI0oJT8kN1MpfaI4NZ4fRMGKLki4A7xYkq9ApOKDk+jl5RicZWGS5/dbLK2VvL/lEYx AydUujbNoAbs4jhk9Tai9Kj8yIWxxnsklk3oUhRTSV++9UPUKMLHr8JK8Y8dgxuNcBcbxX 4Vf5XYlopFfMUOTcVk60YYsuiWDXXeDwzMmButtqCRCQdnA/sTZKyfzmmvMGHw0FcIb7Ow 6f1MB0tuuD/horgoWP5+KuCvJoUzRdGo/80Im4Hgo7lSKP4lQbIM1Krq/VS6CtxpxteHX8 Y5en3AQ9gK1UsPDLbiO9FESUTbLEim3qRZgw4k6wXsGrI3IVD6t/lJgAN2+q0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675878659; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sCxcIAx6+kVofygf2cWx7P05UW3yT3XJskOVowIm2ic=; b=OGCm8fdseQh7Z/Q/txEWpMEGrnpbQWDzexDuGgqS36BCU+RfY9IEGV0fHlMkFTvZSVKKGu ZejdCtwcRxuTAwLHjevx186ofyuI/r6slj4ATX0iiTvk8qmjpUsCobN0rAjSDXaniLjUC6 Dfz0ul3MrEYH63p93wJGcpA9DMx274ZX3K10fp9awaUl2Mc6dIsO5GkE4au1rhmF8mX031 ZMaAg+aDG83DuGCHCTumlD+T/UucCHypvfTViINT23uym+ENirReyl6NvHxK11qX+kThJ2 Pb7JIJaKbTykPY2dq7IWuUOYHbAO/8qSXRH3AN6GbbIj8POMZeIoGRX5nJ7odQ== X-Migadu-Queue-Id: 3A1A71C723 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=minikn.xyz header.s=MBO0001 header.b="d0uZgG/Y"; 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=none X-Migadu-Spam-Score: -13.40 X-Spam-Score: -13.40 X-TUID: rK9ZryEDe+47 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-02-06 18:25, Simon Tournier wrote: > 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. > > Cheers, > simon Hello Simon, as far as I understand emacs is already packaged with tree-sitter support in Guix (I didn't know this when I wrote my last message). Regarding packaging emacs packages that leverage tree-sitter, one just has to provide the correct emacs version as an argument, like: =2D-8<---------------cut here---------------start------------->8--- ;; ... (arguments `(#:emacs ,emacs-next-pgtk ;; ... )) =2D-8<---------------cut here---------------end--------------->8--- Thanks to Andrew Troping for showing me that. =2D-=20 Best regards / Mit freundlichen Gr=C3=BC=C3=9Fen, Demis Balbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEz9zHmXzCRksxyCGU8X3bmMw8QFwFAmPj4MgACgkQ8X3bmMw8 QFw6gRAAmthtQlPTkJGgIecnrWZuTQ5u3mxXggTbQNSsDOao2of/pe3eUFxKvTST b/VYANX1KKs8J9X8M+hez6Pkb8DAJzJUeA7iTKAMF0TYPXYOTky14nUOGUE+0S5J gu4oCqOYGLoE4XJfKNN+JP9oBW7rfni7myjDM7thPXyldAvzmdboG6ktC5IAglxA cAhdd2iIKRHRm1tIB934uQH1rzEHRrl7G5edYLDqJM4dV7wak/K1GIS1I4olIGn+ dV8SY9WFu0UeuYsez258R25VoXfY/l+f2mqjLEMmLLUdGKiJJDRiq1Cgzusqol0g xqxs3vKE75LYyyoKt/ZXehfAxCeSyIExQoh/W7AR8jJtnhNdOF92R29ZBI5vq7zU 0r7nKHFtNb11pJreyu4tqDT63keyIyLmZcw7ndTefdoo0qifaXuY+r8cGdyPL9Lh BxWXe6BA0B/5S1ZmkkApreCxDRup0pMFRcJCzRNIbUA6+Z049n0X/kONkv7M+VBt MDwbEjtWaMzOa8T1BHV3iGjuMDhrVZf49f486ubJD3UEH1BoktWWy+DnwS/mrygW f427PXS0RhMwBVQ13FDDbuUujFsAWVNWgBey3aaBkRXhU63cpaaFgxywYltn+zmp cfP6q4UYYpdzoRm8IxwsnwjZG/WAN+RPXdfZIrBVN2xra7XBIHs= =uql2 -----END PGP SIGNATURE----- --=-=-=--