practicalli (youtube)

Something else I noticed: your Spacemacs setup has a few things set up that I don’t have, like company-mode. Is there anywhere that I can look in order to figure out how to get that working with spacemacs? I already tried adding the following to my .spacemacs`: (global-company-mode t) in user-config and

(auto-completion :variables                     auto-completion-use-company-box t)
in dotspacemacs-configuration-layers … I now get autocomplete but not company-mode working in Clojure source code buffers. 😕


I noticed you also had flycheck set up and working… is there some obvious spacemacs setup step that I might have missed off?

practicalli-john 2020-12-06T17:58:19.217300Z

My .spacemacs config is here... its the init.el file in .spacemacs.d


Many thanks. I confess I can’t get yours to work on my emacs (and I can’t figure out what is meaningfully different between yours and mind) but will spend some more time on it. If I can’t figure it out, where would be the best place to ask for help? (I’m guessing that this isn’t the best place 🙂 )

practicalli-john 2020-12-06T18:09:50.217700Z

are you aware you cant have both a .spacemacs and a .spacemacs.d configuration, the .spacemacs will take preference

practicalli-john 2020-12-06T18:15:33.217900Z

The flycheck needs the syntax-checking layer and then add clojure-enable-linters 'clj-kondo as a variable to the clojure layer. Assuming you are using Spacemacs develop

(clojure :variables
              clojure-toplevel-inside-comment-form t
              cider-overlays-use-font-lock t
              cider-preferred-build-tool 'clojure-cli
              clojure-enable-linters 'clj-kondo
              clojure-enable-clj-refactor t)


Ah so it turns out I don’t have a working clj-kondo and I certainly don’t have the clojure-enable-linters 'clj-kondo config so I will try to get that working - thank you!

practicalli-john 2020-12-06T18:30:01.218400Z

Suggest checking your .spacemacs file against the template, to see if there have been any updates. SPC f e D will open ediff with the relevant files. This should be done each time you update Spacemacs itself (not the packages, but pulling a new version of the spacemacs code in .emacs.d

practicalli-john 2020-12-06T18:30:49.218600Z

Of course you will know that having read my book 🙂


^^^ I totally need to read that


I now have clj-kondo working 🙂… still lots more to figure out but I’ll have another look at the book when I get some more time.


Many thanks John - you rule!

practicalli-john 2020-12-06T18:34:32.219400Z

If you get stuck for more than a few minutes, just ask quesions...


Cool I will totally take you up on that - thank you 🙂


I’m definitely getting there… A few weeks ago, I was still on my circa-2013 custom emacs config and I’ve switched to Spacemacs and got most of the things working (and many new things that Spacemacs sets up for me so I don’t have to). I’m now fairly productive working in Clojure again (or at least productive as someone with very rusty Clojure skills can be) so I’m very grateful for that!

practicalli-john 2020-12-06T20:06:29.222600Z

I've spotted a missing feature of antq, which I use to update to the library versions defined in the user level configuration in practicalli/clojure-deps-edn I will do a further manual check for updates on Monday

practicalli-john 2020-12-06T21:52:42.223500Z

Turns out to be an easy fix, so I've created a PR already. So hopefully its in the next release of antq.