emacs/lib-src
Eli Zaretskii 339ffd7986 New command-line options for 'etags'
This adds '--no-fallback-lang' and '--no-empty-file-entries'
options, and their opposites '--fallback-lang' and
'--empty-file-entries'.
* lib-src/etags.c (fallback_lang, empty_files): New toggles.
(main): Initialize them to 'true'.
(longopts) [!CTAGS]: Add the '--(no-)fallback-lang' and
'--(no-)empty-file-entries' options.
(find_entries): If 'fallback_lang' is false, don't attempt Fortran
and C/C++ fallbacks.
(print_help): Add help for new options.
(main): If 'empty_files' is false, don't output file entries for
files that have no tags.  (Bug#73484)

* doc/emacs/maintaining.texi (Create Tags Table):
* etc/NEWS:
* doc/man/etags.1: Document the new options.

* test/manual/etags/Makefile (check): Add test for new options.
* test/manual/etags/ETAGS.good_7: New file.
2024-10-08 15:39:33 +03:00
..
asset-directory-tool.c Prefer static_assert to verify 2024-08-22 00:51:55 +02:00
be_resources.cc ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
ctags.c
ebrowse.c Use c-ctype.h in lib-src 2024-09-17 16:57:58 -07:00
emacsclient.c Use c-ctype.h in lib-src 2024-09-17 16:57:58 -07:00
etags.c New command-line options for 'etags' 2024-10-08 15:39:33 +03:00
hexl.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
make-docfile.c Pacify gcc -Wmissing-variable-declarations 2024-05-11 18:46:27 -07:00
make-fingerprint.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in Port to GNU Make 03ecd94488b85adc38746ec3e7c2a297a522598e 2024-02-08 23:22:00 -08:00
movemail.c ; Eliminate more C++ comments 2024-08-17 22:04:01 +08:00
ntlib.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ntlib.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pop.c ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pop.h ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcs2log rcs2log now groks add-log-time-zone rule 2024-04-12 13:14:29 -07:00
README
seccomp-filter.c Be more systematic about parens in C source code 2024-01-20 17:28:53 -08:00
update-game-score.c Use c-ctype.h in lib-src 2024-09-17 16:57:58 -07:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.