Hi,
> However, ggtags.el ends up invoking it from root of project as:
...
> And in this case "global" does not return
> "examples/dcps/HelloWorld/c/src/DDSEntitiesManager.c"
> as first choice though this is nearest.
>
> Just sharing in hopes this is worthy of a comment.

How about adding optional argument?

$ global --nearness main # nearness sort based on the current directory
$ global --nearness=<start point directory>
# nearness sort based on the start point directory

Regards,
Shigio
-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to