Skip to content

dcluna/4clj-el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

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).

About

Emacs minor-mode for interacting with 4clojure problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published