lispy
lispy copied to clipboard
Cannot type " " in eval-expression's prompt when using edebug
Steps to reproduce:
(add-hook 'eval-expression-minibuffer-setup-hook 'lispy-mode)to enablelispy-modeinM-:- Activate
edebugsomewhere - Press
e(edebug-eval-expression) - Type " "
Expected
" " is typed
Result
Message: Edebug will stop at next stop point.. Nothing is typed in the prompt.
Related: when edebug is active, any buffer with lispy active will forward to edebug, i.e. if the point is at |(some-func) in a common lisp buffer and I type f, then special-lispy-flow is called and rather than calling lispy-flow in my common lisp buffer, it calls edebug-forward-sexp in whatever buffer edebug is running in.
I think lispy--edebug-commandp should check that edebug-mode (which is buffer-local) evals to t, since edebug-active is not buffer local. That change fixed the problem for me.