help-global
[Top][All Lists]
Advanced

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

Re: The globalrc file,


From: Suresh Govindachar
Subject: Re: The globalrc file,
Date: Sat, 14 Jun 2014 20:42:51 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 6/14/2014 7:56 PM, Tama Communications Corp. wrote:
 > Question 1:  In the above, is the "cd <project>" required or
 > can the command "gtags -f <file> <db directory>" be issued from any
directory?
 > With version 6.2.11, gtags failed without the "cd";  I can try with
6.3 on Monday.

"cd <project>" is required.

 > Question 2:  how will global know where the data-base is for each gvim?

Usually, it exists in the project root directory.
Why don't you invoke gtags simply as follows?

Sorry if Question (2) was not clear. Question (2) is about global, not about gtags. To recap from previous email:

  Data base for project_1 is at <dbpath>/prj_1/
  Data base for project_2 is at <dbpath>/prj_2/

  Source for project_1 is at <first_path>/prj1
  Source for project_2 is at <some_other_totally_different_path>/prj_2

Inside one gvim, do ":cd <first_path>/prj1"

Inside other gvim, do ":cd <some_other_totally_different_path>/prj_2"

Now how to use global for the two projects from gvim?

Thanks,

--Suresh





reply via email to

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