Fork me on GitHub
#emacs
<
2020-04-22
>
martinklepsch09:04:47

How would I configure emacs so that it indents these testing macros like this

(describe "Fruits"
  (describe "Apples"
    (it "is red" []
      ;; assertion code
      )))

martinklepsch09:04:40

We tried (put-clojure-indent 'it 1) but I think that doesn’t work properly for it due to the extra []? I’m not sure.

qythium09:04:36

shouldn't that be 2? since there are 2 "head" params there

martinklepsch09:04:47

@ thanks, I wasn’t quite clear about the syntax there but I’ll give this a shot!

andrzej.fricze13:04:13

Hi, I’m using flycheck-mode with clojure-mode and it’s working properly, most of the time, but right now I have a lot of promenade calls in codebase, like promenade/mlet https://cljdoc.org/d/promenade/promenade/0.7.2/doc/introduction-to-promenade#mlet. Flycheck complains because mlet is not recognized as form of let . Is there a known way to add own special forms to syntax checker to fix this inconvenience?

nirrub14:04:06

flycheck probably uses joker and/or clj-kondo for checking - both of them can be configured to ignore/accept these kind of error

andrzej.fricze14:04:48

awesome, thanks

andrzej.fricze14:04:11

found clj-kondo configuration and it just worked, awesome stuff 😄

jr0cket15:04:45

Started using org-journal (and now wondering how I lived without it). Has anyone exported the journal to a website with a nice CSS theme? I'd like to just push the content to GitHub or GitLab pages and have something easy to navigate the daily journal. Any pointers would be great. I've seen a few mentions of org-hugo, but wondering if there is a way to do it without a static website build tool.