by paddy_m · 13y ago · 0 comments
If you want to try it, just brew install emacs --cocoa and clone the repo to ~/.emacs.d
A coworker and I trade snippets of elisp for our configurations over email, and whenever I update the repo on one machine, the other needs to pull it down and evaluate the file (eval-buffer)
I have not found sharing customizations of emacs to be very difficult, but I also don't use any god packages like emacs starter-kit, or prelude (which I haven't heard of). I have let my configuration grow organically.
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages '(clojure-mode ...)) ; list of packages
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))It's gotten more sophisticated over the years. I can probably clean it up some but it works so I haven't touched it :-)