Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Emacs minor-mode for interacting with 4clojure problems.
Emacs Lisp
branch: master

Merge pull request #3 from klang/master

indent buffer and remove ^M
latest commit dc4909016c
@dcluna authored
Failed to load latest commit information.
README.org minor require/provide problem
four-clj.el indent buffer and remove ^M

README.org

four-clj.el

Introduction

This is an Emacs minor mode aimed at Clojure beginners (much like myself). You type M-x 4clojure-problem <RET> <problem-number> <RET> and the mode takes care of the rest.

For a better experience, use clojure-mode and swank-clojure.

Installation

Download the file, put it somewhere in your load-path (~/.emacs.d, for instance) and require it:

(add-to-list 'load-path "~/.emacs.d/4clj-el/")
(require 'four-clj)

Configuration

4clj-comment-string

Holds the comment prefix for description.

4clj-buffer-name

4clojure buffer name. Defaults to 4clojure.

4clj-template-function

The function that renders the template. Anything that receives a string with newline-separated tests and returns a string template will do.

Todo

Escape HTML in problem description.

Put the problem number in the buffer name (it erases the 4clojure buffer contents).

Something went wrong with that request. Please try again.