I am working on a big C ++ project. I have been working with emacs for the past six months. I am trying to configure CEDET to be able to navigate easily, but I found some problems.
1.- Sometimes semantics do not find some characters, and sometimes they donβt ... I donβt know which files are semantic indexing. I tried using EDE (following the instructions in this article http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html ), but I found some problems as well ...
- I have several versions (releases) of the same project, each of which is in its own folder. How can I tell emacs which project I'm working with?
- How can I tell ede where to look for my header files? Can I specify only the root directory, and semantics will look for header files in all subdirectories?
2.- I worked with vim + cscope some time ago, and I remember that there was a way to get back to the character stack (Ctrl-t). Is there anything similar in emacs?
PD> Some data to make the question more understandable.
I have several issues of the same project. Each of them has its own root directory. Each project has several modules, each of which is inside a subdirectory. Each module has a header file.
/home/user/ | \Release-001 | | | \makefile | \ Module-001 | | | | | \makefile | | \subdir-001 | | | \header-001.h | | | \header-002.h | | \subdir-002 | | | \header-003.h | \ Module-002 | | | | | \makefile | | \subdir-003 | | | \header-004.h | | | \header-005.h | | \subdir-004 | | | \header-006.h | \Release-002 | | | \makefile | \ Module-001 | | | | | \makefile | | \subdir-001 | | | \header-001.h | | | \header-002.h | | \subdir-002 | | | \header-003.h | \ Module-002 | | | | | \makefile | | \subdir-003 | | | \header-004.h | | | \header-005.h | | \subdir-004 | | | \header-006.h
This is the EDE configuration that is in my .emacs
;; Cedet load commands (add-to-list 'load-path "~/emacs-dir/cedet/cedet") (load-file "~/emacs-dir/cedet/cedet/common/cedet.el") ;; EDE: activating mode. (global-ede-mode t) ;; Projects definition (ede-cpp-root-project "Release-001" :name "Release-001" :file "~/Release-001/makefile" :include-path '("/" ) :system-include-path '("~/exp/include") :spp-table '(("SUSE9" . "") ) ) (ede-cpp-root-project "Release-002" :name "Release-002" :file "~/Release-002/makefile" :include-path '("/" ) :system-include-path '("~/exp/include") :spp-table '(("SUSE9" . "") ) )
Just so you know ... I'm working with the console version (-nw) of emacs.
emacs cedet emacs-semantic
thamurath
source share