--On Wednesday, January 23, 2013 13:45 -0500 Warren Kumari
<war...@kumari.net> wrote:

>...
> Yup, and Unix users have the ability to choose line endings:
> Emacs -
> M-x set-buffer-file-coding-system RET undecided-dos
>...

Not exactly.  Depending on the particular version/
implementation, most version of Emacs (which, unlike VI, are
distinctly not limited to Unix and were actually around before
Unix was) keep the lines in a buffer as an threaded list.  That
makes certain operations, like moving a region from one buffer
to another or inserting text in a buffer, really fast because
they don't require moving the rest of the file up or down.  How
a buffer is written to an external medium then becomes another
issue, with emacs internally being indifferent to CR, LF, CRLF,
strings delimited in other ways such as by record markers,
length-delimited lines or records, and so on.

It does make Emacs and its clones pretty convenient as a format
converter, but...

best,
   john




Reply via email to