On Mon, Feb 10, 2020 at 11:21 PM David Kastrup <d...@gnu.org> wrote: > > Or maybe the file offset got advanced because Guile peeked ahead in > order to check whether there is an UTF-8 signature? I forget what they > are called, basically zero-space characters. Byte order mark? I am not > saying that it is that, but I remember that Guile could do some pretty > funky things at opening even something like a string port. >
More mundane. Source_file::get_counts returns a byte_offset, but that is not a global but per-line offset. PTAL -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen