From: Eric M. Ludlam <ericludlam@gm...> - 2012-03-30 00:44:36
Thanks for the info. The FSF doc needs to be sent the email address
fsf-records@... and they'll help you the rest of the way.
Unfortunately, your data is now stuck in the mailing list archives. :(
On 03/29/2012 08:28 PM, David Ventimiglia wrote:
> Adapting it also to work with EDE provides an opportunity for some
> happy hacking. I'll look into that. I could be wrong, but I don't
> think the single cache used by the Emacs File Name Cache will be a
> problem if I'm only using it to pre-populate the semanticdb cache.
> I'm attaching (and pasting in below) the FSF doc. I'm only mentioning
> semanticdb-index.el, since my only other contributions have been small
> patches that probably don't need attribution.
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. :)
Adapting it also to work with EDE provides an opportunity for some
happy hacking. I'll look into that. I could be wrong, but I don't
think the single cache used by the Emacs File Name Cache will be a
problem if I'm only using it to pre-populate the semanticdb cache.
I'm attaching (and pasting in below) the FSF doc. I'm only mentioning
semanticdb-index.el, since my only other contributions have been small
patches that probably don't need attribution.
Please email the following information to fsf-records@..., and we
will send you the assignment form for your past and future changes.
Please use your full name as the subject line of the message.
[What is the name of the program or package you're contributing to?]
[Did you copy any files or text written by someone else in these changes?
Even if that material is free software, we need to know about it.]
[Do you have an employer who might have a basis to claim to own
your changes? Do you attend a school which might make such a claim?]
[For the copyright registration, what country are you a citizen of?]
[What year were you born?]
[Please write your email address here.]
[Please write your snail address here.]
703 15th Ave.
San Francisco, CA 94118
[Which files have you changed so far, and which new files have you written