Skip to content

peterwvj/emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Emacs configuration

https://travis-ci.org/peterwvj/emacs.d.svg?branch=master

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.

Quick start

To install this Emacs configuration run:

git clone git@github.com:peterwvj/emacs.d.git ~/.emacs.d

Using the configuration

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>

Testing the configuration

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.