|
From: | Dmitry Gutov |
Subject: | Re: Generation of tags for the current project on the fly |
Date: | Mon, 5 Feb 2018 23:10:34 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 |
On 2/5/18 20:06, Eli Zaretskii wrote:
Cc: Eli Zaretskii <address@hidden>, address@hidden From: Dmitry Gutov <address@hidden> Date: Mon, 5 Feb 2018 02:40:59 +0300 I wonder if 'make tags' would be able to make use of it somehow. If not, I'll probably have to reimplement it in Elisp anyway. Eli, any thoughts?Not sure I understand the question. Are you asking if "make TAGS" could run "etags -u"? I think it could, but we'd need some Make wizardry to generate a list of files modified after TAGS was last written. Currently, we just generate a list of all the relevant source files.
For modified files, it could check modification times, similarly to how it can recompile only files it needs to. I think.
But I'm asking if you have any idea for how to deal with _deleted_ files? I.e. files that have been deleted since 'make tags' was last run.
[Prev in Thread] | Current Thread | [Next in Thread] |