Mercurial > emacs
changeset 37085:cce9b46e707b
(General Variables): Update the docs according to current behavior
wrt LC_* environment variables. From Paul Eggert.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 30 Mar 2001 10:43:54 +0000 |
parents | 2d4040d45326 |
children | 07200bf360ab |
files | man/cmdargs.texi |
diffstat | 1 files changed, 15 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/man/cmdargs.texi Fri Mar 30 10:33:09 2001 +0000 +++ b/man/cmdargs.texi Fri Mar 30 10:43:54 2001 +0000 @@ -362,18 +362,24 @@ @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 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 locale value you specify with one of these three variables is +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