I have developed a set of configuration files that allow me to efficiently carry out my daily work in Emacs. This repository contains these configuration files in the hope that they will be useful to others.
To install this Emacs configuration run:
git clone git@github.com:peterwvj/emacs.d.git ~/.emacs.d
Comprehensive Emacs configurations usually take a bit of time to load. To address this, I launch Emacs as a daemon on system startup, and every time I need to use Emacs I launch it as a client. In this way, the configuration only needs to be loaded once during system startup.
To launch Emacs as a daemon execute:
emacs --daemon
In addition, I use a function e
to launch Emacs as a client:
function e {
emacsclient -c "$@" > /dev/null 2>&1 & disown
}
Now, to open a file with Emacs you simply run:
e <file>
I use Travis CI to test that the configuration works with the most recent versions of Emacs. Specifically, I check that it loads with Emacs 24.5, 25.1 and bleeding edge snapshots. The approach that I take to testing that the configuration loads successfully is inspired by that of Steve Purcell.