Re: [CEDET-devel] semantic-analyze-current-context bug
Brought to you by:
zappo
From: peng yu <yup...@gm...> - 2009-04-17 01:24:25
|
Hi, Eric. I checked out CEDET about a week ago. Need I check out CEDET again? If so, I will do it after work. In fact, I want to write some toy program for myself. And when I call the function "semantic-analyze-current-context", it will open some files, this confuse me. BR. YuPeng. 2009/4/17 Eric M. Ludlam <er...@si...> > >>> peng yu <yup...@gm...> seems to think that: > >I also create a gnu global data base in this directory and write these > code > >in my .emacs : "(semanticdb-enable-gnu-global-databases 'c-mode)". But I > >don't create an ede project. > > > >Now if I put the point to "my_printf" in testa.c, and type M-x > >semantic-analyze-current-context, testb.c will be opened. > > > >Is it a bug? > > This has come up in the recent past. Are you using a recent CEDET > from CVS? Files should not be left open for standard CEDET usage. > > As for when the GNU Global database is being used, it has to convert > line-numbers into character locations, and that opens up files. For > GNU Global, I leave the files open because they can be referenced > multiple times, and closing the files slows things down. There may be > some sort of buffer-stacking thing that could be fixed if they are > appearing near the top of your list. > > Eric > > -- > Eric Ludlam: er...@si... > Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net > |