Re: Gtags argument forwarding to plugins

Shigio YAMAGUCHI <[email protected]> Thu, 27 Aug 2020 20:37:32 +0900
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYp2ACEmh5q02=UAF2pUejFLD9YkvGGoJvggvNBz47ONZw@mail.gmail.com>
Hello,
> This feature will be a useful addition to avoid issues like this.

I agree with you. It's very useful.
How about adding the following environment variable?

UNIVERSAL_CTAGS_OPTIONS

I will add this feature.
Thank you for your request!

Regards,
Shigio

2020年8月26日(水) 21:34 Sundaram <[email protected]>:
>
> Hi
> I use Global with Universal Ctags plug-in to index C++ code. Universal Ctags has command line arguments to skip or define macros (-I or -D).
> However, Gtags is used to invoke ctags internally, is there any way to forward arguments from gtags to ctags or a plug-in in general? Is there an environmental variable which does that? I went through Global’s manually thoroughly but couldn’t find anything. I think GTAGS_OPTIONS is only to give it to gtags not to the underlying plug-in/parser.
> This feature will be a useful addition to avoid issues like this.
>
> What is your environment (OS)?
>
> Linux and macOS.
>
> Which version of GLOBAL are you using?
>
> 6.6.4
>
> Thanks!
> Sundaram



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB