]> git.eshelyaron.com Git - emacs.git/commitdiff
(Coding System Basics): More accurate description of `raw-text'.
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Jan 2009 10:09:52 +0000 (10:09 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Jan 2009 10:09:52 +0000 (10:09 +0000)
doc/lispref/ChangeLog
doc/lispref/nonascii.texi

index 740b829815c9a3927c8d526b67cd8f72e088b767..e249c0dde76aa34324a102ec0031578e249a7d17 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * nonascii.texi (Coding System Basics): More accurate description
+       of `raw-text'.
+
 2009-01-12  Juanma Barranquero  <lekktu@gmail.com>
 
        * display.texi (Low-Level Font): Fix typo.
index f454835585d4d1ae30e49c6b9a548a52d56ac523..2ac927d82c00f101798e7d095399bdffe62c11b0 100644 (file)
@@ -863,13 +863,23 @@ coding systems} such as @code{latin-1-unix}, @code{latin-1-dos} and
 well.  Most base coding systems have three corresponding variants whose
 names are formed by adding @samp{-unix}, @samp{-dos} and @samp{-mac}.
 
+@vindex raw-text@r{ coding system}
   The coding system @code{raw-text} is special in that it prevents
-character code conversion, and causes the buffer visited with that
-coding system to be a unibyte buffer.  It does not specify the
-end-of-line conversion, allowing that to be determined as usual by the
-data, and has the usual three variants which specify the end-of-line
-conversion.  @code{no-conversion} is equivalent to @code{raw-text-unix}:
-it specifies no conversion of either character codes or end-of-line.
+character code conversion, and causes the buffer visited with this
+coding system to be a unibyte buffer.  For historical reasons, you can
+save both unibyte and multibyte text with this coding system.  When
+you use @code{raw-text} to encode multibyte text, it does perform one
+character code conversion: it converts eight-bit characters to their
+single-byte external representation.  @code{raw-text} does not specify
+the end-of-line conversion, allowing that to be determined as usual by
+the data, and has the usual three variants which specify the
+end-of-line conversion.
+
+@vindex no-conversion@r{ coding system}
+@vindex binary@r{ coding system}
+  @code{no-conversion} (and its alias @code{binary}) is equivalent to
+@code{raw-text-unix}: it specifies no conversion of either character
+codes or end-of-line.
 
 @vindex emacs-internal@r{ coding system}
   The coding system @code{emacs-internal} specifies that the data is