First, let me apologize for not getting into your unit tests yet.
I had camera crews for a TV show called "Man Moment Machine" at my
house on Monday filming one of my catapults, and all my spare time
these past month or so has been getting ready for that.
You can read about it here:
>>> joakim@... seems to think that:
>I wanted to play with the semanticdb-ebrowse half-finished
>implementation, but I'm having trouble getting started.
>I'm able to creae a BROWSE file and run
>semanticdb-ebrowse-get-ebrowse-structure manually, but I cant seem to
>get the functions to hook in properly so that they will be called when
>I do c-, J for instance.
>Shouldn't evaling semanticdb-ebroswe.el be enough?
Semanticdb databases come in a couple flavors. There are databases
associated with files, and "omniscient" databases that are not
associated with specific files. The EBROWSE stuff I've set up as a
omniscient since it can tag and search all of /usr/include very
Anyway, a key piece is to add an omniscient database into the project
database list. The Emacs Lisp version (semanticdb-el.el) does this:
;; Create the database, and add it to searchable databases for Emacs Lisp mode.
(defvar-mode-local emacs-lisp-mode semanticdb-project-system-databases
"Search Emacs core for symbols.")
I never added this code to semanticdb-ebrowse because I never finished
I was testing in ielm sort of like this:
ielm> (setq D (semanticdb-create-database
ielm> (semanticdb-find-tags-by-name D "printf")
Once that stuff works, then insert the above code into the el file to
see if it is running properly.
As far as I know, we just need the search routines. Ebrowse has
obarrays and fast searching structures that should make the semantic
routines much faster for system level things.
Thanks for picking this up! Using existing tools like ebrowse will go
a long way toward making semantic based tools and "smart completion" a
lot nicer for C++.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org