overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.52k stars 241 forks source link

*print-length* set in the nrepl configs breaks pr-str serialization #147

Open ghost opened 10 years ago

ghost commented 10 years ago

I was writing a program that serializes some data with pr-str, and could not figure out why lists kept getting cut off at 100 items.

I guess this is a "feature", but setting global clojure variables deep in the config files can cause some really unexpected behavior, especially when people develop with the assumption that profiles.clj + project.clj = the source of truth for the project.

samaaron commented 10 years ago

I totally agree - I got bitten by this already too.

However, I love the fact that infinite sequences don't kill my JVM, and the variable only affects dev time, not production time. If you have any ideas on how to get this feature in Emacs without affecting your project in negative ways, I'd love to hear them.