spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
mafcocinco 2020-08-18T15:14:12.187300Z

Just curious: has anyone written or know of a layer for Datomic? I’m not sure all what would be involved but there are some tabbing/formatting considerations, specifically in the area of :where clauses on queries that would be useful.

practicalli-john 2020-08-18T15:33:13.187400Z

I assume this would just need some formatting rules applied, rather than a layer. Or if more complex, then an Emacs package for Datomic.

practicalli-john 2020-08-18T15:33:38.187600Z

The only datomic specific package I have seen is https://github.com/magnars/datomic-snippets

mafcocinco 2020-08-18T16:17:51.187900Z

Yes, i think it is mostly/exclusively formatting. I’ll check out the snippets package. Thanks for your help!

practicalli-john 2020-08-18T16:19:52.188100Z

Maybe this will be helpful https://docs.cider.mx/cider/0.26/indent_spec.html

practicalli-john 2020-08-18T16:20:50.188300Z

Would be interesting to hear if you add any configuration. I will be doing Datomic work later in the year.

zane 2020-08-18T16:54:30.188500Z

I’d be curious to hear how your preferred formatting for queries departs from clojure-mode’s default indentation!

mafcocinco 2020-08-18T18:11:08.188700Z

Just one specific place that I have seen, and maybe there is a work around. This is it:

mafcocinco 2020-08-18T18:14:07.188900Z