help-global
[Top][All Lists]
Advanced

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

Re: The globalrc file,


From: Tama Communications Corp.
Subject: Re: The globalrc file,
Date: Sun, 15 Jun 2014 09:03:42 +0900

Hi,
I have moved to the bug mailing list from the help mailing list,
since the contents of talk exceeded the range of help mailing list.

> I understand why GTAGSCONF and GTAGSLABEL cannot be specified
> in the globalrc file;  what's the reason why GTAGSROOT and
> GTAGSDBPATH are not supported via globalrc file?

It is a reason for implementation.
Now the algorithm is as follows.

At first, the system recognizes the project directory
by GTAGS file kr GTAGSROOT environment variable

Next, the system loads one of the following configuration files.
(1) $GTAGSCONF
(2) [project root]/gtags.conf
(3) $HOME/.globalrc
(4) /etc/gtags.conf
(5) [sysconfdir]/gtags.conf

Since "(2) [project root]/gtags.conf" has a higher priority
than "(3) $HOME/.globalrc", we cannot load $HOME/.globalrc
before deciding the project root directory.

In the contrary, is there a reason to specify GTAGSROOT or
GTAGSDBPATH in the configuration file?


--
Shigio YAMAGUCHI - Tama Communications Corporation

reply via email to

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