Re: File, Line Number and Usage Info

2009-01-22 Thread Peter Wolf
Ooops! How embarrassing <:-( Yes, that's exactly what I am doing. It did not occur to me that there is extra information embedded in the reply that marks it as being part of a thread. Sorry, won't happen again P lpetit wrote: > Peter, > > A weird thing seems to happen often those days,

Re: File, Line Number and Usage Info

2009-01-22 Thread lpetit
Peter, A weird thing seems to happen often those days, and I have remarked it's related to you. You start a new post, but it appears to be in the continuation of a previous one, with the subject changed. This does not look good to me. Are you doing something like this to start a new post : "ope

Re: File, Line Number and Usage Info

2009-01-22 Thread lpetit
Hello, Here is how I get an hierarchical data structure of information on ns in clojure-dev : The tree has really just 3 levels : one root node representing all ns, one child node of the root node representing one ns each, one child node per ns node for ns interned symbols. Each node is represen

Re: File, Line Number and Usage Info

2009-01-22 Thread Chouser
On Thu, Jan 22, 2009 at 1:20 PM, Peter Wolf wrote: > > Here's a dumb question which has been answered before... but I can't > find it in the docs. user=> (map (meta (var take)) [:file :line]) ("core.clj" 1434) Which is to say, the file and line number are stored in the metadata of the Var. The

File, Line Number and Usage Info

2009-01-22 Thread Peter Wolf
Here's a dumb question which has been answered before... but I can't find it in the docs. How does one find out the file and line number upon which a symbol was defined? I want to use it for "go-to-defintion" in the IntelliJ plugin. Also, is there any way to find all the code that is referenc