[RFC] Expansion of tc variable in gtags.conf

Shigio YAMAGUCHI <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYrKeFwimjz10jDR9iRa-owbdjiJmbFx_Z=X5qv0kdHu6A@mail.gmail.com>
Hi,
I'm thinking expansion of tc variable in gtags.conf.
I would like to change the spec as follows:

Current spec:
        tc=<label>
New spec:
        tc=<label>[@<file>]

New specification enables you to specify another configuration file.
Using this syntax, you can inherit your default setting.

[~/.globalrc] (default setting)
+-------------------------------------------
|default:GREP_COLOR='31;43;4':

Example1: inherit default setting

        [project's gtags.conf]
        +-------------------------------------------
        |default: tc=gtags:tc=default@~/.globalrc:

Example2: override default setting

        [gtags.conf]
        +-------------------------------------------
        |default:GREP_COLOR='32;41':tc=gtags:tc=default@~/.globalrc:

Is this useful?
Is there any problem?

Regards,
Shigio
-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.