Fork me on GitHub
Drew Verlee00:03:21

@eggsyntax That seems to have done the trick. @bpiel Awesome! Thanks for your hard work on this. I’m something of a emcas newbie. At this point in your instructions you type C-c s w. For the magic debug tree. I’m 90% sure C-c means Ctrl-C but when i git those keys spacemacs tells me there are no commands following that. I’m afraid to emit i use spacemacs mainly by getting around helm. If i search for sayid i get a list of commands like sayid-trace-all-ns-in-dir. Which i ran before executing the tests. However im not sure what command to run after that.


@drewverlee C-c does mean Ctrl-c


so.. the key bindings aren't being set


which is what the code you mentioned earlier

(eval-after-load 'clojure-mode
is supposed to do


but... the function those keys are meant to be bound to is sayid-get-workspace. You should be able to call that and see what, if anything, was captured

Drew Verlee00:03:14

Ah ok. let me fiddle with my setup. I just added sayid to the additional packages.

Drew Verlee01:03:33

After properly adjusting my head, it was clear i just needed to add (with-eval-after-load ‘clojure-mode (sayid-setup-package)) to my user-config in my .spacemacs file. eval-after-load would almost certainly work to.

Drew Verlee01:03:06

It seems like Sayid might conflict with some of spacemacs configuration settings. For example if i type i i get insert-mode (as i’m using evil mode). I’ll see if i can find the time to fiddle further. Its possible these problems are rather pedestrian in nature.


@drewverlee sayid is definitely super-cool, but at least as of his /conj talk, it was at a pretty beta stage. If you run into much trouble with it, you might want to consider working with cider for now, since that’s quite mature & well-integrated with spacemacs, and has a pretty decent debugger.


Unless you’re just super-psyched to play with sayid, which I totally get 😄


I'd still call it alpha actually 😄


and you need cider to use sayid anyway


Oh, right, @bpiel sayid is yours, right?


Very cool — the conj talk blew me away 🙂


glad you enjoyed it!


I was really nervous, but ended up having more fun than I expected


It’s a good crowd 😄


@drewverlee are you pressing i in the sayid buffer? is that buffer in evil-mode? (I've never user spacemacs or evil)


maybe hitting i again in insert-mode would trigger the sayid keybinding? just guessing


i in insert-mode would typically just insert the letter i. @bpiel if you can say what the name of the relevant emacs function is, @drewverlee you can hit SPC-: or M-x to enter helm-M-x mode, and then type the name of the function and it’ll tell you what keys (if any) are currently bound to that function.


depends on which sayid mode we're talking about. Assuming it's the buffer that shows the trace tree, i should call sayid-query-id


My guess is there’s probably some prefix he has to hit to make those bindings available. SPC-m opens the major-mode menu, but I’m guessing sayid is a minor mode?


For clojure-mode buffers, sayid adds its keybindings through some prefix-map mechanism (something I just recently learned about). There's no mode. But, sayid has a few major modes that it uses for the different types of sayid buffers


Ah, ok. If I get a chance I’ll install it sometime in the next day or so & see if I can figure out what the commands would be in spacemacs/evil.


cool. I encourage you to send me feedback, github issues etc


Maybe I'll bump this thing from alpha to beta one day (if it's ever ready)


Will do, I’ll try to make a couple on sayid + spacemacs & send it your way.


ok I should go to bed


Quick answer (just installed) — looks like some of the sayid commands are bound behind C-c, but there are quite a few that aren’t bound.


Ah, yeah, here we go. @drewverlee typing C-c s (that’s ctrl-c followed by s) will get you into a sayid menu.


So @bpiel that’s the quick answer if anyone else has the same question.