Public Repository

Last pushed: 2 years ago
Short Description
Emacs (+ Leiningen) with config from 'Clojure for the Brave and True'.
Full Description

Emacs + Leiningen with config from Clojure for the Brave and True.

Dockerfile

lein-emacs

Dockerfile for emacs with config from Clojure for the Brave and True.

Usage

$ docker run -it --rm --name project -v $(pwd):/root/project lein-emacs:1.0

# then open file:
C-x C-f path/to/open.clj
# ...and start nrepl:
M-x cider-jack-in

Recommended usage:

# in e.g. ~/.bashrc

function demacs() {
  path=$(pwd)
  name=${path##*/}
  docker run -it --rm --name "emacs-${name}" -v ${path}:/root/project lein-emacs:1.0 emacs "/root/project/${1}"
}

# usage:
# from lein-project:
# $ demacs src/euler/core.clj
Docker Pull Command
Owner
eval

Comments (0)