Fork me on GitHub
Jim Newton08:08:36

If I have a function with a long docstring, and I type in the buffer (my-function then emacs shows me the first few lines of the docstring in the minibuffer, when what I really want to see is the arglist. I suppose the arglist is at the end of the minibuffer, but it is obscured. Shouldn't they be shown in the other order?

Jim Newton15:08:52

If there a way in cider to see the values of the local variables when examining a stack trace?


i don't believe stack traces have any such information to provide


you can use (ex-info "boom" {:values :of-interest}) and these should be shown in the stack trace

Jim Newton16:08:13

yes thats for stacktraces caused by my call to ex-info.


I thought it should work. Let me see

Jim Newton16:08:54

pitty that local variables are not available in stack traces.

Jim Newton17:08:46

Yes, I have eldoc-mode enabled already. The problem is that the text of the docstring preceeds the arglist.


@jimka.issy You're getting the docstring, because for some reason this var wasn't resolved to a function type. You should check *nrepl-messages* to see what types was assigned to it by nREPL/cider-nrepl.