Skip to content

Instantly share code, notes, and snippets.

@jacres
Created August 3, 2013 14:30
Show Gist options
  • Save jacres/6146662 to your computer and use it in GitHub Desktop.
Save jacres/6146662 to your computer and use it in GitHub Desktop.
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")))
(add-to-list 'load-path (expand-file-name "~/.emacs.d"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/cedet-1.1"))
;; CEDET settings
(load-file "~/.emacs.d/cedet-1.1/common/cedet.el")
(global-ede-mode 1) ; Enable the Project management system
(semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
(global-srecode-minor-mode 1) ; Enable template insertion menu
;; ECB
;;; activate ecb
(add-to-list 'load-path (expand-file-name "~/.emacs.d/ecb-master"))
(setq stack-trace-on-error t)
(require 'ecb)
(require 'ecb-autoloads)
(ecb-activate)
(setq ecb-layout-name "leftright2")
(setq ecb-show-sources-in-directories-buffer 'always)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ecb-options-version "2.40"))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment