From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eBnLEWdnK2EmdAAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 12:54:31 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MH5sDWdnK2FrKAAAbx9fmQ (envelope-from ) for ; Sun, 29 Aug 2021 10:54:31 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 018B11D6E6 for ; Sun, 29 Aug 2021 12:54:31 +0200 (CEST) Received: from localhost ([::1]:45702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKISM-0002bJ-3L for larch@yhetil.org; Sun, 29 Aug 2021 06:54:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0000YC-NV for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIQw-0006na-Fw for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIQw-0000T7-F2 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 32/33] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:53: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.16302343481735 (code B ref 49946); Sun, 29 Aug 2021 10:53:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:52:28 +0000 Received: from localhost ([127.0.0.1]:55652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIQO-0000Rt-KY for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:52:28 -0400 Received: from mout.gmx.net ([212.227.17.20]:59267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPh-0000Ob-3C for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234299; bh=XuJZZGOojKBqjgBUCVTioLjbmMwvS/WNf+8gQst3O8E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aNPPqXkQRjP8naxpnpbG72ZCT4AS3jsMV1Cgz7ATlGmwnf/Sw/Iv1qrKPIPDw7rRE dwCLTcQUW2DqGfgjWWRjARyL/QeNDxE6dCiAP9kzUJss0ID6GOqhh2oz07fq3yekd+ K/qLqBCxyaKHOip674nD9yW1fH/EApAY2N/pNTf8= 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 1N4Qwg-1n2sFE3rPS-011VTH; Sun, 29 Aug 2021 12:46:39 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:07 +0100 Message-Id: <20210829104608.3103-32-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:RHf343EqBaPOMRFDDgz3U71sruY3kZ2AWmC8jdiHvNNYNUzJNSR vne7x7jAqkGGdY+lU12lWcOJxhBMlkA/dMSHBNcGXRp7EJeE4QQtWZvwL/cMh7wYl79dL7h VNkv5/Nh2r28CtAt/NjZYVCZm4MXbF96VP3iv1xYHavebZU3cNmdpNMeCPaTZAVHLDWZeeE LSGK6LnykRG+psBkw1F0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:Eq5IO3kgzF8=:rnFHePCsh7U3s+GK5C1bXb Rz4NrbQmXc5HE6kNZ3dJK+zRMoeRyImr7YudMQEecTSIuesDac9cX+uTkvNi/IjZsbBgfr0SQ uYgV5kT2fa3r2Pfenv8M3oE0S4Lly4u8bsoxcqOQrDyAX5YHTRyj/5LKdQDE/P7+ZqW4ZqIBw 6CR302732qIzMXbp0979K5SQrPY6UsHR6ZHWC1b774BfSwh0j6RTHa1aUFgZIYbfLWWzHQPtf bByPbNWWP2LgMfa/IjytaYibjTpMgcqo2LbRM83GFgz1gTLodKmCEvbm8LVZ284ToJwEsPEpp PXe2YdXJNB4f4cDUAkd0REJCp5W0ReacZ+KJxJkNg4fh5vY5VMYJjW9h8lv7UFqmQ7TvsOfq/ VfQyaA3IKYU5eizcpR4iSMp0bwtZZEq4nayjtap6mnSQzyN0eKWqo5GUXMaXU2sNHVzznxho1 qlb6/MRbKxz6KGkFvMn8mBajBROiZD+HhjpDGhzExiI+i5SA5r6IwbetFsG3a5NolOkxhGTJZ nvuzCnpl8aqYn1r9rXujBngTGYPYMKRkGSkD23FlMU2glUDgpCdyn1YkQ1bbUdBBpzAFeFbR0 /Lt6ki5cv6L0HnHQOoA6/B9M8XU+/CbarvQhM4vnJz1AOX08T8yzByit36LXO5fmS9pYz+nhP OKTFx9XaV3at5wsb8dwjI9QEptGyb/Si9J1fWbS+SlI/1wp8VGzSRd+vZ82MeJbi8ha/00g3Y Q1qqKOuD0Hg+JGnj74qqbdSvXeIubVPXt6UmQXREAKLbbqlWP7Wub3X63epHkPipqcnJ/924I yjbp7cYgBtF8NLOFPprkpeOWpCpN1BLEATCMEDRExeMbkb38JqHmf/60I/lcAK0bK0s114fDU IrjodqGlHhaT9kwxkW0spx2iP8Ry4XNtR5ltkQX0qh09vJ9M2Nlf2ZOBzMAnTfo/Aj1esSk7j Ooe3Qdj5G5y1HLbeWPqPpcEmMDhJWpvD+UEgpD1hm6Ne0OQiX8O1cbH6nzcm0a5V/x7yWKqSY +X9c6Vh1SDmlVMTGZ3Sp4R5lkYshvqH6nw5cYXAhQuP48Pkdl3P30kQ9ndnYh+BFK4mpJxTsI eqS5izlfbGfYIEJJ2CHQa7f5FBI7QoCieZzzAOL6kKffawQliZjwn9r7w== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630234471; 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=Ft4BnKXugonI9bCrpp765bvvspT0fsRiBja7siq+mwI=; b=E5jQqRq7F/+Ip8akP4OSSXXGu/NmoDYwONgSR5WSegq7W3952Ah952vSlMDOzSssPXbz28 29NriGCXCiuPWoXHXqVI89+nqmIh9HIWHimjH7gvtLMQM6QNp80lGi+enFPkBD3ADu2hvY L3Go1mkipCrLnLe8yPBacWM9oXTa1xhBfsu/G5+I4+V3ozrmNrnGF2Nm5G2saTVQoTluAs u0cpkf+lYbLgWD9VgRg+1t0CftuB4W4H0SGHLx8z4uiirahdE4QV56KSzTfVFBLbw1pmV7 r8IZjxxJZVa8XmPbiwlXTwurY9AJyAqadC3QSOphgymscLOHtR8BZMSi33d08g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630234471; a=rsa-sha256; cv=none; b=nNvIVp0M+gWy1Wtcsp0K7qlyW4csVvc+vv9IfdvhuaGSNKZp1nl3V/NsbjdiStY4aSuvlk OYa67OJ/x6KNtNWlxyP1VfE+aW1ld1gawT6j5g31g2Lp6kR5nfKZbX+pwFl1XAWZZnIc/G 3ngNCmr91twM66kxsNQ7kuRuG/6OpGFxoT03YuTsKb2/6huO9cxDZG7inBEMKskbbdYqw1 Z0bctCV7GD+KUsNrg8YwzsF56N2k0llPgBZK9rHqYQKh+t1roM9SRG6p375kt5QLhDJc79 MQzq3ksD7AqlXAaNVF5gbbq9eGLBjm5EG1b4+L11LbMdMSPdCwGirDpbh4S/kQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=aNPPqXkQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.17 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=aNPPqXkQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 018B11D6E6 X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: SYgU0yGouOZM * 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 13f7a63acc..0454d75ad4 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -682,3 +682,30 @@ library.") (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 + `(("emacs-tree-sitter-core" ,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.33.0