[RFC] eol values: unix/windows or LF/CRLF?
Stefan Monnier
monnier at iro.umontreal.ca
Mon Mar 30 17:13:02 BST 2009
>> FWIW, Emacs Coding Systems uses `unix', `dos' and `mac' to distinguish
>> between the three types of newline terminations.
> Sure, but doesn't mac now use lf line endings? Specifying the
> characters themselves is a bit more future-proof.
Yes. If you want it to be short, I think we (Emacs maintainers)
concluded that "/" for LF, "\" for CRLF and ":" for CR was a pretty good
choice as well (tho one we couldn't make, for other reasons).
The advantage of unix/dos/mac over lf/cr/crlf is that it is "higher
level".
Stefan
More information about the bazaar
mailing list