All notes
Etags

Quick start

Where is etags binary

The binary etags exists in the same bin directory as emacs. The Ebrowse facility is similar to etags but specifically tailored for C++.

Create ETAGS

gnu.org: create tags table.


# Create ETAGS.
find . -name "*.[chCH]" -print | etags -

M-x visit-tags-table
    Reads the tags table file name as an argument, with TAGS in the default directory as the default. It stores the file name in the variable tags-file-name.

(setq tags-table-list
  '("~/emacs" "/usr/local/lib/emacs/src"))

; NOTE: Do not set both tags-file-name and tags-table-list.