aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2009-01-17 10:09:52 +0000
committerEli Zaretskii2009-01-17 10:09:52 +0000
commit02eccf6bfb2babe6f4a71342450690bdfcb00899 (patch)
tree03919ed2875fc86ad24144a8ad2e5a2decec87ac
parent0e8ade71d7d1091e099d1c6dc8a3cee9707ce022 (diff)
downloademacs-02eccf6bfb2babe6f4a71342450690bdfcb00899.tar.gz
emacs-02eccf6bfb2babe6f4a71342450690bdfcb00899.zip
(Coding System Basics): More accurate description of `raw-text'.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/nonascii.texi22
2 files changed, 21 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 740b829815c..e249c0dde76 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12009-01-17 Eli Zaretskii <eliz@gnu.org>
2
3 * nonascii.texi (Coding System Basics): More accurate description
4 of `raw-text'.
5
12009-01-12 Juanma Barranquero <lekktu@gmail.com> 62009-01-12 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * display.texi (Low-Level Font): Fix typo. 8 * display.texi (Low-Level Font): Fix typo.
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index f454835585d..2ac927d82c0 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -863,13 +863,23 @@ coding systems} such as @code{latin-1-unix}, @code{latin-1-dos} and
863well. Most base coding systems have three corresponding variants whose 863well. Most base coding systems have three corresponding variants whose
864names are formed by adding @samp{-unix}, @samp{-dos} and @samp{-mac}. 864names are formed by adding @samp{-unix}, @samp{-dos} and @samp{-mac}.
865 865
866@vindex raw-text@r{ coding system}
866 The coding system @code{raw-text} is special in that it prevents 867 The coding system @code{raw-text} is special in that it prevents
867character code conversion, and causes the buffer visited with that 868character code conversion, and causes the buffer visited with this
868coding system to be a unibyte buffer. It does not specify the 869coding system to be a unibyte buffer. For historical reasons, you can
869end-of-line conversion, allowing that to be determined as usual by the 870save both unibyte and multibyte text with this coding system. When
870data, and has the usual three variants which specify the end-of-line 871you use @code{raw-text} to encode multibyte text, it does perform one
871conversion. @code{no-conversion} is equivalent to @code{raw-text-unix}: 872character code conversion: it converts eight-bit characters to their
872it specifies no conversion of either character codes or end-of-line. 873single-byte external representation. @code{raw-text} does not specify
874the end-of-line conversion, allowing that to be determined as usual by
875the data, and has the usual three variants which specify the
876end-of-line conversion.
877
878@vindex no-conversion@r{ coding system}
879@vindex binary@r{ coding system}
880 @code{no-conversion} (and its alias @code{binary}) is equivalent to
881@code{raw-text-unix}: it specifies no conversion of either character
882codes or end-of-line.
873 883
874@vindex emacs-internal@r{ coding system} 884@vindex emacs-internal@r{ coding system}
875 The coding system @code{emacs-internal} specifies that the data is 885 The coding system @code{emacs-internal} specifies that the data is