tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
170 stars 35 forks source link

have julia-repl-cd also set default-directory #55

Closed dellison closed 5 years ago

dellison commented 5 years ago

I found myself getting a little confused about where I was (so to speak) when I realized that C-c C-p (julia-repl-cd) was updating the "working directory" for the julia process, but not for emacs. For example, C-c C-p changes the result of julia> pwd() in julia, but it does not change the result of M-x pwd. Maybe this is just a personal preference, but I find things much easier when emacs moves the buffer's location to match the julia process.

tpapp commented 5 years ago

Thanks for the PR, merging.