bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

on playing around with "-N" option.


From: Gautam Thaker
Subject: on playing around with "-N" option.
Date: Sun, 07 Jun 2015 07:08:59 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]