Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make julia-repl-executable-records customizable #59

Open
dominiccooney opened this issue May 29, 2019 · 4 comments
Open

Make julia-repl-executable-records customizable #59

dominiccooney opened this issue May 29, 2019 · 4 comments

Comments

@dominiccooney
Copy link

When reporting an issue, please provide

  1. the Emacs version (M-x emacs-version [RET], will also appear in the buffer *Messages*),

GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30

  1. the Julia version (VERSION)

v"1.1.1"

  1. the version of julia-repl (something like “latest master” is fine).

MELPA 20190420.1455

  1. self-contained steps to replicate the issue.

Even with Julia on PATH, Emacs on Windows fails to start Julia with "Spawning child process: invalid argument". It looks like julia-repl--capture-basedir is failing to spawn Julia in the first place. I'd be happy enough to customize julia-repl-executable-records and point it directly to Julia, but that is defvar not defcustom. It would be nice if it was customizable.

@tpapp
Copy link
Owner

tpapp commented Nov 20, 2019

Perhaps there is a misunderstanding here: you are encouraged to set this variable in your .init.el or similar, eg this is what I do:

(setq julia-repl-executable-records
          '((git "/home/tamas/src/julia-git/julia")
            (v1.2 "/home/tamas/src/julia-1.2/julia")
            (v1.1 "/home/tamas/src/julia-1.1.1/bin/julia")))

@hzheng88
Copy link

The same error on Windows after setting the variable: "Spawning child process: invalid argument."
(setq julia-repl-executable-records '((default "~/AppData/Local/Microsoft/WindowsApps/julia.exe")))
GNU Emacs 27.2, Julia v1.7.2, MELPA 20211230.814.

@tpapp
Copy link
Owner

tpapp commented Feb 10, 2022

Does the same executable run outside Emacs, eg in the terminal?

@hzheng88
Copy link

Yes, it runs in the terminal.

The terminal emulator seems to have raised the error.
M-x term on Windows: "Spawning child process: invalid argument."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants