[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generation of tags for the current project on the fly

From: Tom Tromey
Subject: Re: Generation of tags for the current project on the fly
Date: Sat, 20 Jan 2018 15:15:23 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

>>>>> "Dmitry" == Dmitry Gutov <address@hidden> writes:

Dmitry> The first result: 'make tags' never finishes with that version.

Thanks, there was a bug in the file name hash table.
I've pushed a fix.

Dmitry> And here's another way to make it freeze:
Dmitry> find . -name "*.[ch]" | lib-src/etags - -o TAGS

This was the same problem.

Dmitry> 2. Not sure I understand how .etags works. How do I tell it to only
Dmitry> index *.c files? Any presence of wildcard ignore (!*) makes 'etags
Dmitry> --find' index nothing.

Each file that is found is run through all the matchers, and the last
one that matches wins.  So, this worked for me to ignore everything, but
allow .c files:


The first line ignores everything, but then the second line accepts .c

Dmitry> 3. 'lib-src/etags src/category.c -u -o TAGS' results in having only
Dmitry> that file's tags inside TAGS (before, it contained the entries for all
Dmitry> .c files). This behavior contradicts the help and stops the rest of my
Dmitry> testing in its tracks.

I didn't look into this yet.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]