Re: on playing around with "-N" option.

Shigio YAMAGUCHI <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYq0zCydU64Lzo-RKP+VER0+HGW3fQG_Hy9qi2YnnPJ9DA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.