> 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.
You are right. But it's an another issue. > 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. There are some demerits: o It is not upper compatible. I'm certain that the user will be surprised to new behavior. o It makes a performance fall for global(1) in particular. Because global(1) always must read three files in addition to the tag file. o It forces a object-oriented thought on users. Even if 'inheritance' is a good method, it is spicy for users to be forced. Isn't it better to leave a programming method to users? Because users can program 'inheritance' freely using 'tc=label@file'. This solution does not require any new concept like 'scope', 'user', 'system', 'inheritance' and etc. Regards, Shigio 2015-11-23 16:11 GMT+09:00 Leo Liu <[email protected]>: > 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 > > > _______________________________________________ > Bug-global mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global > -- 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
