clojure-emacs/sayid

"N" in function trace buffer points to un-existing function

rmuslimov opened this issue · 3 comments

I'm following your tutorial here: http://bpiel.github.io/sayid/. At the moment when user supposed to N

Now press N and hold onto your hat.

it fails with exception: Wrong type argument: commandp, sayid-buf-replay-with-inner-trace

I even cannot find this function definition in sayid.el, is it a bug?

bpiel commented

Sorry for the confusion. The tutorial is old and needs to be updated (by me). I tore out the replay features because they weren't working out well.

Instead, you need to add the inner trace manually. You can do that by positioning the cursor over a function's name and running sayid-inner-trace-fn (C-s t n).

Thanks for trying sayid and filing this. I'll leave this issue here as a reminder to myself to update the site.

FYI I ran into this issue tonight as well.
I had to run through git blame to realize the docs are incorrect as well as the emacs mode bindings.
Is there anything I could do to help?

bpiel commented

@MageMasher Sorry for the inconvenience and delayed response. Thanks for getting in touch. PRs welcome. Otherwise, I'd like to do this soon (I realize this is a year old), but am tied up with guildsman at the moment.