Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 984
Ramadheer Singh Avatar asked May 06 '10 23:05

Ramadheer Singh


1 Answers

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.

like image 72
offby1 Avatar answered Oct 27 '22 16:10

offby1