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

"Background" evaluations shouldn't change the REPL state. #30

Open
austinhaas opened this issue Jun 27, 2021 · 2 comments
Open

"Background" evaluations shouldn't change the REPL state. #30

austinhaas opened this issue Jun 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@austinhaas
Copy link
Owner

austinhaas commented Jun 27, 2021

This applies to functions that use scrim--redirect-result-from-process, and it affects the repl vars like e* and 1*.

@austinhaas austinhaas added the bug Something isn't working label Jun 27, 2021
@austinhaas
Copy link
Owner Author

Possible solution: wrap background repl calls with code that restores previous state (e.g., *e, *1, etc.), if that is even possible.

We probably want to wrap those in a try...catch, too.

@austinhaas
Copy link
Owner Author

Possible solution: wrap background repl calls with code that restores previous state (e.g., *e, *1, etc.), if that is even possible.

I don't think that is possible without writing a new repl function.

@austinhaas austinhaas changed the title Eldoc conflicts with clojure.repl/pp. "Background" evaluations, including eldoc, shouldn't change the REPL state. Jul 1, 2021
@austinhaas austinhaas changed the title "Background" evaluations, including eldoc, shouldn't change the REPL state. "Background" evaluations shouldn't change the REPL state. Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant