Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot type " " in eval-expression's prompt when using edebug #613

Open
daanturo opened this issue Oct 30, 2021 · 1 comment · May be fixed by #579
Open

Cannot type " " in eval-expression's prompt when using edebug #613

daanturo opened this issue Oct 30, 2021 · 1 comment · May be fixed by #579

Comments

@daanturo
Copy link
Contributor

daanturo commented Oct 30, 2021

Steps to reproduce:

  1. (add-hook 'eval-expression-minibuffer-setup-hook 'lispy-mode) to enable lispy-mode in M-:
  2. Activate edebug somewhere
  3. Press e (edebug-eval-expression)
  4. Type " "

Expected

" " is typed

Result

Message: Edebug will stop at next stop point.. Nothing is typed in the prompt.

@GavinFrazar
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants