annotate .emacs @ 79:26f1ccac509c

Bind g to recompile in compilation-mode buffers.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Apr 2009 11:18:03 -0500
parents 45d7441d0cf2
children 8aa70b521063
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 ;; Augie Fackler's .emacs file
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 ; Places I've stolen from:
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 ; Dave Anderson:
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5
74
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
6 (add-to-list 'load-path (expand-file-name "~/.elisp"))
76
2b2a667092fd Add nose.el.
Augie Fackler <durin42@gmail.com>
parents: 74
diff changeset
7
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
8 ; Start the server so that emacsclient will work
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
9 ; TODO: is there a way to *not* start a server if one was already running?
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
10 (server-start)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
11
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents: 76
diff changeset
12 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents: 76
diff changeset
13 (mapc '(lambda (p) (load (concat settings-files "/" p)))
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents: 76
diff changeset
14 (directory-files settings-files nil ".*el$")))
74
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
15
77
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents: 76
diff changeset
16 (if (file-regular-p (expand-file-name (concat (getenv "HOME")
45d7441d0cf2 Modularize .emacs
Augie Fackler <durin42@gmail.com>
parents: 76
diff changeset
17 "/.emacs-machine.el")))
74
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
18 (load (expand-file-name "~/.emacs-machine.el")))