changeset 105430:037ea473a4aa

(Unibyte Mode): Emphasize that unibyte-display-via-language-environment affects only the display.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 04 Oct 2009 08:59:36 +0000
parents ad62d4a2d1a5
children a41266a15820
files doc/emacs/mule.texi
diffstat 1 files changed, 16 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/mule.texi	Sun Oct 04 08:44:48 2009 +0000
+++ b/doc/emacs/mule.texi	Sun Oct 04 08:59:36 2009 +0000
@@ -1515,9 +1515,12 @@
   The ISO 8859 Latin-@var{n} character sets define character codes in
 the range 0240 to 0377 octal (160 to 255 decimal) to handle the
 accented letters and punctuation needed by various European languages
-(and some non-European ones).  If you disable multibyte characters,
-Emacs can still handle @emph{one} of these character codes at a time.
-To specify @emph{which} of these codes to use, invoke @kbd{M-x
+(and some non-European ones).  Note that Emacs considers bytes with
+codes in this range as raw bytes, not as characters, even in a unibyte
+session, i.e.@: if you disable multibyte characters.  However, Emacs
+can still handle these character codes as if they belonged to
+@emph{one} of the single-byte character sets at a time.  To specify
+@emph{which} of these codes to use, invoke @kbd{M-x
 set-language-environment} and specify a suitable language environment
 such as @samp{Latin-@var{n}}.
 
@@ -1527,13 +1530,16 @@
 non-@acronym{ASCII} characters.
 
 @vindex unibyte-display-via-language-environment
-  Emacs can also display those characters, provided the terminal or font
-in use supports them.  This works automatically.  Alternatively, on a
-graphical display, Emacs can also display single-byte characters
-through fontsets, in effect by displaying the equivalent multibyte
-characters according to the current language environment.  To request
-this, set the variable @code{unibyte-display-via-language-environment}
-to a non-@code{nil} value.
+  Emacs can also display bytes in the range 160 to 255 as readable
+characters, provided the terminal or font in use supports them.  This
+works automatically.  On a graphical display, Emacs can also display
+single-byte characters through fontsets, in effect by displaying the
+equivalent multibyte characters according to the current language
+environment.  To request this, set the variable
+@code{unibyte-display-via-language-environment} to a non-@code{nil}
+value.  Note that setting this only affects how these bytes are
+displayed, but does not change the fundamental fact that Emacs treats
+them as raw bytes, not as characters.
 
 @cindex @code{iso-ascii} library
   If your terminal does not support display of the Latin-1 character