-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
edit() doesn't go to the line number when nano is the default editor on linux #4728
Comments
I tried to fix this by looking into the sources, but the problem seems that I don't have any Do you have any idea on why there is no EDITOR key in my environment dictionary ENV? |
I don't think it's defined by default, but you can set it by saying |
We should use something like |
This whole Lines 16 to 28 in 20b76e4
|
+1 for |
Use readlink to identify the default editor. ref #4728
I'm running Kubuntu Linux 13.10, and I have
/etc/alternatives/editor -> /bin/nano
.When using the function
edit(file::String,line::Integer) at util.jl:147
the editor pops up always at line 1, regardless of the line parameter value.The text was updated successfully, but these errors were encountered: