public
Description: my emacs rig -- currently on v23.x for mac and ubuntu
Homepage: http://20seven.org
Clone URL: git://github.com/gregnewman/20seven-emacs.git
20seven-emacs / init.el
100644 64 lines (55 sloc) 1.78 kb
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
(load-library "iso-transl")
 
(add-to-list 'load-path "~/.emacs.d/vendor")
(progn (cd "~/.emacs.d/vendor")
       (normal-top-level-add-subdirs-to-load-path))
 
(setq load-path (cons "~/.emacs.d/vendor/rinari/util" load-path))
(setq load-path (cons "~/.emacs.d/vendor/rinari/util/jump" load-path))
(setq load-path (cons "~/.emacs.d/vendor/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/vendor/org-mode/contrib/lisp" load-path))
 
(defconst emacs-config-dir "~/.emacs.d/configs/" "")
(setq load-path (cons "~/.emacs.d" load-path))
(defun load-cfg-files (filelist)
  (dolist (file filelist)
    (load (expand-file-name
           (concat emacs-config-dir file)))
    (message "Loaded config file: %s" file)
    ))
 
(add-to-list 'load-path "/usr/share/emacs/site-lisp/w3m")
;(if window-system
; (require 'w3m-load))
 
(load-cfg-files '("browse_kill_ring"
                  "custom"
                  "git"
                  "gnus"
                  "highlight_line"
                  "ido"
                  "javascript"
                  "lorem"
                  "main"
                  "org"
                  "python"
                  "ruby"
                  "shell"
                  "slime"
                  "smex"
                  "textmate"
                  "theme"
                  "yasnippet"))
 
(setq custom-file "~/.emacs.d/configs/custom.el")
 
(require 'dpaste)
(require 'font-lock)
(require 'gist)
(require 'grep-o-matic)
(require 'growl)
(require 'nav)
(require 'saveplace)
(require 'textile-mode)
(require 'vernacular-time)
(require 'pymacs)
(require 'auto-complete)
(require 'rst)
(require 'flyspell)
 
 
(setq confirm-kill-emacs
      (lambda (e)
        (y-or-n-p-with-timeout
         "Really exit Emacs (automatically exits in 5 secs)? " 5 t)))