Hi,

I am using the Debian nighly package for Julia, which includes the
sources.

methods (actually, show(io::IO,m::Method)) prints relative paths for
Base methods, eg

julia> methods(methods)
# 4 methods for generic function "methods":
methods(f::Function,t::ANY) at reflection.jl:104
methods(f::Function) at reflection.jl:133
methods(f::ANY,t::ANY) at reflection.jl:105
methods(x::ANY) at reflection.jl:139

I wonder if there is a way to print absolute paths, ie somehow tell
Julia that its base directory is /usr/share/julia/base/, and let show
prepend that to the relative paths.

I would find this useful since in Emacs/ESS I can open the referenced
file easily, so this would allow me to study sources quickly.

Best,

Tamas

Reply via email to