From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wB53Im2ZBWKMXgEAgWs5BA (envelope-from ) for ; Fri, 11 Feb 2022 00:02:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4IhJG22ZBWITLQEAG6o9tA (envelope-from ) for ; Fri, 11 Feb 2022 00:02:05 +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 0486C2FE67 for ; Fri, 11 Feb 2022 00:02:03 +0100 (CET) Received: from localhost ([::1]:47140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIRu-0005aI-5n for larch@yhetil.org; Thu, 10 Feb 2022 18:02:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIQw-0005YJ-W2 for guix-patches@gnu.org; Thu, 10 Feb 2022 18:01:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIQw-0007OH-MM for guix-patches@gnu.org; Thu, 10 Feb 2022 18:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIQw-0001AI-MC for guix-patches@gnu.org; Thu, 10 Feb 2022 18:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 25/26] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 23:01:02 +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.16445340474433 (code B ref 49946); Thu, 10 Feb 2022 23:01:02 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 23:00:47 +0000 Received: from localhost ([127.0.0.1]:57587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIQh-00019L-3O for submit@debbugs.gnu.org; Thu, 10 Feb 2022 18:00:47 -0500 Received: from mout.gmx.net ([212.227.17.21]:58759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIQf-00018s-1x for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 18:00:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644534039; bh=pOEkdS1klKp1pykFgDIXPH7wbzgmn6NVcUgLnSmChUI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=S2Xw1idfnuRMgoEv9bp1RThH1n2nlrHLEjLgiOCqwa6RhuxIjooyyQ5xm834i2/dK Iai4KoXhudA4bb2qimQzVpl7+GjqFswqNWB+0NJ1GwW8IaEQftDXnuiTbjvj3dcNHm O4fR2ZvAVcwGyqFOIcZJuDDKvLRRniF2t8nketf8= 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 1N5G9t-1oGTXT2iLl-011Evb; Thu, 10 Feb 2022 23:55:38 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:26 +0000 Message-Id: <20220210225527.25189-25-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210225527.25189-1-pierre.langlois@gmx.com> References: <87leyinxly.fsf@gmx.com> <20220210225527.25189-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:6QaZOlZgzw0/oB1M7UkrswrYMlQXNm0GdpY8QcSNTpVaf02yODh dP4EcAJA2IFNo9TNnnYPg44kNrD+06r38b2IrVYU3tpmQ+L9X3gaJ8airraVAsTpoZxFHzU Zj+CJYs6ETE13Em1EXof4Tkhi3MaCHmXR+y10a8H9mcq7LuJKVHS76aSgbiNfcxs2JnHoz7 7O9FepsFK9bUgzEIOJyYQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:NvHpifCUsWo=:L7be4Tce1nlifRi+yKad9h YXKzpQVIoCkxw24pSoEI17lxWSwsINBn1vjJbqXX7R43BTrd4twcU6cCSIcPfHCc+COt0a2t0 tTnpVuYfdyykRc6vuwxjlcsMSEeAu11E6WS6XnLb+LZtpzRZTIhm4O/rUtajY1NFB+Xqy1so8 2JRQ0eC+4jtW0uhGd8pMNbp8dXj9SQc+S1P14BFbry3K1KRI16wBSe6PioC3Z4mTwmQGt2ry9 Y72JF98k6tX8OPTG+0CcsOOdUTfR3eTuab7DqLYh9fklu+aNHlSmFVS9RS2QjXohCQunlbONG Z52FK/owJ+tpZFjzbfY7ko2RrKBzCouJzPbXO/5vJaqNzQwNrpy2cVnWtfk7KPU13Ma3WmML1 n/smxkRGxmulEUBEzMBWjltdnir+abQh7YE+JYyi5tDYTwbLww/HIphK0hzB9KFL3yfPO9HCV R0K5TUsLiUqaD03z+60WEwCD1FeKH8OJCSg+1H3AjCECHUZc/7TsltkL9yDYbY554WL46rnj0 o4nC4iR4XpcGLTi2DbfsLKGCqe/gqkUQdlaFKVszmdzOnYNUAmgcTUA3kmyTkw4BgYi0KkJy5 xuwAwcWK8VkXgpOJtzjVuCPWKZSv4wN7xaQ5wKdHg2veq8gviqVVBAPqZbZQkDK5dslKX7HO3 BBzr+OPZds1PPc0ZLK+ZU5Q/GCNIzcJ7NGY73ZXQx5aaezly+ti2L3lK+S+gwhX3AOnRKCQep s6NkOWVia+kLVjA7SpX1tNmrPmcIdUE3SASoOAmCWvMiO1Se/f8sPIMH3L/gNjHy4D/pSiVjk OjpkiUypce2R3/Biy1wOtXSCFI/qUKNxOxAyEZf0eJSf1XZKqgApoZBw50iTANKWIwHV5C+HN HcviZWMb7UCk5cQxeHpjSKxtuQTYoROir36F/JEIQ+WIk2/Nvu6K5tbIdGIqYI2ZsDe6nTzA+ qSkDZX6bZiuq47MCl1Tg7yiG6hfTfENESLhAL5donh+SjLc1zBf27jOEPi1nthRafJefTpOjA I2KbxY+AWU2tv/81akbJlJTLF33IjuGVrmLRmIZLAD9y4HC0aY50+LZfMCAxHGP+H/l714zR+ W/Z1BoaejfEMsQ= 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=1644534123; 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=oUPF01ypWWALRvlxkMnFshYgYoqY6x7Bdy24rkj/VEg=; b=lyUjSGGPVl5tS/GkhWEI0cPZZPZmpQbfRLRjTIofnanoYPpkr6THM+eEqOZBlZaoqMEZS9 3cYvDvnMrDelQx7r49w9VNHsQG78bf3jKWQCkTtdYyiovRl9i7ccIVMyRrxNYmX0xlMRnf NVC8y3M7vPCZw/wB5EJUIoiuFbFqCtIDt0BzjFmYkTQXcjk3F5OFxN8/c6YXCiE/JQdUP6 Ht6b6P5zDb7d6BEGizb9+y6XAI88H7H6J9AD43VUynfDwoW8qC83h07vFz+AzTIeP7pBqe mDxsM6vHWEramTrugdBGvM7/wtE5IrJLLLNnnss910HK1+Y1+z977WSAgK4C1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644534123; a=rsa-sha256; cv=none; b=iR5tDSlhFcCBYB9eBQfCm9Ix5QLI4UgqUkvARSkBocCMVczUM92rNr4ZhXP0bXoBKz9/EV EJ3R5BuC8/UFDm22oKuy0hWJLU+krrM3tfM+vyd072sW4DnkgYRQm2SX0ctRddz7G5j2m7 S4h1FMbWeBmEzexJJucSTPD6+6hKUYwC7i6eFepvnY5mlmzrBd79HbgDgrGWyJzZ6NoJkH Sh9xBb3iyO4RlrnHqGrE1jEauBgmZ+e2GIcxOTROzYkGtXrXIWJFO41zCsQ98EGNg8Srkh RLb3PwYo5z6qIUZQZl3UC71fWuIgFP6L8kzf4u7kH5ITcYCvghpp9Nw9Dy+JOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=S2Xw1idf; 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: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=S2Xw1idf; 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: 0486C2FE67 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: /oRBvFsyitgN * 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 893c02824d..b412f3d031 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -698,3 +698,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