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 30/11/11 20:13, Taylor Venable wrote:
Hi there. I've hit what looks like it might be a problem with *print-right-margin* and display vs write.

Yep, that's definitely a problem. For reasons currently unknown to me, in PrettyWriter#startLogicalBlock, the queueSize == 0 case fails, and hence the thread location representing *print-right-margin* is not looked up. queueSize is always three it seems at the start of WRITE before a DISPLAY, which is weird. This is only the case for WRITE, like you mentioned. queueSize is normally zero when DISPLAYing for the first time. The resetting of pretty-printing invariants is done slightly differently for WRITE, so I can at least see how this problem might be surfacing.


Thanks for the heads up, I'll look into this.

Charlie.


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