so, I am trying to get a jump on leo liu and trying to make use of
global's "-N" option.  However, I am seeing this that I don't quite
understand. (Also, if you think OK can you pl fwd this to Leo Liu? I
don't have his email addr. and don't believe this point is worth opening
an 'issue' i github for ggtags - I noticed you two are on many same
threads, and you may be able to fwd to him.)

My project root is:

/proj/home/gthaker/OpenSplice_from_src/OpenSpliceDDS

I am working deep in it at:

/proj/home/gthaker/OpenSplice_from_src/OpenSpliceDDS/install/HDE/x86.linux-debug/examples/dcps/HelloWorld/c/src

I from ........./c/src above I invoke this "-N" option things work well
(nearness is followed.)

mint17-32bits> global  -N createParticipant
DDSEntitiesManager.c
../../cpp/src/DDSEntityManager.cpp
../../java/src/DDSEntityManager.java
../../../BuiltInTopics/c/src/DDSEntitiesManager.c
../../../BuiltInTopics/cpp/src/DDSEntityManager.cpp

However, ggtags.el ends up invoking it from root of project as:



mint17-32bits> global  -N
--from-here=55:install/HDE/x86.linux-debug/examples/dcps/HelloWorld/c/src/HelloWorldDataPublisher.c
createParticipant
examples/dcps/BuiltInTopics/c/src/DDSEntitiesManager.c
examples/dcps/BuiltInTopics/cpp/src/DDSEntityManager.cpp
examples/dcps/ContentFilteredTopic/c/src/DDSEntitiesManager.c
examples/dcps/ContentFilteredTopic/cpp/src/DDSEntityManager.cpp
examples/dcps/ContentFilteredTopic/java/src/DDSEntityManager.java
examples/dcps/Durability/c/src/DDSEntitiesManager.c
examples/dcps/Durability/cpp/src/DDSEntityManager.cpp
examples/dcps/Durability/java/src/DDSEntityManager.java
examples/dcps/HelloWorld/c/src/DDSEntitiesManager.c
....

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.

Gautam







_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to