Fork me on GitHub
#spacemacs
<
2017-05-04
>
jstokes03:05:10

anyone successfully overridden the cider-pprint-fn to puget/fipp?

jstokes14:05:52

well I don’t know what I did differently, but this morning it seems to be working 😕

eggsyntax18:05:55

I would swear there was a way to toggle SM between two different structural editing modes, but damned if I can find it. Anyone?

grierson18:05:33

Newbie question - I keep getting this error. ‘Symbols value as variable is void company-frontends’. I’l finish an expression then press enter to start a new line but I think Spacemacs is reading it as trying to autocomplete but there is nothing to complete.

eggsyntax18:05:40

Sounds like maybe company, or company-frontends, isn't installed? IIRC company has to be installed on your system to use it for autocompletion. Have you changed any settings related to autocompletion?

grierson18:05:23

nope, using the default .spacemacs config

eggsyntax18:05:25

Weird. No clue, then. Do you have some customization in the ~/.emacs.d directory left over from customizing a previous emacs distribution?

grierson18:05:18

Nope, I hit enter for all the default options when I first installed.

eggsyntax18:05:16

No idea, then, I'm afraid, other than to google the error, which I'm sure you've done. Good luck!

grierson18:05:43

Yep 🙂 Thanks

jstokes20:05:14

and just like that cider-pprint-fn goes back to clojure pprint. (after spacemacs restart)

jstokes20:05:04

even in customize-group it’s set to puget, thoroughly confused

eggsyntax20:05:07

@jstokes I'd expect you could add (setq cider-pprint-fn fn-you-want) to your .spacemacs. Or setq-default.

jstokes20:05:35

yeah i have this in my user-config

jstokes20:05:51

and looking at customize-group it is applied

jstokes20:05:15

this is when calling C-c C-p cider-pprint-eval-last-sexp fwiw

eggsyntax20:05:05

Gotcha. That's annoying. Maybe you have to setq it (with-eval-after-load 'clojure-mode ... )?

jstokes20:05:39

i’ll give that a shot when i don’t have repls running that i dont want to abandon

eggsyntax20:05:57

I know that feeling

jstokes20:05:36

i need a meta-repl where i can (flush-state-to-disk!) 🙂

jstokes20:05:19

this may have worked for a while earlier since i was hacking around with the cider elisp. in some places it looks like we can pass in a pretty-printer, and i just nuked those

jstokes20:05:39

the extent of my elisp knowledge is balancing parens though