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

Reply via email to