Hello,
> 1. The last few lines of /usr/share/gtags/PLUGIN_HOWTO.pygments should 
> probably be deleted.

You are right. It should be maintained as a part of GNU Global.

> Line 30 of /usr/share/gtags/script/pygments_parser.py is ... EXUBERANT_CTAGS 
> = "/usr/bin/etags"

That's obviously wrong and different from the original.
You should suggest it on Manjaro mailing list instead of here.

Regards,
Shigio

On Sun, Nov 19, 2023 at 12:39 AM Mandar Mitra <[email protected]> wrote:
>
> I'm running global 6.6.10-1 on Arch / Manjaro Linux. Just wanted to check 
> about a couple of issues on this discussion list before bothering the 
> developers.
>
>
> 1. The last few lines of /usr/share/gtags/PLUGIN_HOWTO.pygments should 
> probably be deleted. It currently reads:
>
> <begin quote>
> Pygments plug-in parser was written by Yoshitaro MAKISE.
> For detals, please see the following site:
> [https://github.com/yoshizow/global-pygments-plugin]
>
> Though it is considered a separate package, not part of GLOBAL proper,
> we included it for user's convenience.
> <end quote>
>
> But https://github.com/yoshizow/global-pygments-plugin says
>
> <begin quote>
> IMPORTANT NOTICE!
>
> global-pygments-plugin is now bundled with GNU GLOBAL.
> The development continues in the GLOBAL community and you can find the latest 
> code there.
>
> This repository is no longer maintained and just remain for reference 
> purposes.
> <end quote>
>
>
> 2. Line 30 of /usr/share/gtags/script/pygments_parser.py is
>
> EXUBERANT_CTAGS = "/usr/bin/etags"
>
> For me, etags is provided by the emacs package, instead of ctags / 
> universal-ctags. etags does not accept the -x flag (line 142 of 
> pygments_parser.py).
>
> So the command "gtags --gtagslabel=pygments" gives an error, while "gtags 
> --gtagslabel=universal-ctags" works without problems.
>
> Would it be a good idea to just change etags to ctags in the above definition?
>
>
> Thanks,
> Mandar.
>


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

Reply via email to