Re: Not all languages enabled in Exuberant Tags

Shigio YAMAGUCHI <[email protected]> Thu, 23 Oct 2025 15:45:01 +0900
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYocbY_NM-1iGiD7S_CpD493GS6ZRYYa7gHkdstrqFqbqg@mail.gmail.com>
Hello,
I have fixed the bug. I think a lot of people have been bothered by this bu=
g.
Thank you for the report!

RCS file: /sources/global/global/plugin-factory/exuberant-ctags.c,v
retrieving revision 1.18
diff -c -r1.18 exuberant-ctags.c
*** plugin-factory/exuberant-ctags.c    7 May 2023 01:02:17 -0000       1.1=
8
--- plugin-factory/exuberant-ctags.c    23 Oct 2025 06:24:16 -0000
***************
*** 107,112 ****
--- 107,113 ----
  #else
        "--format=3D1 "
  #endif
+       "--languages=3Dall "
        "--tag-relative=3Dno "
        "-xu "
        "--filter "
***************
*** 188,193 ****
--- 189,195 ----
  #else
        "--format=3D1",
  #endif
+       "--languages=3Dall",
        "--tag-relative=3Dno",
        "-xu",
        "--filter",
cvs diff: Diffing script

Regards,
Shigio

On Mon, Oct 13, 2025 at 2:03=E2=80=AFAM Przemys=C5=82aw Alexander Kami=C5=
=84ski
<[email protected]> wrote:
>
> On Mon, Oct 13, 2025 at 00:59:33 (+0900), Shigio YAMAGUCHI wrote:
>
> > I finally understand.
> > You probably have something like this set to disable C:
> >
> > [~/.ctags.d/any.ctags]
> > -----------------------------------
> > --languages=3D-C
> > -----------------------------------
>
> I looked and I found 5 year old file:
>
> [~/.ctags.d/rust.ctags
> -----------------------------------
> --languages=3DRust
> -----------------------------------
>
> Which disabled everything else...
>
> > Right? With the above settings, I was able to reproduce
> > your results. It is a bug.
>
> Maybe not a bug, but poor UX.
>
> >
> > I agree with you. Since gtags only uses ctags as a parser,
> > I think it's easier to use if you ignore the ctags settings
> > and prioritize the gtags settings.
>
> Great!
>
> >
> > I'd like to wait a week or so to get other people's opinions
> > before I make any changes to the code.
>
> Of course. Thank you for looking into this. I want to write a post on
> GNU Global but thought about this as a stopper. Now I can proceed :)
>
> Best,
> Przemys=C5=82aw Alexander Kami=C5=84ski



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