NonGNU-devel ELPA - inf-clojure

inf-clojure Atom Feed

Description
Basic interaction with a Clojure REPL
Latest
inf-clojure-3.4.0.0.20260227.65854.tar (.sig), 2026-Feb-27, 130 KiB
Maintainer
Bozhidar Batsov <bozhidar@batsov.dev>
Website
https://github.com/clojure-emacs/inf-clojure
Browse ELPA's repository
CGit or Gitweb
All Dependencies
clojure-mode (.tar)
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package provides basic interaction with a Clojure subprocess (REPL).
It's based on ideas from the popular `inferior-lisp` package.

`inf-clojure` has two components - a nice Clojure REPL (`inf-clojure-mode`)
and a minor mode (`inf-clojure-minor-mode`), which extends `clojure-mode`
with commands to evaluate forms directly in the REPL.

`inf-clojure` provides a set of essential features for interactive
Clojure/ClojureScript/ClojureCLR development:

* REPL
* Interactive code evaluation
* Code completion
* Definition lookup
* Documentation lookup
* ElDoc
* Apropos
* Macroexpansion
* Namespace reloading
* Connecting to socket REPLs

It supports many Clojure runtimes including Clojure (JVM), ClojureScript,
ClojureCLR, babashka, Planck, and Joker.

For a more powerful/full-featured solution see https://github.com/clojure-emacs/cider.

Old versions

inf-clojure-3.4.0snapshot0.20260220.143715.tar.lz2026-Feb-2029.6 KiB
inf-clojure-3.3.0.0.20250525.205532.tar.lz2025-May-2628.3 KiB
inf-clojure-3.3.0snapshot0.20250525.132658.tar.lz2025-May-2528.4 KiB
inf-clojure-3.2.1.0.20250524.191502.tar.lz2025-May-2428.8 KiB
inf-clojure-3.2.1.0.20230909.44557.tar.lz2024-Mar-3128.2 KiB
inf-clojure-3.2.1.0.20221114.61614.tar.lz2022-Nov-1426.6 KiB
inf-clojure-3.2.0.0.20220716.165115.tar.lz2022-Jul-1626.3 KiB
inf-clojure-3.2.0snapshot0.20220715.85649.tar.lz2022-Jul-1526.3 KiB
inf-clojure-3.1.0.0.20220208.162824.tar.lz2022-Feb-0825.8 KiB
inf-clojure-3.1.0.0.20211027.161135.tar.lz2021-Oct-2725.8 KiB

News

Changelog

master (unreleased)

3.4.0 (2026-02-27)

New features
  • #57: Add inf-clojure-show-var-meta command (C-c C-S-m) to display a var's metadata.
  • #205: Add inf-clojure-eval-ns-aware option for namespace-aware evaluation.
Changes
  • Unify reload and reload-all forms with inf-clojure-repl-features, enabling per-REPL-type dispatch. The standalone inf-clojure-reload-form and inf-clojure-reload-all-form defcustoms have been removed.
  • Deduplicate Clojure-family REPL feature definitions via a shared base alist.
  • #143: inf-clojure-show-arglists now displays results in the REPL buffer instead of the minibuffer.
  • Drop support for lein-clr (abandonware).
  • Use the modern eldoc-documentation-functions hook instead of the deprecated eldoc-documentation-function.
  • Remove unused inf-clojure-chomp function.
Bugs fixed
  • Fix inf-clojure-connected-p to check for a live process.
  • Fix truncated autoload cookie on inf-clojure-connect.
  • Fix prefix-arg vs current-prefix-arg in REPL startup.
  • Fix inf-clojure--clojure-buffer-p to work on Emacs 28-29 (derived-mode-p does not accept a list before Emacs 30).
  • #219: Fix project-root error when no project is detected (e.g. Squint REPL outside a project).
  • #136: Fix preoutput filter to handle chunked comint output correctly, preventing spurious newlines (#153) and improving reliability of output filtering.
  • Fix node-babashka auto-detection by adding its startup form entry.
  • #149: Show confirmation message after inf-clojure-set-ns.

3.3.0 (2025-05-25)

New features
  • #202: Add ClojureCLR support.
  • #210 Include inf-clojure-socket-repl to create a socket REPL and connect to it from inside Emacs.
  • #217: Add clojure-ts-mode support.
Changes
  • Improve support for multiple forms in the same line by replacing beginning-of-defun fn.
  • #204: Scroll repl buffer on insert commands
  • #208 Display message after setting REPL.
  • Require Emacs 28.
  • Drop support for Lumo.

3.2.1 (2022-07-22)

Bugs fixed
  • Address some small issues with NonGNU ELPA (e.g. missing maintainer metadata).

3.2.0 (2022-07-15)

New features
  • #168: New helper function inf-clojure-switch-to-recent-buffer to select the last buffer an inf-clojure process buffer was swapped to from.
  • #187: New defcustom inf-clojure-enable-eldoc to disable eldoc interaction.
Bugs fixed
  • #185: Improve cmd string splitting.
  • #193: Set syntax table in REPL buffer.
  • Fix inf-clojure-display-version (it wasn't extracting properly the package version).

3.1.0 (2021-07-23)

New features
  • #190: Helper function inf-clojure-set-repl to select inf-clojure process buffer.
  • Auto-enable inf-clojure-minor-mode after invoking inf-clojure. This behaviour is controlled via inf-clojure-auto-mode.
  • Include the project name automatically in the REPL buffer name.
Bugs fixed
  • #152: Sanitize should only remove whitespace at the end of a command.
  • #188: Handle newlines between forms for inf-clojure-eval-buffer. ... ...