Re: Not all languages enabled in Exuberant Tags

Przemysław Alexander Kamiński <[email protected]> Sun, 12 Oct 2025 10:24:14 +0200
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <[email protected]>
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=20
    IpAddrKind	test/manual/etags/rs-src/test.rs	/^enum IpAddrKind {$/;"	g	l=
anguage:Rust
    V4	test/manual/etags/rs-src/test.rs	/^    V4,$/;"	e	language:Rust	enum:=
IpAddrKind
    V6	test/manual/etags/rs-src/test.rs	/^    V6,$/;"	e	language: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:Ru=
st

    [emacs-dev] xlii@omega> ctags -f - src/alloc.c=20
    [emacs-dev] xlii@omega>

    [emacs-dev] xlii@omega> ctags --languages=3Dall -f - src/alloc.c | head=
 -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 Univers=
al 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, +gnu=
lib_regex, +iconv, +option-directory, +xpath, +yaml, +case-insensitive-file=
names, +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