This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: *print-right-margin* ineffective for write


On 01/12/11 20:16, Taylor Venable wrote:
*print-right-margin* affects file ports:

Whoops, sorry about that slice of misinformation! I got confused with the various pretty printing modes in PrettyWriter. Somebody (I assume Per) must have considered the issue, since there is an unused constructor in PrettyWriter that sets the pretty printing mode to zero if the given length length is <= 1, this idea just hasn't trickled into some sort of dynamic handling for *print-right-margin*.


I agree that negative values are good to identify when
*print-right-margin* should be disabled; perhaps additionally:

#f = disable (same as e.g. -1 or -42)
#t = enable w/ hard-coded default (same as #!null)

I think that's sensible.


Thanks,
Charlie.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]