On 2014-01-22 00:40 +0800, Jason Hood wrote: > Find attached a patch that implements both GLOBAL_OPTIONS (marking > GTAGSTHROUGH as deprecated) and --color=never|always|auto (-C and > --color are the same as --color=auto) for 6.2.10
I wonder if it is time to have a configuration hierarchy, for example: GTAGSROOT/.globalrc -> $HOME/.globalrc -> SYSTEM_DIR/globalrc -> program defaults in the order of most to least specific. The configuration is constructed by all those files and allow options in more specific files to override less ones. The config file doesn't need to be named .globalrc or globalrc but don't use two names i.e. .globalrc and gtags.conf. Keep environment variables to minimal and prefer configuration options. Give 'global' ability to set and get configuration options, dump configuration for debugging etc. A good practical example is 'git config'. Thoughts? Leo _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
