clojure-mode icon indicating copy to clipboard operation
clojure-mode copied to clipboard

Emacs support for the Clojure(Script) programming language

Results 54 clojure-mode issues
Sort by recently updated
recently updated
newest added

> Fixes https://github.com/clojure-emacs/clojure-mode/issues/581 [Context](https://github.com/clojure-emacs/clojure-mode/issues/581#issuecomment-1204844737) ----------------- Before submitting a PR mark the checkboxes for the items you've done (if you think a checkbox does not apply, then leave it unchecked): -...

## Expected behavior The following are both valid keywords, however, the font locking doesn't work on the second one ``` :foo :1foo ``` ## Actual behavior Keywords starting with a...

bug
good first issue

## Expected behavior ```clj (reify Object #?@(:clj [(equals [this other]) (hashCode [_] (hash 1))] :cljs [(toJSON [this] (throw (ex-info "error" {}))) IEquiv (-equiv [this other] true)])) ``` ## Actual behavior...

indentation
help wanted
bug

## Expected behavior Running `clojure-thread-last-all` on the following ```clojure (foo x ;; grobble (bar y)) ``` should preserve the comments and not unbalance parens. eg. ```clj (->> y (bar) (foo...

help wanted
bug

I noticed a, to me, weird behavior of `clojure-fill-paragraph`. I was listing keyword arguments in a docstrsing, and when I tried to fill it I ended up with something similar...

## Expected behavior When editing an EDN buffer (file ending .edn), clojure mode should treat all paren forms as lists rather than functions, since EDN is a data format. Thus...

enhancement

```emacs-lisp (clojure--valid-put-clojure-indent-call-p '(put-clojure-indent 'letfn '(1 ((:defn)) nil))) ;; => *** Eval error *** Unrecognized put-clojure-indent call: (put-clojure-indent 'letfn '(1 ((:defn)) nil)) ``` I was trying to use the same indentation...

bug

Some thoughts on syntax highlighting. ``` (def foo 42) ; font-lock-variable-name-face (defn bar [x] x) ; font-lock-function-name-face ``` I think variable-name-face should be used for foo in `(let [foo 42]...

While Emacs and clojure-mode have good support for "lisp-style" indentation, and provided fine-grained customization via indent-specs, some prefer "dumb" indentation where every single form gets the same level of indent,...

Because of two hard-coded `always-align` calls in `clojure-indent-function` it is not as simple as `(setq clojure-indent-style 'always-indent)` to get the desired effect. As undesirable as that effect may be for...