grepz / emacsconfigs

Emacs configuration files

This URL has Read+Write access

emacsconfigs / .emacs
100644 42 lines (29 sloc) 1.151 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
(defvar *emacs-load-start* (current-time))
 
(setq debian-emacs-flavor 'emacs23)
 
;;(require 'timeclock)
(display-time-mode -1)
 
;; Common lisp compatibility
(require 'cl)
 
(setq custom-file "~/.emacs-custom.el")
(load custom-file 'noerror)
 
(add-to-list 'load-path "~/.emacs.d")
 
;; Must be first to load
(load "~/emacs/emacs-rc/helpers")
(add-subdirs-to-load-path "~/elisp")
(add-subdirs-to-load-path "~/emacs/emacs-rc/extensions")
 
(load-custom-rc-files "~/emacs/emacs-rc/system")
(load-custom-rc-files "~/emacs/emacs-rc/looknfeel")
(load-custom-rc-files "~/emacs/emacs-rc/devel")
(load-custom-rc-files "~/emacs/emacs-rc/network")
(load-custom-rc-files "~/emacs/emacs-rc/media")
(load-custom-rc-files "~/emacs/emacs-rc/other")
 
;; Must be last to load
(safe-load "~/emacs/emacs-rc/passwords.el.gpg")
 
;; Wanderlust
(safe-load "~/.wl")
 
;; Starting emacs server, so we can connect to it with commands: emacsclient -t/-c
(server-start)
 
(message "Emacs loaded in %ds" (destructuring-bind (hi lo ms) (current-time)
(- (+ hi lo) (+ (first *emacs-load-start*)
(second *emacs-load-start*)))))
 
(message "Happy hacking, %s!" (user-login-name))