Re: who_calls rewrite
Bill Clementson <[email protected]> Mon, 03 Sep 2007 10:47:12 -0700
| Newsgroups | gmane.comp.lang.erlang.distel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Matthias, Matthias Radestock <[email protected]> writes: > I found distel's "who calls" (C-c C-d w) feature rather cumbersome to > use. It takes ages to start the first time and then doesn't update when > the code changes. Plus the code for it is quite horrible and brittle. > > So I replaced all ~250 lines of it with a single call to xref:q/2. See > the attached patch. > > Invoking "who calls" for the first time still takes a while, but less > than previously. And code changes are tracked properly. Very nice. This is much faster and (with my limited testing) seems to produce the same results. I've committed your patch. - Bill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/