3 ms·
Way to blame a bug in your editor on someone else's. Emacs autoconverts between the two line ending styles at open and close, unless you expressly tell it to d
by jackcviers3 5y ago
Way to blame a bug in your editor on someone else's.
Emacs autoconverts between the two line ending styles at open and close, unless you expressly tell it to do otherwise [1]. You had malicious editors using emacs. The editor wasn't the problem, the people using it were and they had to go out of their way to manage it.
1. https://www.emacswiki.org/emacs/EndOfLineTips#:~:text=(The%20carriage%2Dreturn%20character%2C,'C%2Dx%20C%2Dm%20r%20dos'%20 https://www.emacswiki.org/emacs/EndOfLineTips#:~:text=(The%2....
- VikingCoder 5y agoThe editor showed the behavior that we all intended. The compiler was the one that behaved differently from how we all expected. And we all used the same compiler. I was not "blaming someone else's editor," I was describing the situation. If someone created a file in emacs, and then someone else edited it in MSVS6, then apparently you could end up with some mixed CR, CR/LF, LF, LF/CR state, enough to confuse the compiler. PS - We all benefit when we give each other the benefit of the doubt, and hold off on the snark. And calling my co-workers "malicious" based on your limited understanding of the situation is not appreciated.
- gnufx 5y agoI don't know what date "Visual Studio 6" implies, but I'd been using Irix for a few years before GNU Emacs 20 and coding conversion; I can't speak for anything vi-le. Anyway, it's not uncommon to find mixed line endings even these days (which Emacs indicates).