-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
0.3.1 ERROR: dangling backslash #8483
Comments
Might have been introduced in #8122? |
I suspect it's the |
No, it just auto completes with backlash and when you hit enter then the error occurs. |
Could you show us the actual error message, and give detailed steps to reproduce? |
If you stand in your home dir write: |
Adding the trailing slash for folders is by design, so one can keep tabbing further down the hierarchy. I think that behavior was the same before my commits #8122 ; has this not happened before 3.1? On linux, |
The problem is that it's a backlash and yes I think it's a windows problem. |
@dhoegh |
I will do that, but the actual problem is that it auto completes with backlash, 0.3 auto completes with frontslash which is the correct behavior. |
0.3.0 also crashes the repl if you do |
I would agree that the correct behavior would be to have backlash between folders but it does not work when the repl is in shell mode. |
Could the reason for double-escape be that I changed |
I have looked more into the problem and i have come so far that it is in the Base.REPLCompletions.shell_completions function se the following. julia> Base.REPLCompletions.shell_completions("cd Docume",7)
(ASCIIString["Documents/"],4:7,true)
julia> Base.REPLCompletions.complete_path("Docume")
1-element Array{Union(ASCIIString,UTF8String),1}:
"Documents\\" 0.3 completes with a front slash and 0.4 does this: julia> Base.REPLCompletions.shell_completions("cd Docume",7)
(UTF8String["Documents\\"],4:7,true)
julia> Base.REPLCompletions.complete_path("Docume",6)
(UTF8String["Documents\\"],1:6,true) The problem here is not only that it only completes with one backslash but also the following behavior: cd Documents\\<tab><tab> Then I get the completion equivalent to |
Base.REPLCompletions.shell_completions function was changed completing with backslash in 47d3ecf, could we role back to the old version or can we change the new to complete with front slash @lucasb-eyer? |
(sorry for the silence, was busy. Commenting in your PR) |
…ed some test cases + fixed an error that were discovered when doing `using B<tab>` before Pkg.init().
…ed some test cases + fixed an error that were discovered when doing `using B<tab>` before Pkg.init().
…ed some test cases + fixed an error that were discovered when doing `using B<tab>` before Pkg.init().
…ed some test cases + fixed an error that were discovered when doing `using B<tab>` before Pkg.init().
I have just updated to 0.3.1 and when I am in shell mode the console auto completes with
\
on windows which gives an error, see log:The text was updated successfully, but these errors were encountered: