From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iABrB0VJgWIwLAAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:41:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eLBcB0VJgWLlmQAA9RJhRA (envelope-from ) for ; Sun, 15 May 2022 20:41:09 +0200 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 CBC9C12264 for ; Sun, 15 May 2022 20:41:08 +0200 (CEST) Received: from localhost ([::1]:46152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqJAy-0004ma-0g for larch@yhetil.org; Sun, 15 May 2022 14:41:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqJ97-0001rB-Eo for guix-patches@gnu.org; Sun, 15 May 2022 14:39:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqJ97-0000CS-3r for guix-patches@gnu.org; Sun, 15 May 2022 14:39:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqJ97-0006fO-1t for guix-patches@gnu.org; Sun, 15 May 2022 14:39:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v6 26/27] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 18:39:13 +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: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.165263994825554 (code B ref 49946); Sun, 15 May 2022 18:39:13 +0000 Received: (at 49946) by debbugs.gnu.org; 15 May 2022 18:39:08 +0000 Received: from localhost ([127.0.0.1]:50708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ92-0006ds-8a for submit@debbugs.gnu.org; Sun, 15 May 2022 14:39:08 -0400 Received: from mout.gmx.net ([212.227.17.20]:35033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8k-0006YC-3M for 49946@debbugs.gnu.org; Sun, 15 May 2022 14:38:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652639924; bh=7NTaIGtcFq/iCfGpWV3zcOgFXnXsVcDerwnUrsVPyGI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QSNoskom65OTe2wukvJwlaknoy/6Gqju4D7YppcgYkKnjt9r5Hxj2RkGOshI7fX0w 0LXQLZScGYKE4hAZwU/aoxFPHVNEX3y9uu+HxMeTTL/rkw8+vQjmIxfrbiAgi2kaxm 1suvwFV04J3jnelMMzlTl2AWM02k60MEmH83QQWw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M3UZG-1nqrN0163u-000fdI; Sun, 15 May 2022 20:38:44 +0200 From: Pierre Langlois Date: Sun, 15 May 2022 19:38:33 +0100 Message-Id: <20220515183834.18771-26-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515183834.18771-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20220515183834.18771-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Az0wfarDMeEyomzrSEdUgfDSHzyIxyptFoU9B+JdQTyoXCcepko wTc53KdJFUesaAXKE4jjMdGcv20F1DUgZQ1nCLLEKJiEEZZUR4r7ZBZisw4tdFvZRpDbonV CzD9iHDTw+LTb2avNyl8H8S7aV16tGrEtu7gQCE/KVQj10Hom/I0GFNSXOKS52XH1jLt4pc Jk1NkSkoap0crF5jLTgHw== X-UI-Out-Filterresults: notjunk:1;V03:K0:j4/I1vKrxTY=:si2XHgSPhC+7jssWjtPzUA 8F2z5ezgq2e0g+kFuPZV8clS8frekgT/iUyHssgxGv4PDNyCZTezscAg+12cDn6v+prv7Aw0d Gitn83e3qkTsgGZEEBXCMbTb8CozeyX/bSBdNyaL5zWx94RBQyWkSzjBnXXHPa6KYZlO3ctzQ yaJnuuyvwAbz0rCHyFa7vvHam4RLwk0R2sklA5lppCIVepOZoowwgWnHH/3XPfa2lKCitEwkT srL/8DWVTUVA8OJZnXhDp+XbQpU0pifPE6V3qmasFkSJvSfI7dZMesQbVH+YuXKQDR6hHa439 w1vYoYqCL9uuQG4VK/OyndKDy8Bv6AQiVKRbm4fgFpX1EJ6Yl3RdSWNxZPNEZ6iOCYjk74gU6 XLJ3ShqpKwdGp0LLPV41F9PKxZesliBo5smYl374x8Z/5tg/ILz0LRPN52/n7N/2IS6UpTyaZ dQnrHK6bjy5ghh6skPF0d7NtxPxac82OWVc0KGzeBEtM+1L5zseH0ZjE0y5NtR+eoIShtDOZ/ pdAxtDkYhCefNhXSrsY5KimQqNRB4+eT29joXh0QuhzcHuxyyAotMu+V3gI9VKXmJxVYl5NTQ VanXH6FekGpwIXGvPTDsKC+VAk3UY6h6LOQce/TkzdMi1xI1xuj2yKCRdqZ/bP5WzaEHEtOeO BvbraB5ywf6n0KG9yqidj1qB8odhl1I4+rsyvy+9lcJDXkxRcjr7zzKyH66sTuutFtnwvZpkI aWU8lLSThxwiTcTzsiBzdLs/7/QSHzX0gzSnaSjK5x+8SotO7u9ByOqkgimwt+2Qsdron8agN S8LiuZp+mMW1w8eOOPZQsSUzIDzgWYPkmkOC8/aEz9uVa0VQbsLESN6Eqd2PEZ4eQfTKATqlK G73QB77YjgoXbhYNKuQqwP3yDL7RH9/e9B8+RiO9zUuVFRF6J3SQbPlQ9mBa3gdPe1hSMt2HT ZdnFODkMQPFYJjcggCcplzHSsqdYs3G4//dbhVJtUyg1lAkvHedf6K29MxwQXyUPDBxWZ7YRg EYpJ75Re87W0vhljaEc1E794j1RckmDs9OMYQ7TleSatI4aqY07HpT2Lx/fCQU8805rM/W63i nBPHna4wN6rAkw= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652640068; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=Wr1XCyYdmShkPUwqpq6Olm+E/EotjVX9w0ppR3V5yt4=; b=cRbaEy+riQ9RELcllPqjy4bcWE1NOOKO05GDDSc41xxWnxjDBzBzlmBbGcJJIFhBVOOwei 5pLfGG/SoiupjD4o5X1hnrEx7rjB5LSkAZHwkTzU6V/aa7F3NkC5rC+/yNdJq9bCulk1ZS fpuwrvCIGafbxzBoYyyhIAcnYkuds3vxP4jXqXKhKYtk+jimfWOVG3vAXC0IZNiajfMfk8 5S9ffXnMBjYnrbVobU5no0cp9hC56qALn1v4OdMrXMKj3M+HMfDmIr1qGjUx2ORqAQmmVL IC4aJuJGWC5f1OGSNCr2TIFwtIzCcVLDMJkq9qdBYrhn8ndIE2PUDEz5uzX+oA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652640068; a=rsa-sha256; cv=none; b=NhhGoCyIXBGnhiibFt7mSSRu0U2EflXMwpbxuW0TLgYdYUi4T2OvgsuQMoAepXAIdxYAvJ moTQjV2qSFf4JOqYhY8AxXuzf83h5xdk9aRH49+LFBQbno4XZahbwHD9s5jVXUY0ZYQIio uyGrP0JxTWUsegfppUOcnISzECfuilVPzBzGgz5QM5t2vdHV+Po2NSdJlO6Wa2r4jAAwi7 YbxHRrEqI2o7wJ3p2UjghtwXSLiBmTPMB3nD/jOY5t72SQiRsuauKMiUT9Qs+l5KUN2sWs nRSwu68TMUF97o5ouKLnz+TRwzGklq5AmHr4wGEEA/uBrM40kkhy7WYpL/plUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=QSNoskom; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.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: 7.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=QSNoskom; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.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: CBC9C12264 X-Spam-Score: 7.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: Chn6Zn7shMR4 * gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable. =2D-- gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 3e01474285..cb3f326367 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -770,3 +770,30 @@ (module (search-input-file inputs "/lib/tsc-dyn.so"))= ) (description "This package provides core APIs of the Emacs binding fo= r Tree-sitter, an incremental parsing system.") (license license:expat))) + +(define-public emacs-tree-sitter + (package + (name "emacs-tree-sitter") + (version (package-version emacs-tree-sitter-core)) + (source (package-source emacs-tree-sitter-core)) + (build-system emacs-build-system) + (propagated-inputs + (list emacs-tree-sitter-core)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "lisp")))))) + (home-page "https://github.com/emacs-tree-sitter/elisp-tree-sitter") + (synopsis "Tree-sitter bindings for Emacs Lisp") + (description "This package provides Emacs bindings for Tree-sitter, a= n +incremental parsing library. It aims to be the foundation for a new bree= d of +Emacs packages that understand code structurally. For example: + +@enumerate +@item Faster, fine-grained code highlighting. +@item More flexible code folding. +@item Structural editing (like Paredit, or even better) for non-Lisp code= . +@item More informative indexing for imenu. +@end enumerate") + (license license:expat))) =2D- 2.36.0