|
From: Sam S. <sd...@gn...> - 2005-06-22 22:36:47
|
> * Bruno Haible <oe...@py...> [2005-06-22 23:18:49 +0200]: > > Sam wrote: >> PS. has the FRESH-LINE issue been settled? >> <http://article.gmane.org/gmane.lisp.clisp.devel:14259> > > Although in general the line position after outputting a tab is > undefined, I can admit that in all cases it will be > 0, and that > FRESH-LINE should notice this. > > The fix will be to complement the stream's strm_wr_ch_lpos field with > a strm_wr_ch_lpos_positive field that is 1 if the line-position is > known to be > 0 and 0 otherwise. That's for built-in streams. For Gray > streams, test whether (STREAM-LINE-COLUMN stream) is > 0. It will be a > bit of a slow-down. Oh well. And since it's a change that touches a > dozen of C functions, it must be delayed after 2.34. this sounds too complex. what happens now to strm_wr_ch_lpos when #\TAB is output? why not just increment it by 1? (or by 5 - #\#, #\\, #\T, #\A, #\B :-) -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://pmw.org.il/> <http://www.camera.org> <http://www.iris.org.il> <http://ffii.org/> <http://www.memri.org/> Never succeed from the first try - if you do, nobody will think it was hard. |