|
From: | Gautam Thaker |
Subject: | on ordering the entries returned by global. |
Date: | Sun, 24 May 2015 11:35:23 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
I use global (mostly w/ ggtags in emacs.) Work quite well, thanks. I have one feature request/idea. In a large software system there are often 10s of function definitions w/ the same name. Global finds them all, but does not offer to order them in any sense of "nearness" to the place where global is being called from. It would be nice if global had an option where it would find matches as it does w/ the "-l" option (in present directory or below), but if no entries are found it would then go up one directory and repeat this process till at least 1 definition is found. This feature would greatly help manage navigation in large source trees. I asked author of "ggtags" itself if this feature can be implemented in ggtags, and his reply was: "Ordering is harder. We have to wait until getting all matches before re-ordering it. At the moment, ggtags is async by means of compile.el . I think this feature might be best
implemented in global itself."Again, thanks for "global". Gautam |
[Prev in Thread] | Current Thread | [Next in Thread] |