Closed bhb closed 5 years ago
The message is "filled" on the emacs side. I guess this was done to save space, but in my experience most of the time this harms the experience (see output from core.spec for instance). Author of the message formats it for readability, and I don't think a tool should mess with that.
I'm guess we should either remove the filling or make it configurable.
That would be nice!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
This issues been automatically closed due to lack of activity. Feel free to re-open it if you ever come back to it.
Expected behavior
I expect that evaluating
(throw (ex-info "foo\nbar" {}))
would print the following output to the*cider-error*
buffer:Note that if I evaluate
(throw (ex-info "foo\n\nbar" {}))
(two newlines instead of one) the newlines are shown in*cider-error*
:so the problem appears to only occur for a single newline.
Actual behavior
In the first case above (evaluating
(throw (ex-info "foo\nbar" {}))
), the output in*cider-error*
is:Steps to reproduce the problem
lein new cider-bug-report
project.clj
look like code belowlein repl
cider-connect
(throw (ex-info "foo\nbar" {}))
Environment & Version information
CIDER version information
Lein/Boot version
Leiningen 2.8.0 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM
Emacs version
GNU Emacs 24.4.1 (x86_64-apple-darwin14.1.0) of 2015-03-19 on miniyosemite.local
Operating system
OS X 10.11.6 "El Capitan"