]> git.eshelyaron.com Git - emacs.git/commitdiff
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)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 Jan 2025 10:58:56 +0000 (11:58 +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.

(cherry picked from commit 002960ceabfb4f91b1bc73a342a9bd5e719e739b)

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 448d778f4cb36b5787df0c8b8e71736d33414cff..cbfb1fc243d95ce01f1e1d83027712c804e7721c 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