Fork me on GitHub
#emacs
<
2016-12-26
>
hlolli15:12:02

Here's a backtrace of an emacs crash, which crashed while doing c-x c-s then figwheel then compiled that particular cljs document. Just a far fetched paste if more emacs 25.1+cljs users have been experiencing similar things http://pastebin.com/FdjT3ah8

jfntn21:12:22

intellij cursive and clojure-mode don’t agree on clojure indentation, this is very annoying in our team, has anyone worked around this issue?

caio22:12:41

can you provide some examples? I work with ppl using intellij and only had mismatches on midje-mode, not clojure-mode

caio22:12:37

either way, I fixed it using clojure-mode’s indent config:

(defun set-nu-clj-indent ()
  "Reset midje indent to default."
  (define-clojure-indent
    (fact 0)
    (facts 0)
    (against-background 0)
    (provided 0)))

(eval-after-load 'clojure-mode
  '(set-nu-clj-indent))

caio22:12:11

(this is on a .el file on our org’s repo. I just link it on my local emacs config

jfntn22:12:10

ok interesting, I may have to check with my coworker if he has any special settings

jfntn22:12:33

I’m seeing lots of differences on major things like function bodies, single semicolon comments and then some...