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

Re-evaluating ns forms #436

Closed
samaaron opened this issue Dec 19, 2013 · 5 comments
Closed

Re-evaluating ns forms #436

samaaron opened this issue Dec 19, 2013 · 5 comments

Comments

@samaaron
Copy link
Contributor

If I have an empty buffer and evaluate the ns form:

(ns foo)

Everything is hunky-dory. However, say I want to modify this:

(ns foo
  (:use [overtone.live]))

When I try to re-evaluate it, I get the error Lisp nesting exceeds 'max-lisp-eval-depth'.

@bbatsov
Copy link
Member

bbatsov commented Dec 19, 2013

Yeah, I can confirm this. It seems that cider-eval and cider-eval-ns-form keep calling one another until the stack explodes.

@samaaron
Copy link
Contributor Author

Cool. How did you figure that out - just through understanding and inspecting the code or through some more automated means?

@bbatsov
Copy link
Member

bbatsov commented Dec 19, 2013

The former. Though you can also instrument cider-eval for debugging (C-u C-M-x) and that should quickly provide you with similar insight.

@samaaron
Copy link
Contributor Author

Thanks for fixing this :-)

@bbatsov
Copy link
Member

bbatsov commented Dec 19, 2013

You’re welcome :-)

Cheers,
Bozhidar

On Thursday, December 19, 2013 at 9:14 PM, Sam Aaron wrote:

Thanks for fixing this :-)


Reply to this email directly or view it on GitHub (#436 (comment)).

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

No branches or pull requests

2 participants