Skip to content

lambdart/el-iclj

Repository files navigation

Introduction

From Masteringemacs:

One of the hallmarks of Emacs is its ability to interface with external processes and add to the user experience with the full coterie of Emacs functionality like syntax highlighting, macros, command history, and so on. This functionality has been in Emacs since time immemorial, yet few people make their own command interpreters – also known as comint – in Emacs, fearing that it is either really difficult or not possible.

It’s not surprising people feel this way when you consider how woefully underdocumented this functionality is; the few, scattered references to comint “mode” reveal little, and as a hacker you are forced to use the source, Luke.

So, this is a simple Clojure REPL support for Emacs that can be used to help edit/investigate any Clojure source code from the associated buffer (or not).

Goal

Be a lightweight alternative to (inf-clojure and cider) following the Emacs/Elisp philosophy.

Version

  • Alpha: 0.0.1

Dependencies

  • comint
  • clojure-mode (optional)

Tested on

Emacs27.128.0
FreeBSD12.112.2
OpenBSD6.8

Installation

Manually

Clone Iclj repository to an arbitrary location:

$ git clone https://github.com/lambdart/iclj ~/.emacs.d/site-elisp/iclj

Add Iclj directory to load-path in your Emacs initialization file (init.el) and load it.

;; add to load-path
(add-to-list 'load-path "/replace/me/to/iclj/full/path")

;; load iclj feature
(require 'iclj nil t)
  • Note: For a more dynamic approach:
    • M-x load-file RET
    • M-x load-library RET iclj RET

Compile

  • Note: Optional (recommended).

To compile the files to the Elisp byte-compiled representation:

[at-iclj-root-directory]$ gmake

Usage

Customize

  • Note: To see all the options from Emacs directly, and to customize it, just type: M-x customize-group RET iclj RET.

Commands

References

LICENSE

MIT

EOF

Deisgn patterns are spoonfeed material for brainless programmers incapable of independet
thought, who will be resolved producing code as mediocre as the design patterns they used
to create it.
Christer Ericson

Releases

No releases published

Packages

No packages published