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 ms5.migadu.com with LMTPS id aDwLKGp172Nh8AAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 13:39:06 +0100 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 0BvdJ2p172P7TgAAauVa8A (envelope-from ) for ; Fri, 17 Feb 2023 13:39:06 +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 7C24229AAC for ; Fri, 17 Feb 2023 13:39:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT004-0003ha-Uq; Fri, 17 Feb 2023 07:38:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pT003-0003dw-IK for guix-patches@gnu.org; Fri, 17 Feb 2023 07:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT003-0000zf-9U for guix-patches@gnu.org; Fri, 17 Feb 2023 07:38:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT003-0001IL-5c for guix-patches@gnu.org; Fri, 17 Feb 2023 07:38:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v8 6/7] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 12:38: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.16766374604887 (code B ref 49946); Fri, 17 Feb 2023 12:38:03 +0000 Received: (at 49946) by debbugs.gnu.org; 17 Feb 2023 12:37:40 +0000 Received: from localhost ([127.0.0.1]:38703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSzzf-0001Ge-Lz for submit@debbugs.gnu.org; Fri, 17 Feb 2023 07:37:39 -0500 Received: from mout.gmx.net ([212.227.17.20]:42525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSzzX-0001FJ-MD for 49946@debbugs.gnu.org; Fri, 17 Feb 2023 07:37:32 -0500 Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MmUHp-1okpU43uFt-00iRlL; Fri, 17 Feb 2023 13:37:26 +0100 From: Pierre Langlois Date: Fri, 17 Feb 2023 12:37:21 +0000 Message-Id: <20230217123722.15143-7-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217123722.15143-1-pierre.langlois@gmx.com> References: <20221125012142.22579-1-pierre.langlois@gmx.com> <20230217123722.15143-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:yRC5TXY1dx5LSU1+c1QvrWeTye+eIBMTX1SuLolchrY5UC+UhDt RRSzeVKxie8e4/o78ezWUqr+qRHc3NmxiQvPdImhVN5qvPM0eE0l/W5M/MOSx3kAHeRi5om rVxeATaW0gaDRqdqUobToc7CxtE/jrVB7YOsePtFyd6FM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GFrxPkiB7O+uYypio= 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676637546; a=rsa-sha256; cv=none; b=BzVJFqFK2E/r95hQbTp8ld5VXapxqg5PYZnZy3VqQXwNBdoDDByneZq2KFaayhiaBHMUk/ 5nVqcNHEyusPYFtuIJjRj2pNaWo7CdKKoLzbgaYZndcCoCS8JCpdVuNJ7Fw8rQiLdPVUvQ mryylMI7cZhyTrmKob7qGHXsbWNoatGTqN5kklGaStGE98Xh69KJ/8lQQv5ixnELpEdi9n oazlMCYjloW9QlUtEDKECGp7GZnX91JFUakrK5khHpZmwOjMm2cDtlZQ7JGaohJMXTTu9i 7LcPr3+nmfOpsU4ycNUJJlWlH5yTNyYvO99FQKu/lhKTph8h3BStfXFEfFKZCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676637546; 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; bh=h41ewfbpo7zNN85g5Ut+PHtEnhPuBi8w9ke/Uh7N964=; b=mLjw3rFDnPidJpscboPnxl+iBqwKqY2CAkS44TrwghVJmSLHnnMHH9GyN1rsi/b+G4DTCy jvnvyNBIiJ2/qmfnUIDgW6PetZPi+ds+jd4yKpqFF26PlmSCocMetczQ8eGkWF1jUNimtt BBfHMWfEk30sEmMNsf7u6lkPZpxDDMqnpzLHZEJTsI8Hc0l9q9uqsWt82uj9CsAgnlR19n LdKTUTzw8SD7cWPnycoa4TexS1iSMPRESmRAaDyTKygOQTn62CIf2sttxDe41O6o8tb2oK pgMgFcmtdzzqpe9ZybKpEl9j/J6CHMzWMM12Wx412ma907dNHp8M1/1bFC/qaA== X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: 7C24229AAC X-Migadu-Scanner: scn1.migadu.com X-Spam-Score: -1.63 X-TUID: C3ijWG2em7nM * gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable. --- gnu/packages/tree-sitter.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 12f2d108d9..f8be967e21 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -623,3 +623,31 @@ (define-public emacs-tree-sitter-core (description "This package provides core APIs of the Emacs binding for 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 + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "lisp")))))) + (home-page "https://emacs-tree-sitter.github.io") + (synopsis "Tree-sitter bindings for Emacs Lisp") + (description "This package provides Emacs bindings for Tree-sitter, an +incremental parsing library. It aims to be the foundation for a new breed 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))) -- 2.39.1