On Fri, Jun 06, 2008 at 06:52:53PM +0400, Alexandra N. Kossovsky wrote: > I'm using exuberant-ctags to generate ctags file for the Trac project > (written in python), and use the tags file from vim. > In etch, it worked perfectly. In lenny, I see following error: > bash$ /usr/bin/ctags-exuberant -R . > ctags-exuberant: Warning: ignoring null tag in trac/transas/ticket_class.py > ctags-exuberant: Unexpected end of file: trac/htdocs/js/blame.js > bash$ > > After that, vim complains "Tags file not sorted: tags" and can't find > any existing tags. > "LC_ALL=C sort tags >tags.sorted && mv tags.sorted tags" solves my > problem, but it is not very convenient way to generate tags file... > If ctags can't parse a file, it is OK to skip it; it is not OK to > prevent tags generation for all the tree. > > I'm attaching trac/htdocs/js/blame.js file.
I don't seem to be able to reproduce this with your attached file. Perhaps you can help me? $ ls -Rl .: total 4 drwxr-xr-x 3 cjwatson cjwatson 4096 2008-06-08 18:29 trac ./trac: total 4 drwxr-xr-x 3 cjwatson cjwatson 4096 2008-06-08 18:29 htdocs ./trac/htdocs: total 4 drwxr-xr-x 2 cjwatson cjwatson 4096 2008-06-08 18:29 js ./trac/htdocs/js: total 4 -rw------- 1 cjwatson cjwatson 3435 2008-06-08 18:28 blame.js $ ctags-exuberant -R . $ cat tags !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ !_TAG_PROGRAM_AUTHOR Darren Hiebert /[EMAIL PROTECTED]/ !_TAG_PROGRAM_NAME Exuberant Ctags // !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ !_TAG_PROGRAM_VERSION 5.7 // enableBlame trac/htdocs/js/blame.js /^$/;" f Thanks, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

