Insight into something.
(setq load-path (append (list (expand-file-name "~/.emacs.d/nmg")) load-path))
(setq load-path (append (list (expand-file-name "~/.emacs.d/nmg/doxymacs")) load-path))
;;(add-to-list 'load-path "~/.emacs.d/nmg")
;;(require 'column-marker)
(require 'doxymacs)
;;CEDET Settings
(load-file "~/cedet-1.0/common/cedet.el")
;;(global-ede-mode t)
(semantic-load-enable-guady-code-helpers)
(global-semantic-stickyfunc-mode -1)
(global-srecode-minor-mode 1)
(require 'semantic-ia) ;;+features for names autocompletion
(require 'semantic-gcc) ;;gcc for programming in C & C++
;;COMPILING
(setq compile-command "make -C ../build")
;;THEME
(require 'color-theme)
(color-theme-initialize)
(color-theme-clarity)
;;(color-theme-robin-hood) ;;DEBUG testing
(tool-bar-mode -1) ;;disable toolbar
(set-default-font "Inconsolata-14")
;;SEMANTEC
(add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)
(global-semantic-tag-folding-mode 1)
;;ECB
(add-to-list 'load-path "~/.emacs.d/nmg/ecb")
(require 'ecb)
(require 'ecb-autoloads)
(setq ecb-windows-width 0.15)
(setq ecb-tip-of-the-day nil)
(setq ecb-auto-compatibility-check nil)
(global-set-key (kbd "C-c b") 'ecb-minor-mode)
;;80LINE
(setq whitespace-style '(lines-tail))
(setq whitespace-line-column 81)
(global-whitespace-mode 1)
;;FULLSCREEN
(defun toggle-fullscreen ()
(interactive)
(set-frame-parameter nil 'fullscreen (if (frame-parameter nil 'fullscreen)
nil
'fullboth)))
(global-set-key [(meta return)] 'toggle-fullscreen)
(setq default-frame-alist '((font-backend . "xft")
(left . 1120) (top . 0)
(width . 93) (height . 65)
;;(font . "Inconsolata");; :height 100) ;;font
;;(cursor-color . "white") ;;cursor color
;;(tool-bar-lines . 0)
(vertical-scroll-bars . nil) ;;y/n scroll bars
(alpha . 95) ;;changes the window opacity
))
;;DOXYMACS
(defun my-doxymacs-font-lock-hook ()
(if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode))
(doxymacs-font-lock)))
(add-hook 'font-lock-mode-hook 'my-doxymacs-font-lock-hook)
(add-hook 'c-mode-hook
'(lambda()
(setq c-hungry-delete-key t)
(c-set-style k&r)
(c-toggle-auto-state)))
(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")
'(inhibit-startup-screen t)
'(quote (inhibit-startup-screen t))
'(show-paren-mode t)
'(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))))
(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.
)