aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-03-02 14:33:47 +0000
committerEli Zaretskii2002-03-02 14:33:47 +0000
commit579cb67dbb04c99b31c96cdfa110dff62b387cfd (patch)
tree6a3ecec419b531f49a3ad01fe729dec7ae3ce722
parent1b02d12c875a7fbc63fa8ad1555e4a1502814161 (diff)
downloademacs-579cb67dbb04c99b31c96cdfa110dff62b387cfd.tar.gz
emacs-579cb67dbb04c99b31c96cdfa110dff62b387cfd.zip
(International, Language Environments, Specify Coding): Make it clear
that locale-coding-system is used for decoding keyboard input on X.
-rw-r--r--man/mule.texi24
1 files changed, 15 insertions, 9 deletions
diff --git a/man/mule.texi b/man/mule.texi
index b38e4dfe6ea..60c8ffd3a4a 100644
--- a/man/mule.texi
+++ b/man/mule.texi
@@ -75,7 +75,9 @@ your keyboard can produce non-ASCII characters, you can select an
75appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs 75appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs
76will accept those characters. Latin-1 characters can also be input by 76will accept those characters. Latin-1 characters can also be input by
77using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, 77using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support,
78C-x 8}. 78C-x 8}. On X Window systems, your locale should be set to an
79appropriate value to make sure keyboard input is interpreted
80correctly by Emacs, see @ref{Language Environments, locales}.
79@end itemize 81@end itemize
80 82
81 The rest of this chapter describes these issues in detail. 83 The rest of this chapter describes these issues in detail.
@@ -278,8 +280,9 @@ against entries in the value of the variables
278@code{locale-charset-language-names} and @code{locale-language-names}, 280@code{locale-charset-language-names} and @code{locale-language-names},
279and selects the corresponding language environment if a match is found. 281and selects the corresponding language environment if a match is found.
280(The former variable overrides the latter.) It also adjusts the display 282(The former variable overrides the latter.) It also adjusts the display
281table and terminal coding system, the locale coding system, and the 283table and terminal coding system, the locale coding system, the
282preferred coding system as needed for the locale. 284preferred coding system as needed for the locale, and---last but not
285least---the way Emacs decodes non-ASCII characters sent by your keyboard.
283 286
284 If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} 287 If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG}
285environment variables while running Emacs, you may want to invoke the 288environment variables while running Emacs, you may want to invoke the
@@ -1037,14 +1040,17 @@ name, or it may get an error. If such a problem happens, use @kbd{C-x
1037C-w} to specify a new file name for that buffer. 1040C-w} to specify a new file name for that buffer.
1038 1041
1039@vindex locale-coding-system 1042@vindex locale-coding-system
1043@cindex decoding non-ASCII characters on X
1040 The variable @code{locale-coding-system} specifies a coding system 1044 The variable @code{locale-coding-system} specifies a coding system
1041to use when encoding and decoding system strings such as system error 1045to use when encoding and decoding system strings such as system error
1042messages and @code{format-time-string} formats and time stamps. You 1046messages and @code{format-time-string} formats and time stamps. That
1043should choose a coding system that is compatible with the underlying 1047coding system is also used for decoding non-ASCII keyboard input on X
1044system's text representation, which is normally specified by one of 1048Window systems. You should choose a coding system that is compatible
1045the environment variables @env{LC_ALL}, @env{LC_CTYPE}, and 1049with the underlying system's text representation, which is normally
1046@env{LANG}. (The first one, in the order specified above, whose value 1050specified by one of the environment variables @env{LC_ALL},
1047is nonempty is the one that determines the text representation.) 1051@env{LC_CTYPE}, and @env{LANG}. (The first one, in the order
1052specified above, whose value is nonempty is the one that determines
1053the text representation.)
1048 1054
1049@node Fontsets 1055@node Fontsets
1050@section Fontsets 1056@section Fontsets