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       
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:Rust

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

    [emacs-dev] xlii@omega> ctags --languages=all -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 Universal 
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, 
+gnulib_regex, +iconv, +option-directory, +xpath, +yaml, 
+case-insensitive-filenames, +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ław Alexander Kamiński

Reply via email to