summaryrefslogtreecommitdiff
path: root/.emacs
blob: 6f884ebed753322668682706380749342b2d4cba (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
(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)

(setq browse-url-generic-program (executable-find "v-www-browser")
      browse-url-browser-function 'browse-url-generic)

(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))

(set-face-attribute 'default nil :height 80)