Hello,
I have fixed the bug. I think a lot of people have been bothered by this bug.
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.18
--- plugin-factory/exuberant-ctags.c 23 Oct 2025 06:24:16 -0000
***************
*** 107,112 ****
--- 107,113 ----
#else
"--format=1 "
#endif
+ "--languages=all "
"--tag-relative=no "
"-xu "
"--filter "
***************
*** 188,193 ****
--- 189,195 ----
#else
"--format=1",
#endif
+ "--languages=all",
"--tag-relative=no",
"-xu",
"--filter",
cvs diff: Diffing script
Regards,
Shigio
On Mon, Oct 13, 2025 at 2:03 AM Przemysław Alexander Kamiński
<[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=-C
> > -----------------------------------
>
> I looked and I found 5 year old file:
>
> [~/.ctags.d/rust.ctags
> -----------------------------------
> --languages=Rust
> -----------------------------------
>
> 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ław Alexander Kamiński
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB