summaryrefslogtreecommitdiff
path: root/.emacs
blob: cac63f7caa5bac235729f70ef45a4793516a7c9c (plain)
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
(add-to-list 'load-path "~/.emacs.d/")

(add-to-list 'load-path "~/.emacs.d/org-7.4/lisp")
(add-to-list 'load-path "~/.emacs.d/org-7.4/contrib/lisp")
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")

(require 'org-install)
(require 'org-checklist)

(require 'color-theme-solarized)
(color-theme-solarized-dark)

(when (require 'netrc nil t)
  (autoload 'identica-mode "identica-mode" nil t)
  (let
    ((identica (netrc-machine (netrc-parse "~/.netrc") "identi.ca" t)))
    (setq identica-password (netrc-get identica "password"))
    (setq identica-username (netrc-get identica "login"))
  )
)

(load "whitespace")
(global-set-key "\C-cw" 'global-whitespace-mode)
;(setq whitespace-style '(
;  face
;  tabs        tab-mark
;  spaces    space-mark
;  newline newline-mark
;  empty
;))

(setq whitespace-style '(
  tab-mark
  space-mark
  newline-mark
  empty
))


(setq-default tab-width 8)
(setq-default c-basic-offset 8)
;; (setq-defualt indent-tabs-mode nill);; no tabs
(setq-default indent-tabs-mode t);; use tabs

(load "folding" 'nomessage 'noerror)
(folding-mode-add-find-file-hook)

(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.
 '(column-number-mode t)
 '(inhibit-startup-screen t)
 '(line-number-mode t)
 '(server-mode t)
 '(show-paren-mode t))

(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 default :height 80))))
)