Hi all,
I have committed a piece of code which realizes the coloring function.
Please try the following command line:

$ global --color=always -x main

It supports the followings:
o --color option which similar to grep(1)
o GREP_COLOR environment variable

The --color option is effective to the following commands:
        <default command>
        -f command
        -g command
        -I command
        -P command

These are not supported this time:
o -C, --colour option
o GREP_COLORS environment variable

The followings are considered to be another matters.
o Options like -E(--extended-regexp), -N(--project), -m(--match-case)
o GLOBAL_OPTIONS (GTAGS_OPTIONS, HTAGS_OPTIONS)
They need to be discussed, respectively. I will write RFCs
for them.

I myself wrote the code. In fact, I couldn't make full use of Jason's
code by my procedural defect (I apologized to him). However, his code
was a big help, and showed the way to which I should go. I believe that
I have realized a thing which is almost the same function as his patch.
Thank you Jason!

Welcome to bug report.

-- 
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