Re: Q on global/gtags with rust codes
Shigio YAMAGUCHI <[email protected]> Thu, 19 Oct 2023 10:24:59 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYqFvFS4No=fq1KUdRyyFo2+WSW2RYbCC5XtscMonPD3hg@mail.gmail.com> |
Could you please try adding '--options=3DNONE' to the beginning? [/usr/local/share/gtags/script/pygments_parser.py] 142: self.process =3D subprocess.Popen([ctags_command, '-xu', '--tag-relative=3Dno',... | v 142: self.process =3D subprocess.Popen([ctags_command, '--options=3DNONE', '-xu', '--tag-relative=3Dno',... Regards, Shigio On Wed, Oct 18, 2023 at 11:19=E2=80=AFPM Makoto Harada <[email protected]>= wrote: > > Shigio-san, > > Thanks for your prompt reply and your help here. > > I made the change /usr/local/share/gtags/script/pygments_parser.py as > you suggested, > and did the same test, however it did not help unfortunately. > I got the same result before the change. > I also confirmed that /usr/local/share/gtags/script/pygments_parser.py > is called and executed. > > > > The cause of the problem was not in Universal Ctags, but in my insuffic= ient > > bug fixes for the following issues: > > > > Universal Ctags: Don't read config files; New 'ctagsoptfile' configurat= i > > Date: Fri, 07 Apr 2023 13:07:07 +0200 > > > > The workaround is still valid. > > I also tried with global older version, 6.6.7 and got the same result. > In my understanding, 6.6.7 was released before the fix above. > So, I'm suspecting that there might be another root cause... > > Makoto > > On 10/18/2023 2:39 AM, Shigio YAMAGUCHI wrote: > > Hello, > > I will correct my wrong statement. > > > >> The cause seems to be a change in Universal Ctags. > > The cause of the problem was not in Universal Ctags, but in my insuffic= ient > > bug fixes for the following issues: > > > > Universal Ctags: Don't read config files; New 'ctagsoptfile' configurat= i > > Date: Fri, 07 Apr 2023 13:07:07 +0200 > > > > The workaround is still valid. > > > > Regards, > > Shigio > > > > On Wed, Oct 18, 2023 at 1:16=E2=80=AFPM Shigio YAMAGUCHI <[email protected]= g> wrote: > >> Hello, > >> It found out that Pygments plug-in parser does not work now. > >> It's not limited to Rust. The cause seems to be a change in > >> Universal Ctags. > >> > >> To get it running, do the following: > >> > >> [/usr/local/share/gtags/script/pygments_parser.py] > >> 142: self.process =3D subprocess.Popen([ctags_command, '-xu', '--f= ilter', ... > >> | > >> v > >> 142: self.process =3D subprocess.Popen([ctags_command, '-xu', > >> '--tag-relative=3Dno', '--filter', ... > >> > >> Harada san, thank you for the report! > >> > >> Regards, > >> Shigio --=20 Shigio YAMAGUCHI <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB