Re: Not all languages enabled in Exuberant Tags
Shigio YAMAGUCHI <[email protected]> Mon, 13 Oct 2025 00:59:33 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYomdu6JRVr1hCmt5tzp1Ab9aaZ=CxfCDb2hk4AifgWhmQ@mail.gmail.com> |
I finally understand. You probably have something like this set to disable C: [~/.ctags.d/any.ctags] ----------------------------------- --languages=3D-C ----------------------------------- Right? With the above settings, I was able to reproduce your results. It is a bug. 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. I'd like to wait a week or so to get other people's opinions before I make any changes to the code. Regards, Shigio On Sun, Oct 12, 2025 at 5:24=E2=80=AFPM Przemys=C5=82aw Alexander Kami=C5= =84ski <[email protected]> wrote: > > On Sun, Oct 12, 2025 at 09:53:35 (+0900), Shigio YAMAGUCHI wrote: > > > Hello, > > Does quoting the pattern make any difference? > > > > find . -iname *.c ---> find . -iname '*.c' > > No, this is still the same, this can be observed also without find at > all, i.e. > > [emacs-dev] xlii@omega> ctags -f - test/manual/etags/rs-src/test.rs > IpAddrKind test/manual/etags/rs-src/test.rs /^enum IpAddrKind= {$/;" g language:Rust > V4 test/manual/etags/rs-src/test.rs /^ V4,$/;" e l= anguage:Rust enum:IpAddrKind > V6 test/manual/etags/rs-src/test.rs /^ V6,$/;" e l= anguage:Rust enum:IpAddrKind > main test/manual/etags/rs-src/test.rs /^fn main() {$/;"= f language:Rust > test test/manual/etags/rs-src/test.rs /^mod test;$/;" n= language:Rust > test1 test/manual/etags/rs-src/test.rs /^fn test1() {$/;= " f language:Rust > > [emacs-dev] xlii@omega> ctags -f - src/alloc.c > [emacs-dev] xlii@omega> > > [emacs-dev] xlii@omega> ctags --languages=3Dall -f - src/alloc.c | he= ad -4 > ABLOCKS_BASE src/alloc.c /^#define ABLOCKS_BASE(/;" d= language:C file: > ABLOCKS_BUSY src/alloc.c /^#define ABLOCKS_BUSY(/;" d= language:C file: > ABLOCKS_BYTES src/alloc.c /^#define ABLOCKS_BYTES /;" d= language:C file: > ABLOCKS_SIZE src/alloc.c /^#define ABLOCKS_SIZE /;" d= language:C file: > > [emacs-dev] xlii@omega> ctags --version > Universal Ctags 6.2.0(p6.2.20250810.0), Copyright (C) 2015-2025 Unive= rsal Ctags Team > Universal Ctags is derived from Exuberant Ctags. > Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert > Compiled: Aug 13 2025, 19:44:31 > URL: https://ctags.io/ > Output version: 1.1 > Optional compiled features: +wildcards, +regex, +gnulib_fnmatch, +g= nulib_regex, +iconv, +option-directory, +xpath, +yaml, +case-insensitive-fi= lenames, +packcc, +optscript, +pcre2 > > I think it makes sense for universal tags to have some languages disabled= , > but also I believe that in GNU Global case everything should be found as > long as it is configured and fed. > > 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