You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export EDITOR='emacsclient -t'# or other values with options, like 'emacs -nw'
edit function throws an error.
julia>edit(+)
ERROR: could not spawn `'emacsclient -t' +36 /usr/bin/../share/julia/base/bool.jl`: no such file or directory (ENOENT)
in _jl_spawn at process.jl:217in spawn at process.jl:348in edit at interactiveutil.jl:35in edit at interactiveutil.jl:54
Apparently, edit considers emacsclient -t as a whole file name.
An example:
edit function throws an error.
Apparently,
edit
considersemacsclient -t
as a whole file name.In
base/interactiveutil.jl
,Simply wrapping
edpath
withshell_split
fixes this problem.And it also works in the case of path with spaces, as long as you set EDITOR properly. For example,
I don't see any drawbacks so far. In fact, I'm wondering why not just wrap every
edpath
withshell_split
.Do I miss something?
The text was updated successfully, but these errors were encountered: