I attached the FSF information you need to send to start the paperwork
There are a couple interesting things in your solution.
One is that it uses the semanticdb roots variable. This is ok for some
things, providing some top level ways to mark a project, but it is
generally better to use EDE for this solution. For example,
ede-locate.el can use misc tools for locating files. It could be that
the file cache idea, followed up with your preparsing idea could allow
someone to pre-cache their projects.
The second is the use of the newer emacs file cache thingy. I looked
into is briefly only. It appears to only support a single cache, where
as the project concept really wants multiple caches. You don't want to
accidentally include a file from some completely unrelated project.
For the one-shot deal from a command line though, these two concepts as
you proposed them will work fine. If you get a strong solution, it
would be best to just replace the solution I wrote a few years back in
On 03/29/2012 10:59 AM, David Ventimiglia wrote:
> Rajinder Yadav recently asked about scanning under a project to pre
> generate tags and I'd said I had tinkered with one approach. I posted
> the attached set of functions to the cedet-dev list back in November. It
> uses Emacs native file name cache functions to pre gen tags for files
> under roots defined in semanticdb-project-roots. It could use a lot more
> bells and whistles (like filters) which one could add (or I could). It's
> a start.
> Rajinder, there also is the semantic-mk.el function, and I think a Bash
> script, in CEDET to do this.
> Eric, I never signed FSF papers for this contribution, but I'm happy to
> do so. You can send me them, or I can dig them up myself.
> Best, David
> ---------- Forwarded message ----------
> From: "David Ventimiglia" <dventimi@... <mailto:dventimi@...>>
> Date: Nov 15, 2011 10:52 PM
> Subject: Alternative to semanticdb-mk.el
> To: <cedet-devel@...
> Hi Eric,
> Here's something I've been tinkering with: bulk creation of tags, but
> without semanticdb-mk.el and semanticdb.sh. It uses the Emacs
> built-in (as of some recent version) File Name Cache feature to drag
> in filenames under the elements of semanticdb-project-roots and create
> tags for them, in a background process without resorting to a shell
> script. Make of it what you will. :)