Re: The globalrc file,

Suresh Govindachar <[email protected]> Sat, 14 Jun 2014 20:42:51 -0700
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
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