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

Ability to auto-inspect on repl eval #3636

Open
vemv opened this issue Mar 15, 2024 · 2 comments
Open

Ability to auto-inspect on repl eval #3636

vemv opened this issue Mar 15, 2024 · 2 comments

Comments

@vemv
Copy link
Member

vemv commented Mar 15, 2024

There's cider-auto-inspect-after-eval which only affects interactive eval, not repl eval.

This mostly makes sense, since it would be confusingly disruptive if, right after sending a form over the repl, Emacs focused to the Inspector buffer.

However after #3634 it will be possible to keep the Inspector in the background.

So I'm thinking of a new defcustom, cider-auto-inspect-after-repl-eval, default nil.

When set to t, after every repl eval, the Inspector buffer would be refreshed with the corresponding value. This is handy for intrincate results.

@bbatsov
Copy link
Member

bbatsov commented Mar 15, 2024

You can also make the old config accept symbols to have more granular behavior - e.g. 'interactive, 'repl, 'all. Something along those lines. We've done such changes quite a few times in the past.

@vemv
Copy link
Member Author

vemv commented Mar 15, 2024

Nice! Would be all for it

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