I am not sure if this helps you but with the @edit macro you get taken 
directly to the source code of the method.

For example

@edit +(1,1)

@edit sin(pi)



On Thursday, April 23, 2015 at 1:29:06 PM UTC+2, Tamas Papp wrote:
>
> 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