Clarify that 'mac' line ending convention is not used on macOS
authorStefan Kangas <stefankangas@gmail.com>
Wed, 8 Jan 2025 03:50:53 +0000 (04:50 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 8 Jan 2025 04:07:57 +0000 (05:07 +0100)
* doc/emacs/mule.texi (Coding Systems):
* doc/lispref/nonascii.texi (Coding System Basics): Clarify that the
'mac' line ending convention is not used on macOS, and is now rare
outside of legacy software.

doc/emacs/mule.texi
doc/lispref/nonascii.texi

index 580f8da27d78ea1bd2d24f730cf5928f9b6bdf8e..4db0febbef83c13ad865dc1d4922c43c7754bfbe 100644 (file)
@@ -832,7 +832,7 @@ format, which Emacs doesn't support directly.})
 @item @dots{}-mac
 Assume the file uses carriage return to separate lines, and do the
 appropriate conversion.  (This was the convention used in Classic Mac
-OS.)
+OS, but is now rare outside of legacy software.)
 @end table
 
   These variant coding systems are omitted from the
index 0e09770bf4949d5c6e20fb6696fe181f6c072160..696e46d4af95fa1cce0ea5c7f4acb80c511df387 100644 (file)
@@ -1096,13 +1096,13 @@ that result from encoding unsupported characters.
 @cindex EOL conversion
 @cindex end-of-line conversion
 @cindex line end conversion
-  @dfn{End of line conversion} handles three different conventions
-used on various systems for representing end of line in files.  The
-Unix convention, used on GNU and Unix systems, is to use the linefeed
-character (also called newline).  The DOS convention, used on
+  @dfn{End of line conversion} handles three different conventions used
+on various systems for representing end of line in files.  The Unix
+convention, used on GNU and Unix systems, and macOS, is to use the
+linefeed character (also called newline).  The DOS convention, used on
 MS-Windows and MS-DOS systems, is to use a carriage return and a
-linefeed at the end of a line.  The Mac convention is to use just
-carriage return.  (This was the convention used in Classic Mac OS.)
+linefeed.  The Mac convention, used in Classic Mac OS and now rare
+outside of legacy software, is to use just carriage return.
 
 @cindex base coding system
 @cindex variant coding system