Search code examples
emacscygwinctagsetag

Emacs : problem with tags file?


I am using ctags to create tags for my Emacs to read symbols from, using cygwin.

Emacs says "visit-tags-table-buffer: File /home/superman/tags is not a valid tags table"

here are my options to find files and generate tags.

$>find . -type f -regex '.*\.[hc]\|.*\.cpp' -print0 |
  xargs -0 ctags -e --extra=+q --fields=+fksaiS --c++-kinds=+px --append -f ~/tags

Solution

  • I think "ctags" is the wrong program. (I'm not sure what it's for; I suspect it's obsolete).

    Emacs should have come with a program called "etags"; use that instead.