|
From: | Dmitry Gutov |
Subject: | Generation of tags for the current project on the fly |
Date: | Fri, 12 Jan 2018 04:02:06 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 |
The result is used until they make a change in a file somewhere and save the buffer, then the generated table is discarded.
I think it will be helpful for new users (who don't really know how to generate tags), as well as people who are used to certain other editors performing the indexing automatically, in small-to-medium sized projects. With some effort, we could implement re-indexing and invalidation on a more granular level (so it's usable in bigger projects too), but transitioning to GNU Global would probably be better.
For reference, indexing the Emacs sources takes ~1.1sec here. What do people think? See the attached patch.
project-auto-tags.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |