Significant .lyx EOL White Space Inquiry
Pavel Sanda
sanda at lyx.org
Fri May 29 15:48:23 UTC 2020
On Thu, May 28, 2020 at 10:27:54AM -0600, Joel Kulesza wrote:
> Finally, significant EOL white space seems unidiomatic in a "source file,"
> which is what a .lyx file effectively is.
>
> This is an expert-use situation, but *I wonder if we have a way to overcome
> the need for significant EOL white space.*
Well, it's all in the code, so one could certainly write patch witch moves
the whitespace to the next line. The issue is that any oversight in such
patch would lead to catastrophic dataloss bugs for everyone else and one
has to ask whether this cornercase is worth the risk.
My take is that
- if you mess with .lyx you need to respect its whitespacing and
set your editor accordingly
- the real solution would be to actually do document comparison
feature right, so one does not need to edit raw .lyx file...
Pavel
More information about the lyx-devel
mailing list