Re: Universal Ctags: Don't read config files; New 'ctagsoptfile' configuration variable
Olivier Certner <[email protected]> Tue, 02 May 2023 10:58:29 +0200
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <1981960.n1Ql7ez4OO@ravel> |
Ah, I forgot something. '--tag-relative' is applicable to Exuberant Ctags too, so the override should be after the '#endif'. See attached patch. Regards. -- Olivier Certner
universal_ctags-tag_relative.patch
(text/x-patch, 685 B)
Index: plugin-factory/exuberant-ctags.c =================================================================== RCS file: /home/olivier/Prog/Projets/Externes/Xref/global/repo/global/plugin-factory/exuberant-ctags.c,v retrieving revision 1.15 diff -u -r1.15 exuberant-ctags.c --- plugin-factory/exuberant-ctags.c 25 Oct 2021 23:00:31 -0000 1.15 +++ plugin-factory/exuberant-ctags.c 1 May 2023 15:27:11 -0000 @@ -105,6 +105,7 @@ #else "--format=1 " #endif + "--tag-relative=no " "-xu " "--filter " "\"--filter-terminator=" TERMINATOR "\n\" " @@ -185,6 +186,7 @@ #else "--format=1", #endif + "--tag-relative=no", "-xu", "--filter", "--filter-terminator=" TERMINATOR "\n",