]> git.eshelyaron.com Git - emacs.git/commitdiff
(Unibyte Mode): Emphasize that unibyte-display-via-language-environment
authorEli Zaretskii <eliz@gnu.org>
Sun, 4 Oct 2009 09:02:31 +0000 (09:02 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 4 Oct 2009 09:02:31 +0000 (09:02 +0000)
affects only the display.

doc/emacs/ChangeLog
doc/emacs/mule.texi

index 9121f1ad15d0b44c6e031f92c88d8275a8e2a97f..4464c75c9101031e61c0eacfe9944107ba5b6a8e 100644 (file)
@@ -1,5 +1,8 @@
 2009-10-04  Eli Zaretskii  <eliz@gnu.org>
 
+       * mule.texi (Unibyte Mode): Emphasize that
+       unibyte-display-via-language-environment affects only the display.
+
        * display.texi (Horizontal Scrolling): Document cursor behavior under
        horizontal scrolling when point moves off the screen (Bug#4564).
        Improve wording.
index c630ba48e634d69ab99ce22529c247ad93217031..cca3b15e0f6126e0850080cbd06761fa8edef6a8 100644 (file)
@@ -1515,9 +1515,12 @@ sequences mostly correspond to those of the prefix input methods.
   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 @@ your initialization files are read as unibyte if they contain
 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