[Issue 1349] ^M pollution
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 23 17:34:08 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1349
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
------- Comment #7 from bugzilla at digitalmars.com 2007-07-23 19:34 -------
If vim isn't handling mixed line endings, then it doesn't work properly.
Whatever advantages LF might have simply do not matter, as there are systems in
wide use that use other conventions, and people ARE going to mix them up, and
they SHOULD work. Line ending parochialism, and the debate about which one
should prevail, ended about 15 years ago. Programmers simply decided to write
their software to accept all three conventions and moved on to argue about more
important things like { } style.
Gnu has fixed gnumake, gcc, and other text processing software to work right.
There's little reason to indulge obsolete software that doesn't. Submit bug
reports for them.
BTW, microEmacs (what I use) reads all three conventions agnostically, as do
all DM products. It emits CRLF when on Windows, and LF when on Linux, for all
lines. It does not mix the conventions on output - so if on the GDC tarball
there are mixed conventions in the same file, it is not due to my edits.
Someone probably used vim on it :-)
--
More information about the Digitalmars-d-bugs
mailing list