Re: [Distel-hackers] who_calls rewrite
Status: Beta
Brought to you by:
lukeg
From: Bill C. <bil...@gm...> - 2007-09-03 19:09:43
|
Hi Matthias, Matthias Radestock <mat...@so...> writes: > Bill Clementson wrote: >>> 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. >> >> I thought that "overlays" were more for display properties and that >> "text-properties" would be what you would want to use for storing the >> line# and source file of any matches. > > If you say so. I am not an emacs hacker. > >> Are you suggesting that "M-." be used to go to the "call"? Normally, >> "M-." is used to go to the definition, not a reference. Why not just >> use "RET"? You could have a separate RET key binding for the who-calls >> results buffer. > > That would be better indeed. It still has to do much of the same work > as "M-.", so I was just trying to cut some corners. > > Any chance you could have a go at implementing this? Not in the short term. I've taken a bit of a break from Erlang due to other commitments. It shouldn't be a difficult hack though, so maybe someone else would like to take it on? - Bill |