Re: [cedet-semantic] Saving the semanticdb in a project specific place
Brought to you by:
zappo
From: Eric L. <er...@si...> - 2015-04-11 21:14:12
|
On 04/08/2015 04:36 AM, Jean-Marc Bourguet wrote: > On 08.04.2015 09:42, Jean-Marc Bourguet wrote: >> On 08.04.2015 02:47, Eric Ludlam wrote: >>> On 04/03/2015 05:02 PM, Jean-Marc Bourguet wrote: >>>> Hi all, >>>> >>>> Is it possible to specify a per project directory where to save >>>> semanticdb for the files in the project? >>>> >>>> I don't see any project setting for that, setting a >>>> semanticdb-default-save-directory have a global effect. >>>> When made buffer local, the global value still seeems to be be the one >>>> used. >>> >>> That is a good feature request. Feedback I had in the past was that >>> most folks just DID NOT want them saved anywhere in their project. Of >>> course, it used to be in every directory so that was too annoying. >> >> That would be preferable for me > > That's ambiguous. I prefer having one place per project, but putting the > db along the source files would be acceptable, especially if I can hide > them > in a subdirectory or name the db with hidden names. A global place is > not really > usable (I'm currently playing trick and changing the global value and > using one > emacs process per project, but that's a disaster in waiting) Ok, in that case, you should use semanticdb-default-save-directory and set it to 'nil'. That will then save the caches in semanticdb-default-file-name which you can change to .semantic.cache or whatever you like. That will make the cache files travel with your projects. Eric |