From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SDZ8KBhiQ2KHnwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:46:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YF5dJRhiQ2LBygAAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 21:46:32 +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 72ECE18F37 for ; Tue, 29 Mar 2022 21:46:32 +0200 (CEST) Received: from localhost ([::1]:39022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHnT-0006u6-AV for larch@yhetil.org; Tue, 29 Mar 2022 15:46:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHlD-0003nA-UR for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHlD-0001FD-Kr for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHlD-00050K-Hf for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 26/27] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44:11 +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.164858303919048 (code B ref 49946); Tue, 29 Mar 2022 19:44:11 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:59 +0000 Received: from localhost ([127.0.0.1]:33628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHl1-0004x4-44 for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:59 -0400 Received: from mout.gmx.net ([212.227.17.21]:42083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHku-0004t1-BW for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583026; bh=525mH+dn0RXlrGG5VID0A1lLoSuzIJ3VLKccSsabruQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=NReFZxTTepinqB9eppydHKvKmiIdLgeBGIPk4VH3gQJSriKbQ+xjPIa095ZBwZEAp otTttxN4Txn7iSVKaeJi8YGHSyiTYpgtvF9WxNQEgOfCJRBVSfWTV/J0Mr158D4o4C kJl0RARrB6Cn0K1TbJIfkLQHP7qgxhVheIgbNj9M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N95iR-1o4Pob1qD9-01691j; Tue, 29 Mar 2022 21:43:46 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:43:17 +0100 Message-Id: <20220329194318.6106-27-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220329194318.6106-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220329194318.6106-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:7gA4uA3zbXy8osHFCchhPdfVYKvq3gmPKbbSHnHLVgVsByDT345 TMPAJ8aaB56liXU2Zy/keoSs3bXLevlCAmqIW9n7nhADrDyYDTg+7VcUktl+NHgE1TohkSY yt8vZN3y+HQX2ge/BvKXkE8u4edj1N0CxjBY/susqPyXkIjNm2RfXnTsh5hzVV+/pSkvGoC y2uYfaUpAdiSn8Rz/BX+A== X-UI-Out-Filterresults: notjunk:1;V03:K0:5KRsHXisPpg=:hjzH2Ah7oXn8Gz1U0kWusN YZgKRkqkpu2FuVunCK0f9VMmSj5okJpElLcqNP3nSOPfEVJWaORHAgyaxKJISU6Ycwud3WBwO W1FeGBz9GhYGDU3Xgoo71HryT9j6Uf5GI+Rnu/cbR4zCE8Mr7DNdYlR/wDMwg3CB6GwI8fin/ mBeQqNuZGF6dJst9etO+3mnIorIVQOimgDdEi6VZP9k41ai7g7VI6oiTULTcg6lUTN0CRCIJo bV1Gskh40dtethr583LsIUbMKW4OKTIKrdCwZPcc3GAgZx9OYsbyBb3FO7ymGAVy0MPFcFkad 2hH3m4RVLpo2barSSDHJKpwI9KA/oEt4DfEwMo0X9epxs3oViQ3SuvhhSUu8ngGcTWluJ7A5W wW95tKr8xtrIbj7qgF6FN1EcLj1kiYSCA0IIp0Sdy1yFEJ4t9V9svkseAADG9iXXoHWMg8rqB F8cfOtSsmeX8WCmGV+GfYf1OzHqA56ImaUibHgi8kdrAwCaWeZ1IZoyh+oUsCEfA17bholC8g Aov8G1elX2ApeBTSSah/OMMED/Un9mbQoYmtZQv5sQfHmpAqNrIwIUtosU43glRrch6d0QT9J ny1rDPUXY7l+cSjyl9+6PkH9mcLZY3oxpJl/clvSfyaqt9xKJOtsS7ND5Lc/2XCK630sCLLW3 hNK/7Rrdnh5b8bL21/rWcS9uLotnwybwUsIQBq1tnPUFgYJsIHzGnx3pC5Rd/Za/4E2fsduv7 qqvt9MVtDscNkLVDTUe9wKeIo/oI7Dc9ZN5odDHiTdZUGv/KHLRLhqDNgNx/JXVi/CUkQ7HLg yERi0rNbC2KYr0c8B3kDf2VKBk9cXw+nsvsxppi8zLrW9aUUnEPy4hC0lMKa01xTXybN+nBLE 1qE4e0cXon+UfePphA34hI0kNzb+DR1ZM8bO4OQEoDSzxVp7OQ6JHLtmL2IAUpsRIGpgajv2Z 8PxkJOceZiyNeNu+8Mw92iD00Ph8Eieh9N8zOeap+xd/9lVaP7GHiYDgfDqbtM5pjE3YZTTb4 aK7UDpSrfw4Bw3e+DdE7YsWwN83zWO3WBgyE+oJ08WOTzQ7ENQTj6QwEI9zzwTzjaggd+mAPW YvWEnNRXVuoQfU= 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=1648583192; 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=h3sQPNAjTF3ijlYmQ7bRQV3WtJuOd5AVniVZBj7HCso=; b=f0kERiK9n33Vjq7N8iKo02yOjrS4p02k9qI4SzfxdRSEdoti3DLTypFqNw/uCha2LWFx+3 2dz2vbe+ESjhy8akX5AtACygmK+AIa4zocgJ3YXVP7I+uFUSeIJ8pjy6Vf9dICtICfiK61 SVTstQ606qbgQmBF1O7SDsUzEgITlgK8nmVaD/cukOIAGBu1oCakLqXy/jCwmFkwt456E+ Pgw1JPXP9VpXpUp8V/f3HM3cuUdn4oIfhv0JE+OexJNN7m2pXsQU9l6xMD8gQ+dvtgNDdy qpRbzyVnFjvGZFOFfmOimhSF/vkxerEs3yu7viRGItYS0dtI7e6uGESed4DnlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583192; a=rsa-sha256; cv=none; b=TqNbkH0z2NvML/mfTDHLKtn0XTecEqLla0Ozf3Wj4jLUmKUGf2ov2+DBSGAGlAYuxO1zOr KDi5VP5OlTafb5qXzaPkYcls7D1L2AQUYTDUYgBn8Ct6VAIKbl/7GfSqmPJBpCfcuFiBVn V4Tg5fRxvk6A3hx/WkyeSmPGHLV122RrJyHSmJEKYeVMDjcS2tKmOTW1TS+UmDbAZ6Cs8f gKFzhiSQqI7EbMkXKYrHJNHQ46c8njX14Rb7vGmNaW9i0eQynfmiB89IuQmuYjUQSBn4ke bKac32xvomVe/diRuqfUXi/jC2AB7UQ7vXfsmamDz9g4P6jJrbWERf0a/eaM9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NReFZxTT; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NReFZxTT; 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: 72ECE18F37 X-Spam-Score: 7.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7EsvbA9g8sG7 * 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 fb3d13b3c7..97a20494ec 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -766,3 +766,30 @@ (module (string-append (assoc-ref inputs "tree-sitter= -emacs-module") (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.34.0