diff options
| author | Eli Zaretskii | 2002-03-02 14:33:47 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-02 14:33:47 +0000 |
| commit | 579cb67dbb04c99b31c96cdfa110dff62b387cfd (patch) | |
| tree | 6a3ecec419b531f49a3ad01fe729dec7ae3ce722 | |
| parent | 1b02d12c875a7fbc63fa8ad1555e4a1502814161 (diff) | |
| download | emacs-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.texi | 24 |
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 | |||
| 75 | appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs | 75 | appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs |
| 76 | will accept those characters. Latin-1 characters can also be input by | 76 | will accept those characters. Latin-1 characters can also be input by |
| 77 | using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, | 77 | using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, |
| 78 | C-x 8}. | 78 | C-x 8}. On X Window systems, your locale should be set to an |
| 79 | appropriate value to make sure keyboard input is interpreted | ||
| 80 | correctly 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}, |
| 279 | and selects the corresponding language environment if a match is found. | 281 | and 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 |
| 281 | table and terminal coding system, the locale coding system, and the | 283 | table and terminal coding system, the locale coding system, the |
| 282 | preferred coding system as needed for the locale. | 284 | preferred coding system as needed for the locale, and---last but not |
| 285 | least---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} |
| 285 | environment variables while running Emacs, you may want to invoke the | 288 | environment 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 | |||
| 1037 | C-w} to specify a new file name for that buffer. | 1040 | C-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 |
| 1041 | to use when encoding and decoding system strings such as system error | 1045 | to use when encoding and decoding system strings such as system error |
| 1042 | messages and @code{format-time-string} formats and time stamps. You | 1046 | messages and @code{format-time-string} formats and time stamps. That |
| 1043 | should choose a coding system that is compatible with the underlying | 1047 | coding system is also used for decoding non-ASCII keyboard input on X |
| 1044 | system's text representation, which is normally specified by one of | 1048 | Window systems. You should choose a coding system that is compatible |
| 1045 | the environment variables @env{LC_ALL}, @env{LC_CTYPE}, and | 1049 | with the underlying system's text representation, which is normally |
| 1046 | @env{LANG}. (The first one, in the order specified above, whose value | 1050 | specified by one of the environment variables @env{LC_ALL}, |
| 1047 | is nonempty is the one that determines the text representation.) | 1051 | @env{LC_CTYPE}, and @env{LANG}. (The first one, in the order |
| 1052 | specified above, whose value is nonempty is the one that determines | ||
| 1053 | the text representation.) | ||
| 1048 | 1054 | ||
| 1049 | @node Fontsets | 1055 | @node Fontsets |
| 1050 | @section Fontsets | 1056 | @section Fontsets |