This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: *print-right-margin* ineffective for write
On 01/12/11 17:39, Taylor Venable wrote:
Is there a way to turn this automatic breaking off so that output just runs on and on?
To the best of my knowledge, not when writing to the default output port
in a REPL.
When writing to strings or files, you get what I think is the desired
behaviour. For instance,
(call-with-output-string (lambda (str) (output-some-stuff str))
will ignore the *print-right-margin*, amongst other pretty-printing
related parameters.
I suppose for non-positive values of *print-right-margin*, the output
should perhaps just go on and on, seems like a reasonable default to me.
Charlie.