Sign inSign up

eval/lein-emacs

By eval

Updated over 10 years ago

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

Image
1

205

eval/lein-emacs repository overview

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

Tag summary

Content type

Image

Digest

Size

349.9 MB

Last updated

over 10 years ago

docker pull eval/lein-emacs:1.0