I’ve just updated to Julia 1.10 and have encountered an issue in Emacs (version 30) using eglot
and eglot-jl
. Specifically, I’m receiving flymake messages stating “Julia [IncorrectCallArgs]: Possible method call error” on several lines of my code, for example in all include
expressions. This wasn’t an issue in previous versions of Julia, and I’m trying to figure out what might be causing it.
My Emacs configuration for Julia is as follows:
(use-package eglot-jl
:straight t)
(use-package julia-ts-mode
:straight t
:mode "\\.jl$"
:interpreter ("julia" . julia-mode)
:init (setenv "JULIA_NUM_THREADS" "4")
:config
(add-hook 'julia-mode-hook 'eglot-jl-init)
(add-hook 'julia-mode-hook 'eglot-ensure)
(add-hook 'julia-mode-hook (lambda () (setq julia-repl-set-terminal-backend 'vterm)))
(add-hook 'julia-mode-hook #'julia-formatter-mode))
;; Julia Formatter
(use-package julia-formatter
:straight (julia-formatter :type git :host codeberg :repo "FelipeLema/julia-formatter.el"
:files ("julia-formatter.el"
"toml-respects-json.el"
"formatter_service.jl"
"Manifest.toml" "Project.toml")))
(setq eglot-connect-timeout 1000)
I’m curious if anyone else has encountered similar issues after the Julia 1.10 update, especially when using Emacs. Any insights or suggestions on how to resolve or mitigate this issue would be greatly appreciated.
Thank you for your help and advice!