Re: Fwd: I released the refactoring tool

Lluís <[email protected]> Tue, 24 Feb 2015 15:35:14 +0100
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Eric Ludlam writes:

> On 02/19/2015 10:45 AM, Lluís wrote:
>> I could then change the linux project to set them "properly" by default. Even
>> more, if we ever have a way to store a per-project properties file (like: edit
>> project, change settings, save to project's root), having these as project
>> properties would be a win.

> All EDE projects support a concept of project-local variables.  You can do:

> M-x customize-project RET

Right, but are "semanticdb-new-database-class" and
"semanticdb-find-default-throttle" (or some equivalent) project-local variables?


> and go to the settings tab and find project local variables
> there. Unfortunately, ede-linux, and the other specific/automatic projects won't
> save your changes.  The Generic project type will save, and the cpp-root and
> java equivalents also can just have them set.

I think we discussed this before. In my opinion it would be nice to refactor
projects into a common generic base project that handles loading and storing
project-local variables in the disk (I think David did something on these lines,
but using a separate project type). We're getting closer to that with the code
you added to detect the root of a project by looking for the root of a
repository.


> I'm open to any suggestions/help for making the -linux and -emacs project types
> work better, as I don't use them directly myself.

Well, making the variables above as project-local and setting them to a less
"heavy-weight" value will make the linux project more responsive by default. But
of course this is should only be used in the meantime until CEDET is able to
handle these on large projects (I'm assuming that will be possible in the
future).


> Another option for setting these variables is the directory-local stuff.

Yeah, I was struggling to think whether it makes more sense to have a special
project file, or instead use directory-local variables to establish the project
configuration.


Thanks,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel