Many thanks for a reply. I see your point and will find out the better way
to get the list. Would be better to mention it in the gtag manual? :-)

Many thanks,
Kit
------
Sorry for a terse reply or typo as sent from a mobile.

2016-06-16 15:15 GMT+01:00 Shigio YAMAGUCHI <[email protected]>:

> Hi,
> > This may be suggestions for gtag.
> >
> > I have source tree which has many sym links and sub trees
> > which I do not want to parse. Gtags has a "skip" feature but
> > it's limited and here are suggestions.
> >
> > 1. Option for not following sym link.
> > Currently, follows blindly and increases tag db size.
>
> Please try this:
> $ find -type -f -print | gtags -f -
>
> > 1. No glob on skip path.
> > Since not able to use glob on path name so have to list out all
> > names explicitly which could have too many.
>
> The skip variable is an old facility. I'd like to suggest -f (--file)
> option, which can be combined with UNIX's find(1) command.
> Since find(1) has rich options to select files, you can do everything.
> This technique can also be applied to any other tagging systems like
> ctags, cscope, and etc.
>
> > 3. No multiple skip setting.
> > Not able to have "skip" variable more than one in the conf and
> > ends up long single line when there are many to skip. For example,
>
> All values of skip, langmap and gtags_parser are adopted and connected
> respectively. (man gtags.conf)
>
> Regards,
> Shigio
>
>
> 2016-06-16 22:37 GMT+09:00 Park Kit <[email protected]>:
>
>>
>> Hi,
>>
>> This may be suggestions for gtag.
>>
>> I have source tree which has many sym links and sub trees which I do not
>> want to parse. Gtags has a "skip" feature but it's limited and here are
>> suggestions.
>>
>> 1. Option for not following sym link.
>> Currently, follows blindly and increases tag db size.
>>
>> 1. No glob on skip path.
>> Since not able to use glob on path name so have to list out all names
>> explicitly which could have too many.
>>
>> 3. No multiple skip setting.
>> Not able to have "skip" variable more than one in the conf and ends up
>> long single line when there are many to skip. For example,
>>
>> # for sub folder x
>> skip=gggg
>>
>> # for sub folder y
>> skip=xxxx
>>
>> Is there any other easy way to filter out targets files/directories so
>> that can have smaller tag db file and faster running?
>>
>> Many thanks,
>> Kit
>> ------
>> Sorry for a terse reply or typo as sent from a mobile.
>>
>>
>
>
> --
> 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