Fork me on GitHub
#emacs
<
2018-02-11
>
bozhidar05:02:21

Probably text-mode?

opsb12:02:03

Just started using spacemacs with evil mode, for some reason when I'm in a clj file hitting c clears the line and enters insert mode. With other layers it behaves as expected so I can use ciw etc. Anyone know what's going on?

opsb12:02:45

nvm, restart cleared it...

opsb12:02:11

ah, it seems the problem starts when I do a cider-jack-in

bozhidar13:02:46

@oliver089 That’s odd. Can you check what c gets bound to then?

opsb13:02:07

it looks like it just switches to holy mode when I jack in

bozhidar13:02:08

I don’t use evil-mode, but I assume you’re getting some keybinding conflict when cider-mode gets enabled.

bozhidar13:02:30

I don’t even know what this is. 🙂

opsb13:02:35

as in emacs mode 🙂

opsb13:02:38

(not evil)

bozhidar13:02:19

I see - might be some issue with Spacemacs then.

gonewest81818:02:22

When writing elisp tests in buttercup, aren’t “spies” supposed to exist only in the describe block where they are defined? I’m seeing the behavior where spy-on in one block is breaking tests in another.

gonewest81818:02:50

hold on… I’m pinning buttercup to melpa-stable, let me unpin and try again.

dpsutton18:02:30

i've seen that before. it broke a lot of tests

dpsutton18:02:37

i think buttercup is abandoed righ tnow

gonewest81818:02:28

Very irritating. Well, the github project shows some recent activity. I guess I’ll file an issue.

richiardiandrea18:02:49

Buttercup is on the brink of being replaced by an internal emacs test framework. There should be a PR in buttercup which has more detail

richiardiandrea18:02:11

In inf-clojure I am using both for the little amount of tests I added

richiardiandrea18:02:26

Waiting for better times 😄

dpsutton18:02:27

what's the internal framework? ert?

dpsutton18:02:30

or something new

richiardiandrea18:02:52

Something new will land, don't remember now the details...let me check

dpsutton18:02:28

oh cool. any chance @richiardiandrea or @gonewest818 are gonna be in new orleans for clojure SYNC?

richiardiandrea18:02:06

@dpsutton this year only one Clojure conf for me and I am thinking it will be the conj 😸

dpsutton18:02:28

gotcha. just wondering who was gonna be in the crowd

gonewest81818:02:12

@dpsutton I wish, but concentrating on other priorities this winter/spring.

dpsutton18:02:41

i gotcha. i'm in louisiana only 2 hours away so it didn't make sense not to go for me 🙂

gonewest81818:02:20

That said, I don’t see evidence of assess being integrated in Emacs 26 or master.

gonewest81822:02:28

I think I’ve worked around my issue … you can’t use the spy-on directive immediately inside the describe form. You have to set it up either inside a before-each (or probably before-all but I didn’t test that), or inside the it form, and then the scoping seems to be managed correctly.