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

Donot work when julia binary runs with command-line arguments. causing issue is repl in emacs julai-snail package #337

Closed
Aneeqasif opened this issue Jan 17, 2024 · 5 comments

Comments

@Aneeqasif
Copy link

Hi there, Due to this restriction users of julia-snail in emacs cannot use this package. Please address this issue
Reference :
gcv/julia-snail#140

@Moelf
Copy link
Contributor

Moelf commented Jan 17, 2024

"command-line running a file" is distinctively not REPL, I would hope julia-snail to find a solution to load themselves properly to indicate they're operate Julia interactively

@gcv
Copy link

gcv commented Jan 17, 2024

"command-line running a file" is distinctively not REPL

Why not? Given a file sample.jl with the following code:

function f(x)
   x
end

I can then run julia -L sample.jl which starts a normal, interactive Julia REPL, which just happens to have loaded the file sample.jl first.

@Moelf
Copy link
Contributor

Moelf commented Jan 17, 2024

you should use -i

@gcv
Copy link

gcv commented Jan 17, 2024

Thanks, that seems to work as expected.

@gcv
Copy link

gcv commented Jan 18, 2024

@Aneeqasif: This ticket can probably be closed.

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

4 participants