texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] [bug] multiple trailing spaces serialization


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] [bug] multiple trailing spaces serialization
Date: Fri, 4 Oct 2002 16:19:58 +0200 (MET DST)

> While reverse engineering the TM file format (to answer to an old bug
> report) I found a very funny bug in the serialization (memory to file
> conversion) code for the TM format (also known as angle brackets and
> backslashes).
> 
> Description:
> 
> Create a new file. Type in the following text: "abc " (one trailing
> space), save the file. The text line is serialized as "abc\ ". So far,
> so good.
> 
> Add one trailing space (yielding "abc  ", with two trailing spaces),
> save the file. The line is serialized as "abc \\ ". Revert the buffer,
> the displayed text becomes "abc \"!!!
> 
> That bug works with any number of trailing spaces greater than one,
> and at the end of any multiparagrah environment (e.g. theorem), but
> only at the end of block environments.

In fact, I should disable the \-style line breaking in the format;
it is merely confusing. To hell with too long lines; they won't be broken.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]