From 4ee924eff75e7bf35a7708c0a887977ff6afae3e Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sun, 15 Mar 2026 21:11:09 +0100 Subject: gnu: emacs-markdown-mode: Update to 2.8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs-xyz.scm (emacs-markdown-mode): Update to 2.8. [arguments]<#:tests?>: Delete. <#:phases>: Add ’skip-failing-tests. Change-Id: Ifb214c9292f6c73fb8ef98dba6f7eb1093019194 --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7ac2bdcb543..141cbb8c7ee 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -18166,7 +18166,7 @@ Emacs buffers.") (define-public emacs-markdown-mode (package (name "emacs-markdown-mode") - (version "2.7") + (version "2.8") (source (origin (method git-fetch) @@ -18175,10 +18175,26 @@ Emacs buffers.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1w6y18bg0fpvb5xwr827ynzbj0f0nh3dms3n0xq6hg38dcyly46b")))) + (base32 "05xcmp744sm1cp38zal5sqzj463igbsfhjn7vhgpzd97df95h9mp")))) (build-system emacs-build-system) - (arguments (list #:test-command #~(list "make" "test") - #:tests? #f)) ; XXX: 5 unexpected results + (arguments + (list #:test-command #~(list "make" "test") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'skip-failing-tests + (lambda _ + (let ((skip-tests + `("-export/buffer-local-css-path" + "-export/relative-css-path" + "-export/url-css-path" + "/wiki-link-rules" + "/wiki-link-search-under-project"))) + (substitute* "tests/markdown-test.el" + (("\\(ert-deftest test-markdown([a-z/-]*) \\(\\)" + all test) + (if (member test skip-tests) + (string-append all "(skip-unless nil)") + all))))))))) (home-page "https://jblevins.org/projects/markdown-mode/") (synopsis "Emacs Major mode for Markdown files") (description -- cgit v1.3