Re: [Distel-hackers] who_calls rewrite
Status: Beta
Brought to you by:
lukeg
From: Matthias R. <mat...@so...> - 2007-09-03 18:08:08
|
Bill, Bill Clementson wrote: > Very nice. This is much faster and (with my limited testing) seems to > produce the same results. I've committed your patch. Cheers. On a related note, who_calls actually returns the line number of the call sites but this currently isn't displayed/used. This was the case in the previous version too. There is a comment in the code saying "FIXME: Use line number for a hyperlink.". I reckon one way to implement something sensible along these lines is to construct an, in Emacs-lingo, "overlay" for the displayed m:f/a with the line number information. We can then look for this invisible piece of information in "M-." (aka erl-find-source-under-point) and, if present, navigate to it. Any other suggestions? Matthias. |