Have you tried to use

:include-path '("/src/public"

in ADIOS's project declaration? if you omit the / at beginning, then the search path will be calculated relative to current file, not to project's root

On Tue, Aug 27, 2013 at 3:05 AM, Jai Dayal <dayalsoap@gmail.com> wrote:

I use CEDET quite a lot and it seems that with this specific project, it's having issues.

Here is a link to the project:



Here is my .emacs file


(require 'package)
(dolist (source '(("marmalade" . "http://marmalade-repo.org/packages/")
                  ("elpa" . "http://tromey.com/elpa/")
                  ;; TODO: Maybe, use this after emacs24 is released
                  ;; (development versions of packages)
                  ("melpa" . "http://melpa.milkbox.net/packages/")
  (add-to-list 'package-archives source t))

(setq scroll-step 1)

(global-set-key "\C-cf" 'semantic-ia-fast-jump)
(global-set-key "\C-xg" 'goto-line)
(global-set-key [f12] 'compile)

(setq c-default-style "stroustrup"                                             
      c-basic-offset 4)

(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(setq load-path (cons "~/.emacs.d" load-path))

(load-file "/Users/home/cedet-bzr/trunk/cedet-devel-load.el")

;; Enable EDE (Project Management) features
(semantic-mode 1)

(setq-mode-local c-mode semanticdb-create-cscope-database)

(global-set-key "\C-c,F" 'semantic-ia-fast-jump)
(global-ede-mode t)
;; Enable EDE for a pre-existing C++ project

(ede-cpp-root-project "ADIOS"
             :name "ADIOS"
             :file "/Users/home/ADIOS/Makefile"
             :include-path '("src/public"
             :system-include-path '("/usr/local/include")
             :spp-table '(("isUnix" . "")
                          ("BOOST_TEST_DYN_LINK" . "")))

(ede-cpp-root-project "containers"
             :name "containers"
             :file "/Users/home/mware/containers/trunk/managers/Makefile"
             :include-path '("/include")
             :system-include-path '("/usr/local/include")
             :spp-table '(("isUnix" . "")
                          ("BOOST_TEST_DYN_LINK" . "")))


;; * This enables some tools useful for coding, such as summary mode
;;   imenu support, and the semantic navigator

;; * This enables even more coding tools such as intellisense mode
;;   decoration mode, and stickyfunc mode (plus regular code helpers)

So, anyway. As an example, open src/adios_flexpath.c and search for something in the ADIOS core like

struct adios_var_struct

and then do the semantic-ia-fast-jump and it will say no suitable symbol found.

For the containers' project listed in the .emacs file, this works great.. absolutely no issues.

With ADIOS, though, the only thing that seems to work kind-of right is src/read_flexpath.c, but it only lets me jump to functions and structs defined in the same file.

Any idea?

Thanks a lot!

Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
cedet-semantic mailing list

With best wishes,                    Alex Ott
Twitter: alexott_en (English), alexott (Russian)
Skype: alex.ott