Hi,
> would you consider checking for alternative local
> configuration filename: ".gtags.conf"?
OK. I also dislike a name '.globalrc'.
But it may be also undesirable to create a new dot file.
The XDG guidelines recommend that applications store their configuration
in $XDG_CONFIG_HOME/<app>. How about following this?
XDG Base Directory Specification
According to this specification, the configuration priority of GLOBAL seems to
become like follows:
(1) --gtagsconf file
(2) $GTAGSCONF
(3) [project root]/gtags.conf
(4) $HOME/.globalrc
(5) $XDG_CONFIG_HOME/gtags/gtags.conf <= New
(6) $HOME/.config/gtags/gtags.conf <= New
(7) /etc/gtags.conf
(8) [sysconfdir]/gtags.conf
What do you think?
Regards,
Shigio