On Thu, 11 Jul 2013 01:09:27 +1000
Jason Hood <[email protected]> wrote:

> On 5/07/2013 15:11, Shigio YAMAGUCHI wrote:
> > How about making new environment variable GLOBAL_OPTIONS instead of
> > GTAGSCOLOR? It is similar to GREP_OPTIONS of grep(1). You can use
> >         $ export GLOBAL_OPTIONS='--path-style=shorter --basic-regexp 
> > --ignore-case'
> 
> Find attached a patch that implements both GLOBAL_OPTIONS (removing
> GTAGSTHROUGH and GTAGSCOLOR) and --color=never|always|auto (-C is the
> same as --color=auto).  Given the above example, I've also added
> -E,--ext-regexp, -m,--match-case and -S,--project to allow overriding of
> GLOBAL_OPTIONS, restoring defaults.

Thank you. This code will become a present to GLOBAL users.

Some comments:

[--ext-regexp]

It seems that POSIX grep has '--extended-regexp' option.
Is there any problem if I use the same option instead of '--ext-regexp'?

[GTAGSTHROUGH]
I would like to announce 'GTAGSTHROUGH is deprecated' and remove it about
one year after so that users might not be surprised.
-- 
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