Clojure Mode Versions Save

Emacs support for the Clojure(Script) programming language

5.3.0

7 years ago

Bugs fixed

  • #371: Don't font-lock :foo/def like a def form.
  • #367: clojure-align no longer gets confused with commas. In fact, now it even removes extra commas.

New features

  • #370: Warn the user if they seem to have activated the wrong major-mode.
  • Make the expected ns function configurable via clojure-expected-ns-function.

5.2.0

7 years ago

Bugs fixed

  • #361: Fixed a typo preventing the highlighting of fn names that don't start with t.
  • #360: clojure-align now reindents after aligning, which also fixes an issue with nested alignings.

New features

  • #362: New custom option clojure-indent-style offers 3 different ways to indent code.

5.4.0

7 years ago

New features

  • When aligning forms with clojure-align (or with the automatic align feature), blank lines will divide alignment regions.
  • #378: Font-lock escape characters in strings.
  • Port threading macros related features from clj-refactor.el. Available refactorings: thread, unwind, thread first all, thread last all, unwind all.
  • New command: clojure-sort-ns.
  • All ns manipulation commands have keybindings under C-c C-r n.

5.0.1

8 years ago

Bugs fixed

  • Don't treat the symbol default-(something) as def* macro.
  • cider-find-ns now returns the closest ns instead of the first one.
  • #344: Fixed the indentation of extend-type.

5.1.0

8 years ago

New features

  • Vertically align sexps with C-c SPC. This can also be done automatically (as part of indentation) by turning on clojure-align-forms-automatically.
  • Indent and font-lock forms that start with let-, while- or when- like their counterparts.
  • Apply the font-lock-comment-face to code commented out with #_.
  • Add indentation config for ClojureScript's this-as.

Bugs fixed

  • Namespaces can now use the full palette of legal symbol characters.
  • Namespace font-locking according to clojure.lang.LispReader.
  • Fixed the indentation for specify and specify!.
  • Fixed the docstring indentation for defprotocol.

5.0.0

8 years ago

New features

  • #302: Add new sexp navigation commands. clojure-forward-logical-sexp and clojure-backward-logical-sexp consider ^hints and #reader.macros to be part of the sexp that follows them.
  • #303: Handle boot projects in clojure-expected-ns.
  • Added dedicated modes for ClojureScript, ClojureC and ClojureX. All of them are derived from clojure-mode.
  • Added support for Gradle projects.
  • Vastly improved indentation engine.
  • Added support for reader conditionals.
  • Improved font-locking of namespaced symbols.

Bugs fixed

  • #310 and #311 Fix clojure-expected-ns in multi-source projects.
  • #307: Don't highlight handle and handler-case as keywords.
  • Fix font-locking for def with special chars such as: defn*, defspecial!.
  • Numerous indentation issues.

3.0.1

9 years ago

Bugs fixed

  • Numerous font-lock bug fixes.
  • #260: Don't treat @ as a word character.
  • #239: Indent properly multi-arity definitions.