Skip to content
This repository

cedet support #22

Open
adben opened this Issue · 0 comments

1 participant

Adolfo Benedetti
Adolfo Benedetti
adben commented

If we try to start this build with cedet 1.1[1] enabled, the android functionality included in the library will rise an void-function regarding eieio-object-name-string:

With ...Emacs.app/Contents/MacOS/Emacs --debug-init we got

Debugger entered--Lisp  error: (void-function eieio-object-name-string)
  (eieio-object-name-string projauto)
  (let ((projlist ede-project-class-files) (projname (eieio-object-name-string projauto))) (while (and projlist (not (string= (eieio-object-name-string (car projlist)) projname))) (setq projlist (cdr projlist))) (if projlist (setcar projlist projauto) (cond ((and flag (eq flag (quote unique))) (setq ede-project-class-files (cons projauto ede-project-class-files))) ((and flag (eq flag (quote generic))) (eieio-oset projauto (quote generic-p) t) (setq ede-project-class-files (append ede-project-class-files (list projauto)))) (t (let ((prev nil) (next ede-project-class-files)) (while (and next (not ...)) (setq prev next next (cdr next))) (if (not prev) (progn (error "ede-project-class-files not initialized"))) (setcdr prev (cons projauto next)))))))
  ede-add-project-autoload([object ede-project-autoload "android" "ANDROID ROOT" ede/android "AndroidManifest.xml" "" unbound nil ede-android-load ede-android-project nil t t])
  eval-buffer(#<buffer  *load*-367470> nil "/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede/loaddefs.el" nil t)  ; Reading at buffer position 705
  load-with-code-conversion("/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede/loaddefs.el" "/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede/loaddefs.el" nil t)
  load("ede/loaddefs" nil nomessage)
  eval-buffer(#<buffer  *load*-736465> nil "/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede.el" nil t)  ; Reading at buffer position 1638
  load-with-code-conversion("/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede.el" "/Users/abenedetti/.emacs.d/cedet/lisp/cedet/ede.el" nil t)
  require(ede)
  (let ((CEDETDIR (file-name-directory (or load-file-name (buffer-file-name))))) (if (boundp (quote cedet-bootstrap-in-progress)) nil (load-file (expand-file-name "cedet-remove-builtin.el" CEDETDIR))) (add-to-list (quote load-path) CEDETDIR) (add-to-list (quote load-path) (expand-file-name "lisp/cedet" CEDETDIR)) (add-to-list (quote load-path) (expand-file-name "lisp/eieio" CEDETDIR)) (add-to-list (quote load-path) (expand-file-name "lisp/speedbar" CEDETDIR)) (require (quote eieio)) (require (quote ede)) (if (boundp (quote cedet-bootstrap-in-progress)) nil (message "Loading autoloads from CEDET development.") (load (expand-file-name "lisp/eieio/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/speedbar/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/cedet/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/cedet/ede/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/cedet/cogre/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/cedet/srecode/loaddefs.el" CEDETDIR) nil t t) (load (expand-file-name "lisp/cedet/semantic/loaddefs.el" CEDETDIR) nil t t) (setq Info-directory-list (cons (expand-file-name "doc/info" CEDETDIR) Info-default-directory-list))) (require (quote cedet-compat)))
  eval-buffer(#<buffer  *load*-560799> nil "/Users/abenedetti/.emacs.d/cedet/cedet-devel-load.el" nil t)  ; Reading at buffer position 2887
  load-with-code-conversion("/Users/abenedetti/.emacs.d/cedet/cedet-devel-load.el" "/Users/abenedetti/.emacs.d/cedet/cedet-devel-load.el" nil nil)
  load("/Users/abenedetti/.emacs.d/cedet/cedet-devel-load.el" nil nil t)
  load-file("~/.emacs.d/cedet/cedet-devel-load.el")
  eval-buffer(#<buffer  *load*> nil "/Users/abenedetti/.emacs.d/init.el" nil t)  ; Reading at buffer position 1330...

cedet settings @ init.el

(load-file "~/.emacs.d/cedet/cedet-devel-load.el")
;; Add further minor-modes to be enabled by semantic-mode.
;; See doc-string of `semantic-default-submodes' for other things
;; you can use here.
(add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t)
(add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t)
(add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t)
;; Enable Semantic
(semantic-mode 1)
;; Enable EDE (Project Management) features
(global-ede-mode 1)
;; Load CEDET CONTRIB.
(load-file "~/.emacs.d/cedet/contrib/cedet-contrib-load.el")

emacs-mac-port emacs-24.3-mac-4.0
OS X 10.8.3
cedet 1.1

[1]http://cedet.sourceforge.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.