public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/emacs] rawhide: For now, don’t recommend parsers for generic Tree-sitter modes
Date: Wed, 12 Aug 2026 15:36:16 GMT [thread overview]
Message-ID: <178654897698.1.17493890510649674302.rpms-emacs-4588679e36cf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/emacs
Branch : rawhide
Commit : 4588679e36cf53257c51cfce12da903a71580ca4
Author : Peter Oliver <git@mavit.org.uk>
Date : 2026-08-12T16:34:09+01:00
Stats : +20/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/emacs/c/4588679e36cf53257c51cfce12da903a71580ca4?branch=rawhide
Log:
For now, don’t recommend parsers for generic Tree-sitter modes
Emacs can’t currently use system-installed parsers with `define-treesit-generic-mode`, because it can’t find the associated `highlights.scm.`
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81025
---
diff --git a/emacs_lisp.rec b/emacs_lisp.rec
index 499bdae..4fab3ac 100755
--- a/emacs_lisp.rec
+++ b/emacs_lisp.rec
@@ -51,22 +51,26 @@
nil t)
(add-parser-at-point))
- (goto-char (point-min))
- (while
- (search-forward-regexp
- (rx "(" (zero-or-more space)
- "define-treesit-generic-mode"
- (one-or-more space))
- nil t)
- (backward-char)
- (when
- (search-forward-regexp
- (rx space ":lang" (one-or-more space) "'")
- (save-excursion
- (end-of-defun)
- (point))
- t)
- (add-parser-at-point)))
+ ;;;; It's unhelpful to recommend parsers for generic
+ ;;;; Tree-sitter modes until
+ ;;;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81025
+ ;;;; is fixed.
+ ;; (goto-char (point-min))
+ ;; (while
+ ;; (search-forward-regexp
+ ;; (rx "(" (zero-or-more space)
+ ;; "define-treesit-generic-mode"
+ ;; (one-or-more space))
+ ;; nil t)
+ ;; (backward-char)
+ ;; (when
+ ;; (search-forward-regexp
+ ;; (rx space ":lang" (one-or-more space) "'")
+ ;; (save-excursion
+ ;; (end-of-defun)
+ ;; (point))
+ ;; t)
+ ;; (add-parser-at-point)))
(when parsers
(princ (concat ";" filename "\n"))
reply other threads:[~2026-08-12 15:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178654897698.1.17493890510649674302.rpms-emacs-4588679e36cf@fedoraproject.org \
--to=git@mavit.org.uk \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox