aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-03-15 10:56:08 +0100
committerMichael Albinus2018-03-15 10:56:08 +0100
commit2b8507fbdce8228ccdbcbc31fe545a50330ddd51 (patch)
tree5cbbd0a4da7e8b48727a4eecfe015db28525fbf7
parent2616cd94f13edaf6db9ef600d9a79fa1be4807c5 (diff)
downloademacs-2b8507fbdce8228ccdbcbc31fe545a50330ddd51.tar.gz
emacs-2b8507fbdce8228ccdbcbc31fe545a50330ddd51.zip
Replace "carriage-return" by "carriage return" in manuals
* doc/emacs/msdos.texi: * doc/emacs/mule.texi: * doc/emacs/screen.texi: * doc/lispref/nonascii.texi: * doc/misc/calc.texi: Replace "carriage-return" by "carriage return". Suggested by Richard Stallman <rms@gnu.org> in emacs-manual-bugs@gnu.org.
-rw-r--r--doc/emacs/msdos.texi45
-rw-r--r--doc/emacs/mule.texi42
-rw-r--r--doc/emacs/screen.texi4
-rw-r--r--doc/lispref/nonascii.texi4
-rw-r--r--doc/misc/calc.texi2
5 files changed, 49 insertions, 48 deletions
diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi
index 95969540f5b..90f0389a0e0 100644
--- a/doc/emacs/msdos.texi
+++ b/doc/emacs/msdos.texi
@@ -152,15 +152,16 @@ window. @xref{emacsclient Options}.
152convention used on GNU, Unix, and other POSIX-compliant systems. 152convention used on GNU, Unix, and other POSIX-compliant systems.
153 153
154@cindex end-of-line conversion on MS-DOS/MS-Windows 154@cindex end-of-line conversion on MS-DOS/MS-Windows
155 By contrast, MS-DOS and MS-Windows normally use carriage-return linefeed, 155 By contrast, MS-DOS and MS-Windows normally use carriage return
156a two-character sequence, to separate text lines. (Linefeed is the same 156followed by linefeed, a two-character sequence, to separate text
157character as newline.) Therefore, convenient editing of typical files 157lines. (Linefeed is the same character as newline.) Therefore,
158with Emacs requires conversion of these end-of-line (EOL) sequences. 158convenient editing of typical files with Emacs requires conversion of
159And that is what Emacs normally does: it converts carriage-return 159these end-of-line (EOL) sequences. And that is what Emacs normally
160linefeed into newline when reading files, and converts newline into 160does: it converts carriage return followed by linefeed into newline
161carriage-return linefeed when writing files. The same mechanism that 161when reading files, and converts newline into carriage return followed
162handles conversion of international character codes does this conversion 162by linefeed when writing files. The same mechanism that handles
163also (@pxref{Coding Systems}). 163conversion of international character codes does this conversion also
164(@pxref{Coding Systems}).
164 165
165@cindex cursor location, on MS-DOS 166@cindex cursor location, on MS-DOS
166@cindex point location, on MS-DOS 167@cindex point location, on MS-DOS
@@ -169,11 +170,11 @@ that character positions as reported by Emacs (@pxref{Position Info}) do
169not agree with the file size information known to the operating system. 170not agree with the file size information known to the operating system.
170 171
171 In addition, if Emacs recognizes from a file's contents that it uses 172 In addition, if Emacs recognizes from a file's contents that it uses
172newline rather than carriage-return linefeed as its line separator, it 173newline rather than carriage return followed by linefeed as its line
173does not perform EOL conversion when reading or writing that file. 174separator, it does not perform EOL conversion when reading or writing
174Thus, you can read and edit files from GNU and Unix systems on MS-DOS 175that file. Thus, you can read and edit files from GNU and Unix
175with no special effort, and they will retain their Unix-style 176systems on MS-DOS with no special effort, and they will retain their
176end-of-line convention after you edit them. 177Unix-style end-of-line convention after you edit them.
177 178
178 The mode line indicates whether end-of-line translation was used for 179 The mode line indicates whether end-of-line translation was used for
179the current buffer. If MS-DOS end-of-line translation is in use for the 180the current buffer. If MS-DOS end-of-line translation is in use for the
@@ -181,20 +182,20 @@ buffer, the MS-Windows build of Emacs displays a backslash @samp{\} after
181the coding system mnemonic near the beginning of the mode line 182the coding system mnemonic near the beginning of the mode line
182(@pxref{Mode Line}). If no EOL translation was performed, the string 183(@pxref{Mode Line}). If no EOL translation was performed, the string
183@samp{(Unix)} is displayed instead of the backslash, to alert you that the 184@samp{(Unix)} is displayed instead of the backslash, to alert you that the
184file's EOL format is not the usual carriage-return linefeed. 185file's EOL format is not the usual carriage return followed by linefeed.
185 186
186@cindex DOS-to-Unix conversion of files 187@cindex DOS-to-Unix conversion of files
187 To visit a file and specify whether it uses DOS-style or Unix-style 188 To visit a file and specify whether it uses DOS-style or Unix-style
188end-of-line, specify a coding system (@pxref{Text Coding}). For 189end-of-line, specify a coding system (@pxref{Text Coding}). For
189example, @kbd{C-x @key{RET} c unix @key{RET} C-x C-f foobar.txt} 190example, @kbd{C-x @key{RET} c unix @key{RET} C-x C-f foobar.txt}
190visits the file @file{foobar.txt} without converting the EOLs; if some 191visits the file @file{foobar.txt} without converting the EOLs; if some
191line ends with a carriage-return linefeed pair, Emacs will display 192line ends with a carriage return followed by linefeed pair, Emacs will
192@samp{^M} at the end of that line. Similarly, you can direct Emacs to 193display @samp{^M} at the end of that line. Similarly, you can direct
193save a buffer in a specified EOL format with the @kbd{C-x @key{RET} f} 194Emacs to save a buffer in a specified EOL format with the @kbd{C-x
194command. For example, to save a buffer with Unix EOL format, type 195@key{RET} f} command. For example, to save a buffer with Unix EOL
195@kbd{C-x @key{RET} f unix @key{RET} C-x C-s}. If you visit a file 196format, type @kbd{C-x @key{RET} f unix @key{RET} C-x C-s}. If you
196with DOS EOL conversion, then save it with Unix EOL format, that 197visit a file with DOS EOL conversion, then save it with Unix EOL
197effectively converts the file to Unix EOL style, like the 198format, that effectively converts the file to Unix EOL style, like the
198@code{dos2unix} program. 199@code{dos2unix} program.
199 200
200@cindex untranslated file system 201@cindex untranslated file system
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index f9dbeffcb12..401c83dd49a 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -690,8 +690,8 @@ system; for example, to visit a file encoded in codepage 850, type
690 In addition to converting various representations of non-@acronym{ASCII} 690 In addition to converting various representations of non-@acronym{ASCII}
691characters, a coding system can perform end-of-line conversion. Emacs 691characters, a coding system can perform end-of-line conversion. Emacs
692handles three different conventions for how to separate lines in a file: 692handles three different conventions for how to separate lines in a file:
693newline (Unix), carriage-return linefeed (DOS), and just 693newline (Unix), carriage return followed by linefeed (DOS), and just
694carriage-return (Mac). 694carriage return (Mac).
695 695
696@table @kbd 696@table @kbd
697@item C-h C @var{coding} @key{RET} 697@item C-h C @var{coding} @key{RET}
@@ -728,8 +728,8 @@ system, including the letter that stands for it in the mode line
728@code{no-conversion}, which means no conversion of any kind---specifies 728@code{no-conversion}, which means no conversion of any kind---specifies
729how and whether to convert printing characters, but leaves the choice of 729how and whether to convert printing characters, but leaves the choice of
730end-of-line conversion to be decided based on the contents of each file. 730end-of-line conversion to be decided based on the contents of each file.
731For example, if the file appears to use the sequence carriage-return 731For example, if the file appears to use the sequence carriage return
732linefeed to separate lines, DOS end-of-line conversion will be used. 732and linefeed to separate lines, DOS end-of-line conversion will be used.
733 733
734 Each of the listed coding systems has three variants, which specify 734 Each of the listed coding systems has three variants, which specify
735exactly what to do for end-of-line conversion: 735exactly what to do for end-of-line conversion:
@@ -741,15 +741,15 @@ newline to separate lines. (This is the convention normally used
741on Unix and GNU systems, and macOS.) 741on Unix and GNU systems, and macOS.)
742 742
743@item @dots{}-dos 743@item @dots{}-dos
744Assume the file uses carriage-return linefeed to separate lines, and do 744Assume the file uses carriage return followed by linefeed to separate
745the appropriate conversion. (This is the convention normally used on 745lines, and do the appropriate conversion. (This is the convention
746Microsoft systems.@footnote{It is also specified for MIME @samp{text/*} 746normally used on Microsoft systems.@footnote{It is also specified for
747bodies and in other network transport contexts. It is different 747MIME @samp{text/*} bodies and in other network transport contexts. It
748from the SGML reference syntax record-start/record-end format, which 748is different from the SGML reference syntax record-start/record-end
749Emacs doesn't support directly.}) 749format, which Emacs doesn't support directly.})
750 750
751@item @dots{}-mac 751@item @dots{}-mac
752Assume the file uses carriage-return to separate lines, and do the 752Assume the file uses carriage return to separate lines, and do the
753appropriate conversion. (This was the convention used in Classic Mac 753appropriate conversion. (This was the convention used in Classic Mac
754OS.) 754OS.)
755@end table 755@end table
@@ -859,15 +859,15 @@ the third argument says which coding system to use for these files.
859@vindex inhibit-eol-conversion 859@vindex inhibit-eol-conversion
860@cindex DOS-style end-of-line display 860@cindex DOS-style end-of-line display
861 Emacs recognizes which kind of end-of-line conversion to use based on 861 Emacs recognizes which kind of end-of-line conversion to use based on
862the contents of the file: if it sees only carriage-returns, or only 862the contents of the file: if it sees only carriage returns, or only
863carriage-return linefeed sequences, then it chooses the end-of-line 863carriage return followed by linefeed sequences, then it chooses the
864conversion accordingly. You can inhibit the automatic use of 864end-of-line conversion accordingly. You can inhibit the automatic use
865end-of-line conversion by setting the variable @code{inhibit-eol-conversion} 865of end-of-line conversion by setting the variable
866to non-@code{nil}. If you do that, DOS-style files will be displayed 866@code{inhibit-eol-conversion} to non-@code{nil}. If you do that,
867with the @samp{^M} characters visible in the buffer; some people 867DOS-style files will be displayed with the @samp{^M} characters
868prefer this to the more subtle @samp{(DOS)} end-of-line type 868visible in the buffer; some people prefer this to the more subtle
869indication near the left edge of the mode line (@pxref{Mode Line, 869@samp{(DOS)} end-of-line type indication near the left edge of the
870eol-mnemonic}). 870mode line (@pxref{Mode Line, eol-mnemonic}).
871 871
872@vindex inhibit-iso-escape-detection 872@vindex inhibit-iso-escape-detection
873@cindex escape sequences in files 873@cindex escape sequences in files
@@ -1041,7 +1041,7 @@ buffer (@pxref{Output Coding}).
1041(@pxref{Coding Systems, end-of-line conversion}) for encoding the 1041(@pxref{Coding Systems, end-of-line conversion}) for encoding the
1042current buffer. For example, @kbd{C-x @key{RET} f dos @key{RET}} will 1042current buffer. For example, @kbd{C-x @key{RET} f dos @key{RET}} will
1043cause Emacs to save the current buffer's text with DOS-style 1043cause Emacs to save the current buffer's text with DOS-style
1044carriage-return linefeed line endings. 1044carriage return followed by linefeed line endings.
1045 1045
1046@kindex C-x RET c 1046@kindex C-x RET c
1047@findex universal-coding-system-argument 1047@findex universal-coding-system-argument
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi
index 19a4a9e4b6c..8f2be4b9a7e 100644
--- a/doc/emacs/screen.texi
+++ b/doc/emacs/screen.texi
@@ -205,11 +205,11 @@ terminal output. Furthermore, if you are using an input method,
205string is displayed, that indicates a nontrivial end-of-line 205string is displayed, that indicates a nontrivial end-of-line
206convention for encoding a file. Usually, lines of text are separated 206convention for encoding a file. Usually, lines of text are separated
207by @dfn{newline characters} in a file, but two other conventions are 207by @dfn{newline characters} in a file, but two other conventions are
208sometimes used. The MS-DOS convention uses a carriage-return 208sometimes used. The MS-DOS convention uses a carriage return
209character followed by a linefeed character; when editing such 209character followed by a linefeed character; when editing such
210files, the colon changes to either a backslash (@samp{\}) or 210files, the colon changes to either a backslash (@samp{\}) or
211@samp{(DOS)}, depending on the operating system. Another convention, 211@samp{(DOS)}, depending on the operating system. Another convention,
212employed by older Macintosh systems, uses a carriage-return 212employed by older Macintosh systems, uses a carriage return
213character instead of a newline; when editing such files, the colon 213character instead of a newline; when editing such files, the colon
214changes to either a forward slash (@samp{/}) or @samp{(Mac)}. On some 214changes to either a forward slash (@samp{/}) or @samp{(Mac)}. On some
215systems, Emacs displays @samp{(Unix)} instead of the colon for files 215systems, Emacs displays @samp{(Unix)} instead of the colon for files
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 8bc7e209894..70df555d877 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -1074,9 +1074,9 @@ that result from encoding unsupported characters.
1074used on various systems for representing end of line in files. The 1074used on various systems for representing end of line in files. The
1075Unix convention, used on GNU and Unix systems, is to use the linefeed 1075Unix convention, used on GNU and Unix systems, is to use the linefeed
1076character (also called newline). The DOS convention, used on 1076character (also called newline). The DOS convention, used on
1077MS-Windows and MS-DOS systems, is to use a carriage-return and a 1077MS-Windows and MS-DOS systems, is to use a carriage return and a
1078linefeed at the end of a line. The Mac convention is to use just 1078linefeed at the end of a line. The Mac convention is to use just
1079carriage-return. (This was the convention used in Classic Mac OS.) 1079carriage return. (This was the convention used in Classic Mac OS.)
1080 1080
1081@cindex base coding system 1081@cindex base coding system
1082@cindex variant coding system 1082@cindex variant coding system
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index be78a53ed66..0c8c2db4932 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -33164,7 +33164,7 @@ This switches into the Calc buffer for the duration of the macro.
33164For example, @samp{(calc-eval "vx5\rVR+" 'macro)} pushes the 33164For example, @samp{(calc-eval "vx5\rVR+" 'macro)} pushes the
33165vector @samp{[1,2,3,4,5]} on the stack and then replaces it 33165vector @samp{[1,2,3,4,5]} on the stack and then replaces it
33166with the sum of those numbers. Note that @samp{\r} is the Lisp 33166with the sum of those numbers. Note that @samp{\r} is the Lisp
33167notation for the carriage-return, @key{RET}, character. 33167notation for the carriage return, @key{RET}, character.
33168 33168
33169If your keyboard macro wishes to pop the stack, @samp{\C-d} is 33169If your keyboard macro wishes to pop the stack, @samp{\C-d} is
33170safer than @samp{\177} (the @key{DEL} character) because some 33170safer than @samp{\177} (the @key{DEL} character) because some