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 GIfIAX0ZgGNyWwEAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 02:25: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 mp12.migadu.com with LMTPS id 8PjEAX0ZgGPMdgAAauVa8A (envelope-from ) for ; Fri, 25 Nov 2022 02:25: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 9F66F2743C for ; Fri, 25 Nov 2022 02:25:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNRm-0006TI-4E; Thu, 24 Nov 2022 20:24:06 -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 1oyNRi-0006Pv-CY for guix-patches@gnu.org; Thu, 24 Nov 2022 20:24: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 1oyNRi-0004rh-4M for guix-patches@gnu.org; Thu, 24 Nov 2022 20:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNRi-0000TE-04 for guix-patches@gnu.org; Thu, 24 Nov 2022 20:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v7 31/32] gnu: Add emacs-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:24:01 +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.16693394001717 (code B ref 49946); Fri, 25 Nov 2022 01:24:01 +0000 Received: (at 49946) by debbugs.gnu.org; 25 Nov 2022 01:23:20 +0000 Received: from localhost ([127.0.0.1]:60864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNR1-0000RW-Sw for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:23:20 -0500 Received: from mout.gmx.net ([212.227.17.22]:43603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNQD-0000JP-2f for 49946@debbugs.gnu.org; Thu, 24 Nov 2022 20:22:29 -0500 Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MrhUK-1oddXP0rn2-00ngaQ; Fri, 25 Nov 2022 02:22:23 +0100 From: Pierre Langlois Date: Fri, 25 Nov 2022 01:21:41 +0000 Message-Id: <20221125012142.22579-32-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125012142.22579-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20221125012142.22579-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:y7VTlc8b3jD51j/jWYxWbsWj0aADfNLnTU4mxovNEvXr2Kw5G8b djvucw49A2aovGuX5/UfGcVIywbzSYZbNM0uFXLPwCQTItaj7HOKQKiY32hvK168c/lN1BT APbIJwyBnfGaZ5X/ofNlC0j3lZEttGE3ehausgSUlE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E1ySkx/geUELOUc= 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669339516; 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=giFvAunbwRr1VvV4H3UO9y7mtAibuC5GJUU1vlG5OfY=; b=ezU/BaSvZdk6Fet0TXQQRmnRonbxzypMPlz3/FGdFMNH+g0JzHUsWX93vCPmvfidTi+XM0 bonqJvgTO9wLx5QM7pA6elFVZer9U/scXrP3cS+5+9COzkw4MwM+11Yfpwu7O8jyLvKDWW Fwt+qpS+hLf+eSdVjDxmfAow00g81OA2L8nyULOuKkNKRFkGqa5Ve/rlXP1J1oqKlrxTN6 kf/lHMhp740XacSLB8oPKf8VXoUuWJblq0k6XcTNd98p5eBV/rkJr9FscBnwEdUP+RCo8G xyGgPjmypTewWRNUpJFhOfA4lhYv1HZlU7ioCZwJyUzW6BTE++RUxc3GqGMPRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669339516; a=rsa-sha256; cv=none; b=qbKhU+aqL9QQ8YQhEQr6scKDZr72MaRnyj9w2pkpko0POXu1SHmukqJXDnQzIP6r67Tlg5 DdCRHasRhePafSrHBAWblNtUe7ODCNVub+NuX5joZtFuksDe9y9MexJMZdNYnq3VaguKDs 7acj1z5i//qVXaSo76vXEEHzaXTN01zfYf7283KeAmLVhetQ5FJwoVtSqJJs966uCV+IEl QfSwRFzCDvW7af3Z5QLjHLuVSPsO1kipkuu0EcI3syZXK56KM6CLdHFgCgA1S/PdyNqKAE 9jKpaIOsXcyWNkk4ZS7UEaUWxWb86pTCsFcIz9X3682eY2lQ+hDCxSwj0i3K+A== 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" X-Migadu-Spam-Score: 2.62 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: 9F66F2743C X-Spam-Score: 2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: xq6s5m6LlTo7 * gnu/packages/tree-sitter.scm (emacs-tree-sitter): New variable. --- 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 d23fa2fbd8..26b0206575 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -822,3 +822,30 @@ (module (search-input-file inputs "/lib/tsc-dyn.so"))) (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 + `(#: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, 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.38.1