gcv / julia-snail

An Emacs development environment for Julia
GNU General Public License v3.0
230 stars 21 forks source link

`julia-snail-send-region` and `julia-snail-send-top-level-form` not module aware when called outside of main module file #17

Closed orialb closed 4 years ago

orialb commented 4 years ago

Hi, Thanks for continuing to invest time in this nice package!

I think I might encountered an issue with julia-snail-send-top-level and julia-snail-send-region when used with a module which includes several files.

Say I have the following module defined in TestSnail.jl:

module TestSnail

include("foo.jl")

end

where the contents of foo.jl are:

function foo()
    println("foo")
end
gcv commented 4 years ago

Should be fixed now in 9791582 and in MELPA. Please take a look.

orialb commented 4 years ago

I can confirm that this is fixed for me. Thanks for the quick fix!