From ab61b6eb71faea2685e2d7a27bf05025f0052d22 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 19 May 2026 09:54:44 +0200 Subject: [PATCH 1/3] Add commented out code Verify first that we get the error in the master build. Then activate the code to see that is solves the issue. --- test/hy-test-dependencies.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/hy-test-dependencies.el b/test/hy-test-dependencies.el index 47207be4..3b62abc7 100644 --- a/test/hy-test-dependencies.el +++ b/test/hy-test-dependencies.el @@ -18,6 +18,12 @@ ;;; Code: +;; Force markdown-mode to be selected first to avoid markdown-ts-mode +;; for now. It requires Tree-sitter grammars to be installed which +;; conflicts with our current CI setup. +;; (when (fboundp #'markdown-ts-mode) +;; (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))) + (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) From 6f5e110ef0857cf8b96af013eee5c685f270f367 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 19 May 2026 10:01:32 +0200 Subject: [PATCH 2/3] Uncomment using markdown-mode --- test/hy-test-dependencies.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hy-test-dependencies.el b/test/hy-test-dependencies.el index 3b62abc7..9fafde2c 100644 --- a/test/hy-test-dependencies.el +++ b/test/hy-test-dependencies.el @@ -21,8 +21,8 @@ ;; Force markdown-mode to be selected first to avoid markdown-ts-mode ;; for now. It requires Tree-sitter grammars to be installed which ;; conflicts with our current CI setup. -;; (when (fboundp #'markdown-ts-mode) -;; (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))) +(when (fboundp #'markdown-ts-mode) + (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) From 246cc302f800e9ed73a919ef483e5965cdc54c37 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 19 May 2026 10:22:08 +0200 Subject: [PATCH 3/3] Prefer markdown-mode to markdown-ts-mode * test/hy-test-dependencies.el (fboundp): When markdown-ts-mode is defined prefer markdown-mode. This avoids markdown-ts-mode prompting for treesitter grammar. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 85c48f2a..0ba173b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2026-05-19 Mats Lidell + +* test/hy-test-dependencies.el (fboundp): When markdown-ts-mode is defined + prefer markdown-mode. This avoids markdown-ts-mode prompting for + treesitter grammar. + 2026-05-16 Bob Weiner * man/hyperbole.texi (Default Hyperbole Bindings): Update doc for {M-w} to copy