Re[4]: [Ecb-list] [cedet-semantic] Beginner help
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2004-07-22 15:04:10
|
I'm not sure what specific tool you are using, so I'm not sure if something is set up wrong or not. If you are using a tool like semantic-idle-summaries-mode, it should scan the current project and load those databases on demand because the search routines it uses has that built in. Some types of searches do not load those directories on demand. Eric >>> "Nik Langrind" <lan...@co...> seems to think that: >Hi Eric, > >Thank you. Invoking semanticdb-get-database for each source and include path >gets the result I want, which is that I can start emacs fresh and have it >know all about the source tree I am browsing, without me having to visit >source files (other than the first one, so that semantic-minor-mode is >enabled.) > >I can work with this behavior, but it sounds like you are saying it can be >even more automatic. > >In other words, I will be manually maintaining a file with a bunch of >semanticdb-get-database statements, one for each leaf directory in my source >tree. But it sounds like semanticdb could potentially load, when emacs >starts up, all the semantic caches it finds in the entire source tree. Is >this a feature that exists, and I simply have .emacs set up wrong. > >Thank you, >Nik > >p.s. I'm really enjoying ECB and Semantic - it is great to be able to have >these IDE features without having to give up my favorite editor! > >-----Original Message----- >From: Eric M. Ludlam [mailto:er...@si...] >Sent: Thursday, July 22, 2004 7:07 AM >To: Nik Langrind >Cc: ced...@li...; ecb...@li... >Subject: Re[2]: [Ecb-list] [cedet-semantic] Beginner help > >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 >> >> > > -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |