Hello,

I can suggest to use the bzr version:

bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk cedet

I've recently started using it myself and it works quite well
with almost no additional setup.
Just checkout into some folder, make and add to .emacs:

;; This is the very first line in my .emacs:
(load "/home/oleh/git/cedet/cedet-devel-load")
;; Add custom include dir -- the standard ones are already seen
(semantic-add-system-include "/home/oleh/Software/deal.II/include/" 'c++-mode)
;; some basic setup
(set-default 'semantic-case-fold t)
(semantic-mode 1)

And that's it - everything (almost) works.
Btw, I've written an extension for C++ for CEDET.
I'm using it myself, but I'm eager for other people to test it:
https://github.com/abo-abo/function-args
Check it out if you have the time.

regards,
Oleh



On Sun, Jul 7, 2013 at 8:11 AM, augustinus <saintaugustinus@gmail.com> wrote:
Hi guys:
I get problem witn install cedet-1.1 to emacs 24.2(I do not use built-in
cedet because it cannot complete my C++ standard classes)
It is like that when i open emacs, a buffer named "*Complie-log" shows a
message: "Warning: `(tag (slot-value sbm (quote tag)))' is a malformed
function".
And when i open a c++ file or other program code file it shows that:
"Symbol's function definition is void: semanticdb-abstract-table-list-p"

Here is my cedet setting:

(setq load-path (remove "/usr/share/emacs/24.2/lisp/cedet" load-path))
(require 'cedet)
(require 'semantic-ia)

(semantic-load-enable-minimum-features)
(semantic-load-enable-code-helpers)
(semantic-load-enable-guady-code-helpers)
(semantic-load-enable-excessive-code-helpers)
(semantic-load-enable-semantic-debugging-helpers)

(global-semantic-stickyfunc-mode nil)
(setq global-semantic-decoration-mode t)
(setq semantic-idle-completions-mode nil)
(which-func-mode t)

(require 'semantic-gcc)
(require 'semantic-c)

(defconst user-include-dirs
(list ".." "../include" "../inc" "../common" "../public"
"../.." "../../include" "../../inc" "../../common" "../../public"))
(setq sys-include-dirs (list
"/usr/include"
"/usr/local/include"
"/usr/local/include"))

(let ((include-dirs user-include-dirs))
(setq include-dirs (append include-dirs sys-include-dirs))
(mapc (lambda (dir)
(semantic-add-system-include dir 'c++-mode)
(semantic-add-system-include dir 'c-mode))
include-dirs))

(global-set-key [f12] 'semantic-ia-fast-jump)

(setq semanticdb-default-save-directory
(expand-file-name "~/.emacs.d/semanticdb"))

(require 'semantic-tag-folding nil 'noerror)
(global-semantic-tag-folding-mode 1)
(define-key semantic-tag-folding-mode-map (kbd "C-c -")
'semantic-tag-folding-fold-block)
(define-key semantic-tag-folding-mode-map (kbd "C-c =")
'semantic-tag-folding-show-block)

(provide 'cedet-settings)

And here is command "cedet-version" shows:

CEDET Version: 1.1
Requested File Loaded
Package Version Version Version
----------------------------------------------------------
cedet: 1.1 ok ok
eieio: 1.4 ok 1.3
semantic: 2.1 ok ok
srecode: 1.1 ok ok
ede: 1.1 ok ok
speedbar: 1.0.4 ok 1.0
cogre: 1.1 ok Not Loaded
cedet-contrib: 1.1 ok Not Loaded


While i use cedet-1.0.1 everything seems to be OK expect that some time
the semantic-decoration-mode has no effect but after editing the file
semantic-decoration-mode takes again. It confused me.

I don't know what's wrong with it.
Thank You!

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Cedet-devel mailing list
Cedet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel