yagnesh raghava yakkala avatar yagnesh raghava yakkala committed 45bb55b

* init-cedet.el: trunk/newtrunk of cedet pain

Comments (0)

Files changed (2)

   (when (file-directory-p "~/.emacs.d/el-get/cedet")
     (progn
       (add-to-list 'load-path  "~/.emacs.d/el-get/cedet")
-      (load-file "~/.emacs.d/el-get/cedet/cedet-devel-load.el"))))
-
-(setq semantic-default-submodes
-      (append semantic-default-submodes
-              '(
-                ;; cache(?)
-                global-semanticdb-minor-mode
-
-                ;; code helpers
-                global-semantic-idle-scheduler-mode
-                global-semantic-idle-summary-mode
-                global-semantic-idle-completions-mode
-                global-semantic-highlight-func-mode
-                global-semantic-decoration-mode
-
-                global-semantic-stickyfunc-mode
-                global-semantic-highlight-edits-mode
-                global-cedet-m3-minor-mode
-                global-semantic-idle-local-symbol-highlight-mode
-
-                ;; debugging semantic itself
-                global-semantic-show-parser-state-mode
-                global-semantic-show-unmatched-syntax-mode
-                global-semantic-highlight-edits-mode)))
-
-(global-ede-mode 1)
-(semantic-mode 1)
 
+      ;; trunk setup
+      (if (file-regular-p "~/.emacs.d/el-get/cedet/cedet-devel-load.el")
+          (progn
+            (load-file "~/.emacs.d/el-get/cedet/cedet-devel-load.el")
+            (global-ede-mode 1)
+            (semantic-load-enable-minimum-features)
+            (semantic-load-enable-code-helpers)))
+
+
+      ;; newtrunk setup
+      (if (file-regular-p  "~/.emacs.d/el-get/cedet//common/cedet.el")
+          (progn
+            (load-file "~/.emacs.d/el-get/cedet/common/cedet.el")
+            (setq semantic-default-submodes
+                  (append semantic-default-submodes
+                          '(
+                            ;; cache(?)
+                            global-semanticdb-minor-mode
+
+                            ;; code helpers
+                            global-semantic-idle-scheduler-mode
+                            global-semantic-idle-summary-mode
+                            global-semantic-idle-completions-mode
+                            global-semantic-highlight-func-mode
+                            global-semantic-decoration-mode
+
+                            global-semantic-stickyfunc-mode
+                            global-semantic-highlight-edits-mode
+                            global-cedet-m3-minor-mode
+                            global-semantic-idle-local-symbol-highlight-mode
+
+                            ;; debugging semantic itself
+                            global-semantic-show-parser-state-mode
+                            global-semantic-show-unmatched-syntax-mode
+                            global-semantic-highlight-edits-mode)))
+            (global-ede-mode 1)
+            )))))
 
 ;;; init-cedet.el ends here
 
 (require 'nnimap)
 (require 'starttls)
-(require 'registry)
+;;(require 'registry)
 
 ;;; load my bbdb settings
 (load "init-bbdb")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.