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 aDd6J3WxD2KjwQAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:47:17 +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 yOwbIHWxD2J3+QAAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:47:17 +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 304BC25869 for ; Fri, 18 Feb 2022 15:47:17 +0100 (CET) Received: from localhost ([::1]:38192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4XS-000354-5D for larch@yhetil.org; Fri, 18 Feb 2022 09:47:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4WK-0002HZ-5R for guix-patches@gnu.org; Fri, 18 Feb 2022 09:46:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4WJ-0006Qz-O2 for guix-patches@gnu.org; Fri, 18 Feb 2022 09:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4WJ-0000F0-Mv for guix-patches@gnu.org; Fri, 18 Feb 2022 09:46:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 30/31] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:46:03 +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.1645195517814 (code B ref 49946); Fri, 18 Feb 2022 14:46:03 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:45:17 +0000 Received: from localhost ([127.0.0.1]:53859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4VY-0000Cy-Ie for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:45:16 -0500 Received: from mout.gmx.net ([212.227.17.20]:57187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4VR-0000BZ-Hf for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:45:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195504; bh=q5l62gBpoZKPzm96+LheJg1Bl/M+i+Ac6q3QvD+szqc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=i/E20J91zNQMeWbbPDjomVbEqXFQG878f3QbQDcfU7pqNxG7dpRRRneAHJJw7IlEo hlhjXD5BAVwlxUI9oG25ltDUjtYTDrYxBkz8KOgyYrVT8gA8MTvzdwWDy8OxzEff+2 eh935O1UoGGJ7gKYLoSSp9UTbGDE8gUJqDB4BdwM= 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 1MuDbx-1o8D0Q1n8X-00uaAK; Fri, 18 Feb 2022 15:40:03 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:47 +0000 Message-Id: <20220218143948.28989-30-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:MxV5QvGp93P623elE5ZMBQYrpfiWCMIDTxk7WkW+TcbZ6bc8/rZ UuoHzeyFQAYHMm8HF4LSZ04lVrbed6lgGGoYIeSApWu3m3SOWjXESnueb8WzZGuNQzgD6i3 2znDJLWxXkQARvIxhl2ImL2tBsopNEPi4GvfGBL1k4oak2t3yE/2PRjhh/eE2ZxHXwuy37M I4OFevpNUkT6ikv+IP15w== X-UI-Out-Filterresults: notjunk:1;V03:K0:YEDNy+sd8ok=:xmV/eyiavms4OVy0GxUcwC VtocrmbYtBAGcHvdJZYhg8RcbSDr8EGqcwkhDwb/Wiwk4AJD0WlqaR+BIzxVxubkKxqKOznX6 cDnaxrDr1/vuqIXxlKpJLSEt+Wo/WQ3iOZ7N9RCBCr+Md9qnbY19aD4igac26ni07CEnLcSRl z+fSPLzDydYbz8mIBm1YXZrwprSdftSl7F3xBfpjO7Uucd7DSk6ppefXSFkDgk62aPJFIe20s 0YBpUFuLrDM+n3/M3PzqpmaSJAXq5y/MFp09qEPP5xyc4c95CJUDn4wSe12XZp0+QR4aEnw/v KHEl6mikm5CWjsnrvTNNm6/BVdvT77YesVKVtrl3vXrDYpvnqB8KbugUNj6FVJUGmy9AquPgu aw8eHAbHzHXLFWvBHXMjqGpO/8uc/fABqDZ8t9o3iS36XWiBe1KubKuq/vnfPZRfaKknM31pT 0xUQ590szQn7CcouJUUZAMXzydNnCKSGpEpj8Alxas0mEX464qIom7IO3N6iNtV97C3H2e+fC Rj6rT2FFiUwIASXkY5eBKP1f/zTWIBir6Ehw0HL3DOJlmK1+mTPqaIhepbTyKxFsfHByQHWhG vSDZilNBwck1LqLhr+JJN6jiutHqS/yXURcgYTZL4p3FmXSIcedrdAD2ElRNDUB8HRmo183Y4 wayonfTNMIo7m4r3KR1OEZDWnzcI7ON1paSU297Pu1hOHX40YB77CczSYQoutEKEKEHyHShaE DfVs0fySHbVAmfe72Jo+fmbI4McEzc9z86DtLiqAMpRMiM04ddPFZ1mz/LG773ijGySNbYfYw +aCoEcs23ofIT///Gtc2n3yGjkcReaPRt+cdQtxXUoQCfNFd2JC6MkJAxmHipmowkzmAHetly avrOv3WyhZVw5IPQYaxSVVcHNB47SThE4agOva1gSx1NP8jb7cX07rY7QJT9pI9WcPwuBZ80g D20n0ep3v1+u5kX83ii2RxM+VeNx9hf8v0ukxoPjl7h8fAWD5ZIfnFboWArMN5p/V0cbxDArf BL7Tl0da+Uc1SwXDfqsrxXLMLmWD/jOwYKm+iyO3AxVkLkUdruA9p1Kyh4xi+nAlwss6xsjcz gp2Qm81PW0pJyQ= 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=1645195637; 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=ekyabz529dptKxWRrmMMFW3YRmPcJUmaFOsRQx6zXs0=; b=aur19/wzLjJLTy56XWeNTmHv4qXivVcRVdOlehDCSgX01IlwcANVgbQpUBaAHNdNzPf/M2 CAK6jnLaa5aPs36nmWYqX6UiBqtMjW8D0YrwUdsOrA0IBkP/iuhJs5w0tl8YUYjgnTrqjU 1blZnwS683I4CCh5tPVYMI9QpptVSzehdTgZ2CRbsMSQa6x+YQu3waUoa6RqiH02gm/zmp 3k3nQu7ShBkZYI83x+YXrepF7g+PfSSRCBbjPkGljRSocu5/GZZPjYnVClJYi0K4OXRwP8 jeu4M546YsXl7nbqUNuscgATlW5fp0b3OallRcyhXYV3HQUZd4BjNHYVV9EnVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195637; a=rsa-sha256; cv=none; b=C6hjo0NkZGDl+rm+FEkzklvcVk/lqvyk1eTOUF8z56T1lfdzKaBRVyD3pJdlU6cO38mQDC N7iGDOr7o0CBtUNS5roiaJMHkuDb4mgetn0keuSAY3mukxHpdcRNk2T4Flcf4qkB1rySuA jBEeOBA2LoCoK7T/a7MsLjSCucMXjSF3NY7lZhM5ydS4KgLC1kvMz9V0IZdV/QIVQtzKTO kprDC0AKaWqZP7m+f7JHABoiEJLbn7q07TvxT6yMMzgicrs5gyw1/4mhzGGDM1Z0vTtNVi xZD1oVMxpGtiMZ3twx9Lzn9wz3gpPUjtflYKlUVb0YYnGLvsN56iyppiDXMppw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="i/E20J91"; 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: -1.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="i/E20J91"; 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: 304BC25869 X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: +YRUUvfEKCv5 * 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 e2af7cff5a..9a427bed7f 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -923,3 +923,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