emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
martinklepsch 2020-04-22T09:15:47.137100Z

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

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

martinklepsch 2020-04-22T09:16:40.137900Z

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.

yuhan 2020-04-22T09:44:36.138Z

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

martinklepsch 2020-04-22T09:47:47.138200Z

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

yuhan 2020-04-22T09:58:53.138400Z

check out the official docs: https://docs.cider.mx/cider/indent_spec.html

fricze 2020-04-22T13:48:13.141200Z

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?

Nir Rubinstein 2020-04-22T14:20:06.141600Z

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

fricze 2020-04-22T14:33:48.141800Z

awesome, thanks

👍 1
fricze 2020-04-22T14:40:11.142100Z

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

practicalli-john 2020-04-22T15:13:45.145500Z

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.