Skip to content

Releases: clojure-emacs/inf-clojure

v3.4.0

27 Feb 06:58

Choose a tag to compare

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.

inf-clojure 3.3.0

25 May 20:55

Choose a tag to compare

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.

inf-clojure 3.2.0

15 Jul 09:08

Choose a tag to compare

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

inf-clojure 3.1

23 Jul 07:20

Choose a tag to compare

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.
  • #189: Font-lock code inserted in the REPL from a source buffer.

inf-clojure 3.0

03 Aug 16:20

Choose a tag to compare

New features

  • #174: Invoke inf-clojure with a prefix argument to prevent using inf-clojure-custom-startup and inf-clojure-custom-repl-type.
  • Made it possible to add user-defined REPL types (by modifying inf-clojure-repl-features).

Changes

  • (Breaking) Restructure massively the configuration. See inf-clojure-repl-features for details.
  • #174: Set REPL type from startup form or prompt at startup, introduce inf-clojure-custom-repl-type defcustom.
  • #173: Use clojure-mode's project detection instead of duplicate version in inf-clojure.

inf-clojure 2.2

03 Aug 16:21

Choose a tag to compare

New features

  • #170: Add insert defun and last sexp commands.
  • #160: Support Joker.

Bugs fixed

  • #164: Fix for eldoc-mode on ClojureCLR.
  • #135: Improve command sanitation code.
  • Fix info-clojure-apropos.

inf-clojure 2.1

03 Aug 16:21

Choose a tag to compare

New Features

  • #114: Introduce inf-clojure-project-type defcustom.
  • #117: Introduce tools.deps project type and inf-clojure-tools-deps-cmd.
  • #122: Introduce inf-clojure-completions-fn defcustom.
  • #128: Expose inf-clojure-apropos as C-c C-S-a in inf-clojure-mode (the REPL).
  • #125: Avoid throwing an error for frequent operations like completion.
  • #130: Support loading directory locals in our buffers.
  • #129: Improve the completion bounds detection (now with keywords).
  • #132: Introduce inf-clojure-reload.

Bugs Fixed

  • #79: Eldoc error when running boot repl.
  • #83: No such namespace: complete.core in lumo REPL.
  • #93: Slow response from inf-clojure (completions, arglists, ...).
  • #101: inf-clojure-set-ns hangs Emacs.
  • #119: Set inf-clojure-buffer REPL type on detect.
  • #120: Send REPL string always, even if empty.
  • #128: Fix inf-clojure-apropos.
  • #131: Add macroexpand forms for Lumo.

inf-clojure 2.0

01 May 17:44

Choose a tag to compare

New Features

  • #63: Fix spurious process output on init.
  • #57: Add inf-clojure-connect.
  • #66: Add Planck support.
  • #51: Commands do not prompt by default anymore, unless they receive a non-nil prefix argument.
  • #44: Add REPL types and Lumo support.
  • #50: Rename defcustoms to inf-clojure-*-form where appropriate.
  • #34: Add support for socket REPL connections.
  • New interactive command inf-clojure-display-version.
  • #42: Add a defcustom controlling the window in which the REPL buffer is displayed (inf-clojure-repl-use-same-window).
  • Font-lock the code in the REPL.
  • Handle properly ANSI color escape sequences in the REPL.
  • #41: Add a command to quit the REPL (it's bound to C-c C-q).
  • #29: Add a command to restart the REPL.
  • #31: Invoke different init command based on the project type (boot, lein or generic).

Changes

  • Display the REPL in a different window by default (it used to be displayed in the current window).
  • #26: Make switching to the REPL optional on inf-clojure-load-file (it's now controlled via a prefix argument).
  • Removed the inf-clojure alias run-clojure.

Bugs Fixed

  • #35: Fix prompt being included in input history.