Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 116 lines (96 sloc) 3.567 kb
bf5c533 @purcell Add coding declaration for init.el
authored
1 ;; -*- coding: utf-8 -*-
ab53e66 @purcell Add ruby-mode, and fix load path order
authored
2 (add-to-list 'load-path (expand-file-name "~/.emacs.d"))
bf5c533 @purcell Add coding declaration for init.el
authored
3
8524621 @purcell Initial revision
authored
4 ;;----------------------------------------------------------------------------
a3cc5e1 @purcell Add global flags to enable/disable support for various modes at start…
authored
5 ;; Which functionality to enable (use t or nil for true and false)
6 ;;----------------------------------------------------------------------------
8ab0a31 @purcell Try life without viper
authored
7 (setq *vi-emulation-support-enabled* nil) ; "viper-mode"
f2e10b8 @purcell Make flyspell-prog-mode switchable
authored
8 (setq *spell-check-support-enabled* nil)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
9 (setq *macbook-pro-support-enabled* t)
4600ede @purcell Emacs 23 compatibility
authored
10 (setq *is-a-mac* (eq system-type 'darwin))
11 (setq *is-carbon-emacs* (and *is-a-mac* (eq window-system 'mac)))
12 (setq *is-cocoa-emacs* (and *is-a-mac* (eq window-system 'ns)))
a3cc5e1 @purcell Add global flags to enable/disable support for various modes at start…
authored
13
14 ;;----------------------------------------------------------------------------
6727314 @purcell Explicitly require 'cl
authored
15 ;; Make elisp more civilised
16 ;;----------------------------------------------------------------------------
17 (require 'cl)
18
8524621 @purcell Initial revision
authored
19 ;;----------------------------------------------------------------------------
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
20 ;; Load configs for specific features and modes
0d788e1 @purcell Use byte-code-cache to reduce startup time
authored
21 ;;----------------------------------------------------------------------------
8be1cc8 @purcell Remove unnecessary autoloads, and tidy up various bits & pieces
authored
22 (require 'init-utils)
23 (require 'init-site-lisp) ;; Must come before elpa, as it may provide package.el
ab53e66 @purcell Add ruby-mode, and fix load path order
authored
24 (require 'init-elpa)
678a930 @purcell Add a couple of functions I use to upload packages to marmalade
authored
25 (require 'init-marmalade)
8be1cc8 @purcell Remove unnecessary autoloads, and tidy up various bits & pieces
authored
26 (require 'init-exec-path) ;; Set up $PATH
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
27 (require 'init-frame-hooks)
28 (require 'init-xterm)
29 (require 'init-title-bar)
d587f0e @purcell Initialise themes earlier in start-up sequence
authored
30 (require 'init-themes)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
31 (require 'init-osx-keys)
32 (require 'init-gui-frames)
8ca3994 @purcell Improve code for setting network proxies automatically on OS X
authored
33 (require 'init-proxies)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
34 (require 'init-dired)
35 (require 'init-viper)
36 (require 'init-isearch)
37 (require 'init-uniquify)
38 (require 'init-ibuffer)
317febe @purcell Move general flymake configuration to an outboard init file
authored
39 (require 'init-flymake)
40
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
41 (require 'init-recentf)
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
42 (require 'init-ido)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
43 (require 'init-hippie-expand)
44 (require 'init-auto-complete)
45 (require 'init-windows)
46 (require 'init-sessions)
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
47 (require 'init-fonts)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
48 (require 'init-mmm)
49 (require 'init-growl)
182d8a8 @purcell Init themes in outboard file, and load them earlier to help libs pick…
authored
50
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
51 (require 'init-editing-utils)
182d8a8 @purcell Init themes in outboard file, and load them earlier to help libs pick…
authored
52
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
53 (require 'init-darcs)
54 (require 'init-git)
ed7f033 @purcell Add gnuplot-mode
authored
55
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
56 (require 'init-gnuplot)
57 (require 'init-crontab)
58 (require 'init-textile)
59 (require 'init-markdown)
60 (require 'init-csv)
61 (require 'init-erlang)
62 (require 'init-javascript)
63 (require 'init-sh)
64 (require 'init-php)
500bb51 @purcell Extract org-mode settings to init-org.el, and add some clock-related …
authored
65 (require 'init-org)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
66 (require 'init-htmlize)
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
67 (require 'init-nxml)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
68 (require 'init-css)
c2e3657 @purcell Move haml/sass config to a separate init file
authored
69 (require 'init-haml)
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
70 (require 'init-python-mode)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
71 (require 'init-haskell)
72 (require 'init-ocaml)
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
73 (require 'init-ruby-mode)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
74 (require 'init-rails)
c3f9cf3 @purcell Add pymacs/ropemacs support for python
authored
75
8cbd1bc @purcell Convert each 'load' call for initialisation scripts into a 'require'
authored
76 (require 'init-lisp)
e7dd9e0 @purcell Get slime fuzzy completion and slime-fancy working by installing full…
authored
77 (require 'init-slime)
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
78 (require 'init-clojure)
79 (require 'init-common-lisp)
80 ;(require 'init-scheme)
e7dd9e0 @purcell Get slime fuzzy completion and slime-fancy working by installing full…
authored
81
f2e10b8 @purcell Make flyspell-prog-mode switchable
authored
82 (when *spell-check-support-enabled*
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
83 (require 'init-spelling))
5633981 @purcell Enable flyspell-prog-mode in a selection of major modes
authored
84
e391d76 @purcell Add offlineimap.el
authored
85 ;; In-Emacs apps
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
86 (require 'init-twitter)
5633981 @purcell Enable flyspell-prog-mode in a selection of major modes
authored
87
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
88 (require 'init-misc)
e16c514 @purcell Add Michael Weber's library for logging typed commands into a buffer …
authored
89
90
91 ;;----------------------------------------------------------------------------
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
92 ;; Allow access from emacsclient
8524621 @purcell Initial revision
authored
93 ;;----------------------------------------------------------------------------
21137e7 @purcell Explicitly (require 'server), since 'server-running-p isn't otherwise…
authored
94 (require 'server)
c8099ae @purcell Don't (server-start) if a server is already running on the local host
authored
95 (unless (server-running-p)
96 (server-start))
8524621 @purcell Initial revision
authored
97
98
99 ;;----------------------------------------------------------------------------
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
100 ;; Edit-server for Chrome extension: http://github.com/stsquad/emacs_chrome
8524621 @purcell Initial revision
authored
101 ;;----------------------------------------------------------------------------
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
102 (require 'init-edit-server)
8524621 @purcell Initial revision
authored
103
104
105 ;;----------------------------------------------------------------------------
106 ;; Variables configured via the interactive 'customize' interface
107 ;;----------------------------------------------------------------------------
17c9568 @purcell Move customised settings to a separate file
authored
108 (setq custom-file "~/.emacs.d/custom.el")
109 (load custom-file)
8524621 @purcell Initial revision
authored
110
111
112 ;;----------------------------------------------------------------------------
113 ;; Locales (setting them earlier in this file doesn't work in X)
114 ;;----------------------------------------------------------------------------
2a0413c @purcell Extract remaining config blocks in init.el into separate init files b…
authored
115 (require 'init-locales)
Something went wrong with that request. Please try again.