diff options
author | Eli Zaretskii <[email protected]> | 2001-03-30 10:43:54 +0000 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2001-03-30 10:43:54 +0000 |
commit | 9c6251b6796e81aeaab4059004990dee347327c6 (patch) | |
tree | 4125626bf047530eb52550bb91ec3a2b9aba2c58 /man/cmdargs.texi | |
parent | ef080b16435816dcd84e47eb52319aa7f03c05bd (diff) |
(General Variables): Update the docs according to current behavior
wrt LC_* environment variables. From Paul Eggert.
Diffstat (limited to 'man/cmdargs.texi')
-rw-r--r-- | man/cmdargs.texi | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/man/cmdargs.texi b/man/cmdargs.texi index 22eb7fe091..6a8ab41592 100644 --- a/man/cmdargs.texi +++ b/man/cmdargs.texi @@ -362,18 +362,24 @@ to search for files. @item INFOPATH A colon-separated list of directories in which to search for Info files. @item LC_ALL +@itemx LC_COLLATE @itemx LC_CTYPE +@itemx LC_MESSAGES +@itemx LC_MONETARY +@itemx LC_NUMERIC +@itemx LC_TIME @itemx LANG -The user's preferred locale. (The first of these environment -variables with a nonempty value specifies the locale.) A locale name -which contains @samp{8859-@var{n}}, @samp{8859_@var{n}} or -@samp{8859@var{n}}, where @var{n} is between 1 and 4, automatically -specifies the @samp{Latin-@var{n}} language environment when Emacs -starts up. There are a few extensions: if @var{n} is 9, that specifies -@samp{Latin-5}, and if @var{n} is 14 or 15, that specifies -@samp{Latin-8} and @samp{Latin-9}, respectively. - -The locale value you specify with one of these three variables is +The user's preferred locale. The locale has six categories, specified +by the environment variables @env{LC_COLLATE} for sorting, +@env{LC_CTYPE} for character encoding, @env{LC_MESSAGES} for system +messages, @env{LC_MONETARY} for monetary formats, @env{LC_NUMERIC} for +numbers, and @env{LC_TIME} for dates and times. If one of these +variables is not set, the category defaults to the value of the +@env{LANG} environment variable, or to the default @samp{C} locale if +@env{LANG} is not set. But if @env{LC_ALL} is specified, it overrides +the settings of all the other locale environment variables. + +The value of the LC_CTYPE category is matched against entries in @code{locale-language-names}, @code{locale-charset-language-names}, and @code{locale-preferred-coding-systems}, to select a default language |