From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wKvyFLBsEGFyKAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:45:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IDeJELBsEGFjPAAA1q6Kng (envelope-from ) for ; Sun, 08 Aug 2021 23:45:52 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 0F76810ED8 for ; Mon, 9 Aug 2021 01:45:52 +0200 (CEST) Received: from localhost ([::1]:47488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsUJ-0004M5-2X for larch@yhetil.org; Sun, 08 Aug 2021 19:45:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsTa-0002ym-Cj for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsTa-0004iA-3b for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsTa-0001FB-2A for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 30/31] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:45:06 +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.16284662664646 (code B ref 49946); Sun, 08 Aug 2021 23:45:06 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:26 +0000 Received: from localhost ([127.0.0.1]:55054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSw-0001Cm-1n for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:26 -0400 Received: from mout.gmx.net ([212.227.17.21]:49817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSo-0001Aj-Mc for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628466253; bh=MxIIl6QtYgn2aURnCx6u80YepVwj/NjskypHsa1zeGM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=R09uuqvcxyvEfAB96JGyQg7MEnqh3pMeoudFN7Uy0DoICq+sEhqwYUFOCVrCtLh5O mE2FGlXMkLei4qXlo6xnTQU/5xo/hniQvPhVddVHijgkQnRRyvLZs/PiO33VTnarfK rZUqVpJh1croOdMdMZ6eNqXJsTeBl88KyvwOek5k= 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 1N1Obb-1nFWmF3VV5-012mfz; Mon, 09 Aug 2021 01:44:12 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:43:57 +0100 Message-Id: <20210808234358.7241-10-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808234358.7241-1-pierre.langlois@gmx.com> References: <20210808233354.6745-20-pierre.langlois@gmx.com> <20210808234358.7241-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:b2/wn25vpd2Iyu+JYoHbQxJllVEJmT2BJRn4lZjErwZldMAbWjt A3affZXBHz0imNJR3r0nWHp5Lg3i0tocd+wsA3A8mROl+OkOPLftQQ4EX0iJZvrXacU7ped 02XWJzV40w6ka2jDL9CjCWXk55/7+8odlxQB1C/0c6A0ihUTvICGkhe67FCq05vwC//spOM TZkhVMuCfalNSQYdppCig== X-UI-Out-Filterresults: notjunk:1;V03:K0:ARNq+sFm4vE=:zjBVzJi7Z22juyfiX+TgZb tMiqzhawF7AxgZtJeQeuQSP+3MoQyoT9NvpxFfsyqzaHuOefHZ7ZjuG3uM8iQDJsGahpJ8wj5 7t1KRCffRftMl+lEK7TSXIvgt9gu/I2ljg1K0wcGJVKAkjQ8E2oHhw6Nfcs00FvB/tdekdlLg i7AHlVoXuaH4jbHKpKjodM45afULUAyjYnh9q46WPWHGIA5YiAETlfbKSW2MAbxEZA99Fkdwz VDtAVjOI0ByAUgatVeeNDTbk1KCqBcm7TN3es2TZYXsikvS3ej58G7FtcHTsVCggz9ga6T5JE GcPdf+tarHPnOagVntVXgW4/8Cs7AA0wKbgJ6u9sy3i3Ql1K+jf05bqcnZ8d2ZvQt+S/sZILx MXHCZuRcgAyW3B6TaJA8jsw9jp9QQTEkp9JvID/Xr9z0rcje+Ohkk5gMLAXwZuae6S37wFaue WF0CqMe6OuqyEytXw55S3fTzFJv5PVars38MKk4T4C/7IfzAYXv0NmCU9RFCTknhZDn0kvTuk zBgslpkhm2kRk7mQfc67FVcq2euYA1uj/0+v1wSHo1bwZtbPrYXyRcA2T9bJXrJ+bsIE8+YPJ Y5B7IhyiZVhBppMofUySTCE6idi2ABI+05gAk6bi0nqd4bWm6K+Pq3H5j4AxMqNCpIXZcnbAm 0Y39l84ZKeYpimgKZMzK8XuzoP5qwfXg9j8ndmCEGFWGTt8K7lRXZxCnF8aRJLf2pBxV7oc3U GxaXP+8nvjSMNv+kqnyAD2REvr8nkd9IWE+6BSOKpLzdalV9hCewNK4t8Vmjgj8veiU3MkuYv bga8766A6ck882kjtcdhk0oMNybvUau/GDdQEvQTCemMIdfkX4Qkrn5tS7Utfnlb2T/oWdwQ5 NC9WxeNLdut5xl0Og2WRZqyQbcgyAFeSVJ7x+/uSxLTXHRIwClr39GShw7P4r3D5bR4ks3kJ4 4a9oflSp9mRWGnokArjXeteQNbBhSfGVfOeR67y04+95yuRjBGQHuycHdZqVqre6Ek6+dY++r I2jqHkAz2gRSu8SK/O0UnxLMreLtt6mFZ4yu0I7VszCLzdCvbn2WwwrIZnK7srjoKltpsK1Zm +jT9dZR9DwzwIU0bIxKRYYqAV/wwXOuiMviS4C4nULDZCGezYkQxcePuw== 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=1628466352; 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=sryM1txlKggDAcMBAYTAjK9r4RWoZGqO9DTsxNBr/gM=; b=m9yfwI7STkYpz7HjB7QnY3sqEoxEBUGLKHNjldnnGk27fAHjf3WK1MrcIubpALD8nuyK7w idcMZhBGQyYThSoZzjdziHciEdXz08NmUXKSSqsEsZHUoeX2FR01bwHNTMAlskbZnr3ALg 4bUkb3v6kF5g1pH/OCVpnpVm7BBfR1VIgsAj8cxCj2f8+ZmRy3+e1pkCtDpa3DDIMXq+n/ nnHfEmM/cdOrIRrZ+JxNyFGYphEHU8yYyQvmplrXy8Rnz2z5KbUnKB4NiejhNvZA2SY7SW n4/9o5qF8vtXo+jUWK7v5WS6FeCtgFvDUgKmg/qQhAg0chcLPlAkOlBojmItow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628466352; a=rsa-sha256; cv=none; b=unwuoECvndm6pTM+bEmTAx+HxdXeyd1kIivRsr41WMvkw/q5kndBncTfQTEeB9F2b0wity R+a0mHI3S2VL/3rmihKcnnyrSlDY817ss0xruVCNQ8M0Ba3Hxok//9wQC2AodPsxXOjyGY Da6fcdmS06zI86nfKdjjIRBxvQEscpR6c8X6/sZeZyj+BrUmwR8TVIyE8tqtjTG5Kuta9r MfSidAZWPspGsKsLhf7INbxSSsyEpmErOPXrtW4Iks5+W7v9pt0aB76e4JygkyOVuPrz7A 9npGX3gbzxvRKzfQ5TXsVdvWswSedK8lSi41qX+33PItpQjwGp1InKt8WRRM9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=R09uuqvc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.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.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=R09uuqvc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.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: 0F76810ED8 X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: hedN3MOHr4C6 * 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 a9c1714936..22551d4482 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -608,3 +608,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.32.0