From: Eric M. L. <er...@si...> - 2004-07-22 11:07:24
|
Hi, Which tool do you want to have the caches loaded for? I think the semantic searches and completion should auto-load those files. In the meantime you can add this to your .emacs file: (semanticdb-get-database "/home/you/cedet/common") (semanticdb-get-database "/home/you/cedet/semantic") (semanticdb-get-database "/home/you/cedet/etc") to autoload whichever databases you want. Eric >>> "Nik Langrind" <lan...@co...> seems to think that: >Hi, > >How can I force all the semantic caches to be loaded, without visiting >source files? > >I have: > > a) set the semanticdb-project-roots to the name of a directory > b) created a number of caches > c) set ecb-source-paths to be a list of paths under the directory > named in semanticdb-project-roots > >But after starting emacs fresh, I still need to visit a source file in a >directory to get the semantic-cache for that directory loaded. > >I've tried this with both modes: a single directory for all the semanticdb, >or the single semantic.cache file per directory. I've also gone through many >of the customization options for semantic, semanticdb and ecb. I might be >starting to panic :-) > >Looking through the sources (I can't really read lisp) I see some functions >that look promising (e.g. ecb--semantic-fetch-tags) but many of these are >not loaded. Why does this happen? > >Thank you, >Nik > >-----Original Message----- >From: ecb...@li... >[mailto:ecb...@li...] On Behalf Of Eric M. Ludlam >Sent: Sunday, July 18, 2004 9:35 PM >To: Nik Langrind >Cc: ced...@li...; ecb...@li... >Subject: [Ecb-list] Re[1]: [cedet-semantic] Beginner help > >>>> "Nik Langrind" <lan...@co...> seems to think that: >>I want to visit the file:line that defines a C function. When I use >>senator-jump, if the current buffer has the file where the function is >>defined, then it works. But if the current buffer has a different file, = >>the >>response is [No Match]. How can I arrange to visit the correct file, = >>even if >>it is not opened by emacs yet? Thanks for any help you can provide. > [ ... ] > >Hi, > > There are two senator jump functions. One for jumping locally >(fast) and one project-wide. The second is bound to "C-, J". >You will have needed to visit the file at least once, but not >necessarily in the current session. > > There is also etags, and old standby, bound to "M-." > >Eric > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Ecb-list mailing list >Ecb...@li... >https://lists.sourceforge.net/lists/listinfo/ecb-list > > |