Bug#968231: global: does not index definitions with pygments anymore

2020-08-13 Thread Gregory Heytings
Hi Punit, * When used, pygments only provide reference tags (GRTAGS) not definition tags That's correct AFAIK. * The definitions were provided by /usr/bin/ctags (in 6.4.4-3). "ctags" is usually a symlink pointing to one of few possible ctags implementations - ctags.emacs,

Bug#968231: global: does not index definitions with pygments anymore

2020-08-12 Thread Punit Agrawal
On Wed, Aug 12, 2020 at 7:18 AM Punit Agrawal wrote: [...] > I will look into this (hopefully later today) and look for a way to > fix the regression. I looked into this some more and have a somewhat better understanding of the issue - * When used, pygments only provide reference tags

Bug#968231: global: does not index definitions with pygments anymore

2020-08-11 Thread Punit Agrawal
Hi Gregory, On Tue, Aug 11, 2020 at 11:48 PM Gregory Heytings wrote: [...] > The bug is a modification in gtags.conf: > > pygments-parser|Pygments plug-in parser:\ > :tc=common:\ > - :ctagscom=/usr/bin/ctags:\ > + :ctagscom=/usr/bin/ctags-exuberant:\ >

Bug#968231: global: does not index definitions with pygments anymore

2020-08-11 Thread Gregory Heytings
Hi Punit, The bug is a modification in gtags.conf: pygments-parser|Pygments plug-in parser:\ :tc=common:\ - :ctagscom=/usr/bin/ctags:\ + :ctagscom=/usr/bin/ctags-exuberant:\ :pygmentslib=$libdir/gtags/pygments-parser.la:\ :langmap=ABAP\:.abap:\

Bug#968231: global: does not index definitions with pygments anymore

2020-08-11 Thread Gregory Heytings
Hi Punit, On my computer this is the output: echo 'int main(){return 0;}' > main.c export GTAGSLABEL=pygments sudo dpkg -i global_6.6.4-3_amd64.deb gtags -v [Tue Aug 11 12:58:15 UTC 2020] Gtags started. Using configuration file '/etc/gtags/gtags.conf'. Using configuration label 'pygments'.

Bug#968231: global: does not index definitions with pygments anymore

2020-08-11 Thread Gregory Heytings
Package: global Version: 6.6.4-4 Severity: important X-Debbugs-Cc: g...@sdf.org Dear Maintainer, Version 6.6.4-4 of the package does not index definitions with GTAGSLABEL=pygments. Version 6.6.4-3 did. Steps to reproduce the bug: echo 'int main(){return 0;}' > main.c export

Bug#968231: global: does not index definitions with pygments anymore

2020-08-11 Thread Punit Agrawal
Hi Gregory, Thank you for the bug report. I can't seem to reproduce the failure you are seeing. See excerpt below - % echo 'int main(){return 0;}' > main.c export GTAGSLABEL=pygments gtags gtags -d GTAGS | grep -v '^ ' main1 @n 1 int @n(){return 0;} What is the output of gtags -v? For