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

Correctly font-lock pretty-printed results at the REPL #1467

Merged
merged 3 commits into from
Dec 12, 2015

Conversation

cichli
Copy link
Member

@cichli cichli commented Dec 12, 2015

Adding another argument to nrepl-make-response-handler is regrettable, but we have #1099 logged for untangling that. I'm going to take a look at fixing that soon - it will make it easier to solve the problem where out and pprint-out responses are interleaved (e.g. in the face of concurrency or laziness).

bbatsov added a commit that referenced this pull request Dec 12, 2015
Correctly font-lock pretty-printed results at the REPL
@bbatsov bbatsov merged commit 759b086 into clojure-emacs:master Dec 12, 2015
@bbatsov
Copy link
Member

bbatsov commented Dec 12, 2015

I'm going to take a look at fixing that soon - it will make it easier to solve the problem where out and pprint-out responses are interleaved (e.g. in the face of concurrency or laziness).

Excellent! IMO this is one of the ugliest parts on the nrepl client and reworking it would make the entire codebase easier to comprehend/extend. This was on my radar for 0.10, but I never got any time to work on it. Hopefully you'll manage to get the ball rolling this time around.

@cichli cichli deleted the repl-pprint-out-font-locking branch December 12, 2015 20:13
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 this pull request may close these issues.

2 participants