Mercurial > dotfiles
annotate .elisp/settings/00.bootstrap.el @ 325:64e73453e43f
xmonad: Pull apart custom layout into something readable
This change doesn't affect any behavior, but it does document the custom
layout by naming function parameters. Hopefully, this will make things
easier to fix the next time the XMonad developers break us.
author | Lucas Bergman <lucas@bergmans.us> |
---|---|
date | Tue, 11 Mar 2014 12:49:05 -0500 |
parents | aa5afa13e12c |
children | 4f49d70f1b69 |
rev | line source |
---|---|
219
bb74667967e1
emacs bootstrap: record setup command for sanity
Augie Fackler <durin42@gmail.com>
parents:
214
diff
changeset
|
1 ;; emacs -l .elisp/settings/00.bootstrap.el --batch -f af-bootstrap-packages |
bb74667967e1
emacs bootstrap: record setup command for sanity
Augie Fackler <durin42@gmail.com>
parents:
214
diff
changeset
|
2 ;; Use the above for moving into a new machine |
214
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 (add-to-list 'load-path (expand-file-name "~/.elisp")) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 (load "package") |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
5 (package-initialize) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
6 |
248
e703696d4df5
emacs bootstrap: moved my personal elpa archive
Augie Fackler <durin42@gmail.com>
parents:
236
diff
changeset
|
7 (setq package-archives '(("durin42" . "http://durin42.com/elpa/") |
299
4a7d426f22cb
emacs: add marmalade to elisp package repo list
Augie Fackler <raf@durin42.com>
parents:
276
diff
changeset
|
8 ("marmalade" . "http://marmalade-repo.org/packages/") |
323
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
9 ("melpa" . "http://melpa.milkbox.net/packages/") |
214
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
10 ("elpa" . "http://tromey.com/elpa/"))) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
11 |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
12 (defun af-bootstrap-packages () |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
13 (interactive) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
14 (unless package-archive-contents (package-refresh-contents)) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
15 (dolist (pack '(diff-mode- |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
16 doctest-mode |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
17 http-twiddle |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
18 ipython |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
19 nose |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
20 ;; disabled until I don't need a modified version |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
21 ;; textmate |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
22 iedit |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
23 ;; from elpa |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
24 js2-mode |
220 | 25 magit |
314
7cb31ed262f0
emacs: require markdown-mode
Augie Fackler <raf@durin42.com>
parents:
303
diff
changeset
|
26 markdown-mode |
214
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
27 paredit |
236
3e1ec121efaf
emacs: use smex as a replacement for execute-extended-command
Augie Fackler <durin42@gmail.com>
parents:
220
diff
changeset
|
28 smex |
276
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
248
diff
changeset
|
29 yaml-mode |
303
6fd7c78744a6
emacs: install wgrep all the time
Augie Fackler <raf@durin42.com>
parents:
299
diff
changeset
|
30 company |
6fd7c78744a6
emacs: install wgrep all the time
Augie Fackler <raf@durin42.com>
parents:
299
diff
changeset
|
31 wgrep |
323
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
32 ;; for go-eldoc |
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
33 popup |
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
34 auto-complete |
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
35 go-autocomplete |
aa5afa13e12c
emacs: add go-eldoc for better go programming
Augie Fackler <raf@durin42.com>
parents:
314
diff
changeset
|
36 go-eldoc |
303
6fd7c78744a6
emacs: install wgrep all the time
Augie Fackler <raf@durin42.com>
parents:
299
diff
changeset
|
37 )) |
214
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
38 (unless (or (member pack package-activated-list) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
39 (functionp pack)) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
40 (message "Installing %s" (symbol-name pack)) |
2a4efba0fe8b
emacs: move package bootstrap to its own file
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
41 (package-install pack)))) |