]> git.eshelyaron.com Git - emacs.git/commit
Remove ctags program
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Mar 2025 18:19:41 +0000 (11:19 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Mar 2025 19:33:43 +0000 (20:33 +0100)
commit34d88fb6d9181b277f8b0db6beb85d1a501d0b9c
tree4bc65bfdc9be92699698cc9084175270eac90ce9
parent90d8ab215b7d36f281c593a34d331d2c92060cf0
Remove ctags program

Remove our old ctags and suggest Universal Ctags instead.
This fixes a FIXME in lib-src/Makefile.in and speeds up compilation
quite a bit on my older CPU when I compile with --enable-gcc-warnings.
It also lessens installation and runtime footprint. (Bug#76322)
* .gitignore: Remove lib-src/ctags.
* admin/authors.el (authors-renamed-files-alist): Remove ctags.1.
* admin/check-man-pages: ctags.1 is no longer a special case.
* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove ctags.
* cross/Makefile.in (LIBSRC_BINARIES): Remove lib-src/ctags.
* doc/man/ctags.1, lib-src/ctags.c: Remove.
* java/Makefile.in (CROSS_LIBSRC_BINS): Remove ctags.
* lib-src/Makefile.in (INSTALLABLES): Remove ctags${EXEEXT}.
(ctags${EXEEXT}): Remove.
* lib-src/etags.c (CTAGS): Remove.  All uses replaced by ...
(ctags): ... this new static var.
(STDIN): Remove macro.  All uses replaced by new STDIN_OPTION constant.
(CTAGS_OPTION, STDIN_OPTION): New contants.
(longopts): New --ctags option.
(ctags_default_C_help): New constant,
to override default_C_help at runtime.
(default_C_help): Now always the etags version.
(C_LANG_NAMES_INDEX): New macro.
(print_language_names): Do not assume etags.
(PROGRAM_NAME): Remove.  All uses removed.
(print_help): Document --ctags if PRINT_UNDOCUMENTED_OPTIONS_HELP.
(main): Support new --ctags option, and support all [ce]tags options.
* test/manual/etags/Makefile (CTAGS_PROG):
Now etags --ctags, since there is no longer a ctags.

(cherry picked from commit 25d757535884da71ace29fd80b8b24dd3a8f9017)
19 files changed:
.gitignore
INSTALL
Makefile.in
admin/authors.el
admin/check-man-pages
admin/quick-install-emacs
cross/Makefile.in
doc/emacs/android.texi
doc/lispref/processes.texi
doc/man/ctags.1 [deleted file]
doc/man/etags.1
etc/PROBLEMS
java/Makefile.in
lib-src/Makefile.in
lib-src/ctags.c [deleted file]
lib-src/etags.c
nt/README
nt/README.W32
src/callproc.c