Re: Re[2]: [PATCH] edit.c, init_dynamic_edit_buffers (was Re[2]: CR/LF translation)


Maybe for 4.6 we can apply a very simple and harmless patch which I
It does the following:
1. All reads and writes will be in binary mode, so  DOS encoded files
corruption under cygwin will be fixed
2. CR  will become visible as ^M and editable, exactly the same way as in
This will fix a very unpleasant problem with CR in mc editor : CR is not
visible, and it can be very easily embedded into text (by cut and paste) ,
and sometimes this causes very weird problems.
Imagine printf("Hello world\n") with CR between two words - you will never
see this CR in mc editor ,  but the program will print only "world" !


Attachment: CR.patch
Description: Binary data

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