-
Notifications
You must be signed in to change notification settings - Fork 0
/
dotemacs
96 lines (85 loc) · 5 KB
/
dotemacs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
;(set-default-font "-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1") ; medium
(defun add-path (p)
(setq load-path (cons p load-path)))
(add-path "~/emacs/config")
(add-path "~/emacs/site-lisp")
(add-path "~/emacs/site-lisp/themes")
(add-path "~/k-framework/editor-support/emacs")
(load "options.el")
(load "keybindings.el")
;(load "my-theme.el")
(load "zenburn.el")
;; Color Theme
(color-theme-initialize)
;(my-theme)
(zenburn)
;; Restore a couple faces
(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.
'(default ((t (:inherit nil :stipple nil :background "gray12" :foreground "green" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 14 :size 14 :spacing 110 :width normal :foundry "xos4" :family "Terminus"))))
'(ediff-current-diff-A ((((class color) (min-colors 16)) (:background "#664444"))))
'(ediff-current-diff-B ((((class color) (min-colors 16)) (:background "#226622"))))
'(ediff-even-diff-A ((((class color) (min-colors 16)) (:background "#555555"))))
'(ediff-even-diff-B ((((class color) (min-colors 16)) (:background "#444444"))))
'(ediff-odd-diff-A ((t (:stipple nil :background "#555555" :slant italic))))
'(ediff-odd-diff-B ((t (:stipple nil :background "#444444" :slant italic))))
'(fixme-face ((t (:inherit font-lock-warning))) t)
'(hl-line ((t (:background "#3a3a3a"))))
'(region ((t (:inherit nil :background "#355535"))))
'(semantic-decoration-on-private-members-face ((((class color) (background dark)) (:background "#303030"))))
'(semantic-decoration-on-protected-members-face ((((class color) (background dark)) nil)))
'(semantic-highlight-func-current-tag-face ((((class color) (background dark)) nil)))
'(semantic-tag-boundary-face ((((class color) (background dark)) nil)))
'(tooltip ((((class color)) (:inherit variable-pitch :background "lightyellow" :foreground "black" :family "terminus")))))
;; Custom
(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.
'(blink-cursor-mode t)
'(c-offsets-alist (quote ((namespace-open . 0) (namespace-close . 0))))
'(column-number-mode t)
'(display-time-mode t)
'(ediff-diff-options "-w")
'(gdb-max-frames 120)
'(global-semantic-decoration-mode t nil (semantic-decorate-mode))
'(global-semantic-highlight-func-mode t nil (semantic-util-modes))
'(global-semantic-idle-breadcrumbs-mode t nil (semantic-idle))
'(global-semantic-idle-completions-mode t nil (semantic-idle))
'(global-semantic-idle-local-symbol-highlight-mode t nil (semantic-idle))
'(global-semantic-idle-scheduler-mode t nil (semantic-idle))
'(global-semantic-idle-summary-mode t nil (semantic-idle))
'(global-semantic-mru-bookmark-mode t nil (semantic-util-modes))
'(global-semantic-stickyfunc-mode t nil (semantic-util-modes))
'(initial-major-mode (quote text-mode))
'(mouse-wheel-progressive-speed nil)
'(mouse-wheel-scroll-amount (quote (5 ((shift) . 1) ((control)))))
'(org-agenda-files (quote ("~/org.org")))
'(preview-LaTeX-command (quote ("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" ("," . preview-required-option-list) "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\"%' %t")))
'(preview-default-option-list (quote ("displaymath" "floats" "graphics" "textmath" "sections" "footnotes")))
'(preview-default-preamble (quote ("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}[2004/11/05]" "\\PreviewEnvironment{itemize}" "\\PreviewEnvironment{verbatim}" "\\PreviewEnvironment{ocaml}" "\\PreviewEnvironment{tikzpicture}" "\\PreviewMacro[!]{\\n}" "\\PreviewMacro[!]{\\citet}" "\\PreviewMacro[!]{\\citep}")))
'(semantic-idle-breadcrumbs-header-line-prefix "---> ")
'(semantic-idle-scheduler-idle-time 1)
'(semantic-idle-scheduler-work-idle-time 20)
'(semantic-idle-work-parse-neighboring-files-flag t)
'(semantic-idle-work-update-headers-flag t)
'(semantic-stickyfunc-indent-string "")
'(semanticdb-global-mode t nil (semanticdb))
'(show-paren-mode t)
'(speedbar-frame-parameters (quote ((minibuffer) (width . 80) (border-width . 1) (menu-bar-lines . 0) (tool-bar-lines . 0) (unsplittable . t) (left-fringe . 0))))
'(speedbar-indentation-width 4))
;;; Auto-saved macros ( to the end of the file) ;;;
(put 'downcase-region 'disabled nil)
;; Display time in the mode line
;; Put this line last to prove (by the time in the mode line)
;; that the .emacs loaded without error to this point.
(setq display-time-day-and-date t )
(display-time)
;; Set up the font and the size
;(set-default-font "-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1") ; small
;(set-default-font "-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1") ; large
(put 'upcase-region 'disabled nil)