(address . guix-patches@gnu.org)
From d51a7e7812beec431e79164efe9d7cb87341674e Mon Sep 17 00:00:00 2001
From: Declan Tsien <declantsien@riseup.net>
Date: Sun, 29 Jan 2023 13:34:03 +0800
Subject: [PATCH] gnu: emacs-next: Enable tree-sitter support.
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.2bd0b94.
* gnu/packages/emacs.scm (emacs-next)[propagated-inputs]: Add tree-sitter.
---
gnu/packages/emacs.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Toggle diff (55 lines)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 299ab5e992..ed62f6ec8b 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2022 Declan Tsien <declantsien@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -75,6 +76,7 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages text-editors) ; for tree-sitter
#:use-module (gnu packages web) ; for jansson
#:use-module (gnu packages webkit)
#:use-module (gnu packages xml)
@@ -381,12 +383,12 @@ (define* (emacs-byte-compile-directory dir)
(license license:gpl3+)))
(define-public emacs-next
- (let ((commit "6adc193ad66445acd84caba6973424ecbd21da26")
- (revision "4"))
+ (let ((commit "2bd0b9475384adfb4dd2cc794bbe1d8621546717")
+ (revision "1"))
(package
(inherit emacs)
(name "emacs-next")
- (version (git-version "29.0.50" revision commit))
+ (version (git-version "29.0.60" revision commit))
(source
(origin
(inherit (package-source emacs))
@@ -401,10 +403,13 @@ (define-public emacs-next
"emacs-native-comp-driver-options.patch"))
(sha256
(base32
- "0b48qg9w7fzvhva78gzi3cs2m6asj11fk0kgys49fqhwskigzg1f"))))
+ "0pf2qlbfddpzp38x6rpz0qpadwa3vgrp3dik3a4wr3cdcby98cc3"))))
(inputs
(modify-inputs (package-inputs emacs)
(prepend sqlite)))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs emacs)
+ (prepend tree-sitter)))
(native-inputs
(modify-inputs (package-native-inputs emacs)
(prepend autoconf))))))
base-commit: bea22409682f6d1947de7d92f264aad822c2e68c
--
2.39.1
-----BEGIN PGP SIGNATURE-----
iQHLBAEBCAA1FiEE9pXznsYl4IEztXWfD8aHA3Xv4vUFAmPWDeoXHGRlY2xhbnRz
aWVuQHJpc2V1cC5uZXQACgkQD8aHA3Xv4vUTrQwA0VeQSGzrKzvTNsFopFYbimCH
U9/o7UoJ2iEjA5hdbXs/8pbtP0S6g6+Dt8sY2/GR+3gjKlRx+tn/YHvyueTH/o2d
o02mO1X74AVueZxKGZbRLqiHU5da3ZccAQYQys9o8HUeEIHs4r6DvMUWsqwwqA3O
P0Jd7lFPXh22iMpicsIUztCUK+0MG7OMkvFV0iszUta1eBo28Iwu35SBTa1Bj21c
KGIm4PdiiNeADLN57yoGI37lrBUHcoIvZxG3TGPM1YFtyUwVjiDBdrDJISI+7SB4
BcuZ5iSw/Jo6JW1uh3w1XLk42a0bg9PSYsKiIOT7yPAOzbmQg55qkGBkfkzI2A1H
tjfBjQWjxOIu4IV8JglF6hOtfQt2TCYGDwcxdaXPJS/zUJvc7CGrpxDIpnWaguHB
mkqAF/F31Iu2tZ5wcZ0ddQ1+RwmxELuz6E6Gq+tLZwo20qhKmuvCK72KkRBABfZ9
b/zsP+yl0XdqoexPzrDPBBN/BpfyPBdCctutu60s
=g5d7
-----END PGP SIGNATURE-----