Subject: [PATCH] gnu: emacs-julia-mode: Update to 1.0.2-0.7fc071e.

From: Cayetano Santos <[email-masked]>
Date: Thu, 10 Apr 2025 16:34:01 +0200

* gnu/packages/emacs-xyz.scm (emacs-julia-mode): Update to 1.0.2-0.7fc071e.

[arguments]<#:include>: Add make-julia-latexsubs.jl.
[arguments]<#:phases>: No more need of fix-test phase.

Change-Id: Ibb8cddcab527fc692f741eca5314f9c6190e40d2
---
 gnu/packages/emacs-xyz.scm | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 421b9b4cfa..fea22fa557 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15953,12 +15953,11 @@ (define-public emacs-eprime
       (license license:gpl3+))))
 
 (define-public emacs-julia-mode
-  ;; Last release was in March 2020.
-  (let ((commit "7a8c868e0d3e51ba4a2c621ee22ca9599e0e4bbb")
+  (let ((commit "7fc071eb2c383d44be6d61ea6cef73b0cc8ef9b7")
         (revision "0"))
     (package
       (name "emacs-julia-mode")
-      (version (git-version "0.4" revision commit))
+      (version (git-version "1.0.2" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -15968,24 +15967,16 @@ (define-public emacs-julia-mode
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0xwd4kq69ray6bk8hwjxnqf7myc3mn36chc2l9jn7a0x1f8x6k10"))))
+           "1dfls9ggn192xblfyjrbxi007hg4yd25s2cl8zh0v40akpqclhqc"))))
       (build-system emacs-build-system)
       (arguments
        (list
+        #:include
+        #~(cons* "^make-julia-latexsubs\\.jl" %default-include)
         #:tests? #t
         #:test-command #~(list "emacs" "--batch"
                                "-l" "julia-mode-tests.el"
-                               "-f" "ert-run-tests-batch-and-exit")
-        #:phases
-        #~(modify-phases %standard-phases
-            (add-before 'check 'fix-test
-              (lambda _
-                (substitute* "julia-mode-tests.el"
-                  ;; The test started failing with Emacs 29; see
-                  ;; <https://github.com/JuliaEditorSupport/julia-emacs/issues/199>
-                  ;; and discrepancy reported <https://issues.guix.gnu.org/66763>.
-                  (("julia--test-end-of-defun-nested-2.*" all)
-                   (string-append all "  :expected-result :failed\n"))))))))
+                               "-f" "ert-run-tests-batch-and-exit")))
       (home-page "https://github.com/JuliaEditorSupport/julia-emacs")
       (synopsis "Major mode for Julia")
       (description "This Emacs package provides a mode for the Julia

base-commit: 07c9a4273152deb128006b5ac2087d5fe30a5927
-- 
2.49.0