[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Expansion of tc variable in gtags.conf
From: |
Leo Liu |
Subject: |
Re: [RFC] Expansion of tc variable in gtags.conf |
Date: |
Mon, 23 Nov 2015 15:11:28 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (OS X 10.11.1) |
On 2015-11-20 22:55 +0800, Shigio YAMAGUCHI wrote:
> I'm thinking expansion of tc variable in gtags.conf.
First, I don't like termcap(5) configure file very much. It seems like a
format of last century and it looks messy, ugly and unfriendly.
> 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)
Having to specify the file (ie ~/.globalrc) is kinda wrong. There are
three configuration scopes ordered from small to large:
1. project
2. user
3. system
`project' configuration should inherit from `user' and `user' from
`system'. This should be done automatically without users specifying
anything.
HTH,
Leo